diff options
author | Andreas Henriksson <andreas.henriksson@endian.se> | 2014-01-27 19:18:59 +0100 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-03-09 18:24:52 +0100 |
commit | 81724e09a018cf002be1bbb1a89b4b25e5b6f5c4 (patch) | |
tree | 0e82687832cebe2b4c51127de5d31058798135c6 /include | |
parent | de4fdfc1f22d70c23be5443dafacb8163023f9b1 (diff) | |
download | u-boot-imx-81724e09a018cf002be1bbb1a89b4b25e5b6f5c4.zip u-boot-imx-81724e09a018cf002be1bbb1a89b4b25e5b6f5c4.tar.gz u-boot-imx-81724e09a018cf002be1bbb1a89b4b25e5b6f5c4.tar.bz2 |
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.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h index b9aa036..48c12ea 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 |