]> git.sur5r.net Git - u-boot/commitdiff
at91sam9x5ek: regroup FAT/DOS features
authorRichard Genoud <richard.genoud@gmail.com>
Thu, 29 Nov 2012 23:18:33 +0000 (23:18 +0000)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Sun, 9 Dec 2012 21:38:50 +0000 (22:38 +0100)
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Acked-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
include/configs/at91sam9x5ek.h

index 71f765b49422208da2b46b62cade585a83071250..5e5f9c1169e90c74d8635ed3d7c4a8f5b7c8c984 100644 (file)
@@ -90,6 +90,7 @@
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_SF
 #define CONFIG_CMD_MMC
+#define CONFIG_CMD_FAT
 
 /* SDRAM */
 #define CONFIG_NR_DRAM_BANKS           1
 /* MMC */
 #ifdef CONFIG_CMD_MMC
 #define CONFIG_MMC
-#define CONFIG_CMD_FAT
 #define CONFIG_GENERIC_MMC
 #define CONFIG_GENERIC_ATMEL_MCI
+#endif
+
+/* FAT */
+#ifdef CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION
 #endif