Skip to content
Snippets Groups Projects
Commit f0c64526 authored by Matt Waddel's avatar Matt Waddel Committed by Andy Fleming
Browse files

ARMV7: Vexpress: Add MMC support


Added the board specific definitions to use the MMCI device.

Signed-off-by: default avatarMatt Waddel <matt.waddel@linaro.org>
parent 23b93e1d
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,15 @@ int board_eth_init(bd_t *bis)
return rc;
}
int cpu_mmc_init(bd_t *bis)
{
int rc = 0;
#ifdef CONFIG_ARM_PL180_MMCI
rc = arm_pl180_mmci_init();
#endif
return rc;
}
static void flash__init(void)
{
/* Setup the sytem control register to allow writing to flash */
......
......@@ -87,6 +87,10 @@
#define CONFIG_MMC 1
#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_ARM_PL180_MMCI
#define CONFIG_ARM_PL180_MMCI_BASE 0x10005000
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
#define CONFIG_ARM_PL180_MMCI_CLOCK_FREQ 6250000
/* BOOTP options */
#define CONFIG_BOOTP_BOOTFILESIZE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment