summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas.henriksson@endian.se>2014-01-27 19:18:59 +0100
committerAndreas Bießmann <andreas.devel@googlemail.com>2014-03-09 18:24:52 +0100
commit81724e09a018cf002be1bbb1a89b4b25e5b6f5c4 (patch)
tree0e82687832cebe2b4c51127de5d31058798135c6 /include
parentde4fdfc1f22d70c23be5443dafacb8163023f9b1 (diff)
downloadtalos-obmc-uboot-81724e09a018cf002be1bbb1a89b4b25e5b6f5c4.tar.gz
talos-obmc-uboot-81724e09a018cf002be1bbb1a89b4b25e5b6f5c4.zip
at91sam9263ek: add mmc support
Add support for using the Atmel MCI driver on at91sam9263ek. This change is modeled after the existing at91sam9260ek support. Please note that this hooks up slot1 (MCI1) for SD. Not both. Tested with at91bootstrap and u-boot on dataflash in slot 0 and fat-formatted 8GB SDHC in slot 1 on first revision at91sam9263ek (which must use dataflash in slot0 to boot). CONFIG_ATMEL_MCI_PORTB not tested. Signed-off-by: Andreas Henriksson <andreas.henriksson@endian.se> [remove empty line] Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/at91sam9263ek.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
index b9aa036039..48c12ea880 100644
--- a/include/configs/at91sam9263ek.h
+++ b/include/configs/at91sam9263ek.h
@@ -103,6 +103,7 @@
#define CONFIG_CMD_PING 1
#define CONFIG_CMD_DHCP 1
#define CONFIG_CMD_NAND 1
+#define CONFIG_CMD_MMC
#define CONFIG_CMD_USB 1
/* SDRAM */
@@ -123,6 +124,18 @@
#define DATAFLASH_TCSS (0x1a << 16)
#define DATAFLASH_TCHS (0x1 << 24)
+/* MMC */
+#ifdef CONFIG_CMD_MMC
+#define CONFIG_MMC
+#define CONFIG_GENERIC_MMC
+#define CONFIG_GENERIC_ATMEL_MCI
+#endif
+
+/* FAT */
+#ifdef CONFIG_CMD_FAT
+#define CONFIG_DOS_PARTITION
+#endif
+
/* NOR flash, if populated */
#ifdef CONFIG_SYS_USE_NORFLASH
#define CONFIG_SYS_FLASH_CFI 1
OpenPOWER on IntegriCloud