summaryrefslogtreecommitdiffstats
path: root/include/configs/at91sam9m10g45ek.h
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2014-05-21 10:42:15 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2014-05-27 00:10:54 +0200
commitcf874c190e1796a77be6661cacc43aebb94c7a57 (patch)
treee1575bc973d40024c232a44816e6c1c131644682 /include/configs/at91sam9m10g45ek.h
parente83c4d24b12266d5616429b60e1a15e04c507e89 (diff)
downloadblackbird-obmc-uboot-cf874c190e1796a77be6661cacc43aebb94c7a57.tar.gz
blackbird-obmc-uboot-cf874c190e1796a77be6661cacc43aebb94c7a57.zip
ARM: at91sam9m10g45ek: enable mci0 support
Also we enable the mmc command in configuration file. As both CONFIG_CMD_MMC and CONFIG_CMD_USB use the CONFIG_DOS_PARTITION, so remove the redundant CONFIG_DOS_PARTITION definition. Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/configs/at91sam9m10g45ek.h')
-rw-r--r--include/configs/at91sam9m10g45ek.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
index 5d5fbe5853..61f7bc2079 100644
--- a/include/configs/at91sam9m10g45ek.h
+++ b/include/configs/at91sam9m10g45ek.h
@@ -116,6 +116,20 @@
#endif
+/* MMC */
+#define CONFIG_CMD_MMC
+
+#ifdef CONFIG_CMD_MMC
+#define CONFIG_MMC
+#define CONFIG_GENERIC_MMC
+#define CONFIG_GENERIC_ATMEL_MCI
+#endif
+
+#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
+#define CONFIG_CMD_FAT
+#define CONFIG_DOS_PARTITION
+#endif
+
/* Ethernet */
#define CONFIG_MACB
#define CONFIG_RMII
@@ -127,7 +141,6 @@
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_ATMEL
#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 2
-#define CONFIG_DOS_PARTITION
#define CONFIG_USB_STORAGE
#define CONFIG_SYS_LOAD_ADDR 0x22000000 /* load address */
OpenPOWER on IntegriCloud