fs: Allow to compile FS_FAT only for proper U-Boot
PATCH 1/1 fs: Allow to compile FS_FAT only for proper U-Boot
CONFIG_SPL_FS_FAT cannot be disabled when CONFIG_FS_FAT is enabled. Fix it.
Signed-off-by Pali Rohár <[email protected]>
--- fs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs.c +1 -1
@@ -175,7 +175,7 @@ struct fstype_info { };static struct fstype_info fstypes[] = { -#ifdef CONFIG_FS_FAT +#if CONFIG_IS_ENABLED(FS_FAT) { .fstype =FS_TYPE_FAT , .name ="fat" ,
Signature · 1 line
2.20.1
Quoted 3 lines · Pali Rohár
CONFIG_SPL_FS_FATcannot be disabled whenCONFIG_FS_FATis enabled. Fix it.Signed-off-by Pali Rohár <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom