u-boot/fs/fat
Richard Genoud cb940c7ede FAT: remove ifdefs to make the code more readable
ifdefs in the code are making it harder to read.
The use of simple if(vfat_enabled) makes no more code and is cleaner.
(the code is discarded by the compiler instead of the preprocessor.)
NB: if -O0 is used, the code won't be discarded

and bonus, now the code compiles even if CONFIG_SUPPORT_VFAT is not
defined.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
2013-02-04 09:05:47 -05:00
..
Makefile fs: separate CONFIG_FS_{FAT, EXT4} from CONFIG_CMD_{FAT, EXT*} 2012-10-29 14:21:19 -07:00
fat.c FAT: remove ifdefs to make the code more readable 2013-02-04 09:05:47 -05:00
fat_write.c FAT: remove ifdefs to make the code more readable 2013-02-04 09:05:47 -05:00
file.c fs/fat: Big code cleanup. 2010-07-24 20:54:46 +02:00