summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorMatt Waddel <matt.waddel@linaro.org>2011-04-16 11:54:08 +0000
committerAndy Fleming <afleming@freescale.com>2011-04-29 03:20:01 -0500
commitf0c64526b7e51ba997a0f1baf9e74e6d497b957e (patch)
tree2f7436b53d93b54e1d7342a22b4ab6c5483e86a7 /board/armltd
parent23b93e1d66e19a3e23ac2dadff9a3135744bcd29 (diff)
downloadu-boot-imx-f0c64526b7e51ba997a0f1baf9e74e6d497b957e.zip
u-boot-imx-f0c64526b7e51ba997a0f1baf9e74e6d497b957e.tar.gz
u-boot-imx-f0c64526b7e51ba997a0f1baf9e74e6d497b957e.tar.bz2
ARMV7: Vexpress: Add MMC support
Added the board specific definitions to use the MMCI device. Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
Diffstat (limited to 'board/armltd')
-rw-r--r--board/armltd/vexpress/ca9x4_ct_vxp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/armltd/vexpress/ca9x4_ct_vxp.c b/board/armltd/vexpress/ca9x4_ct_vxp.c
index ce1be1e..3566b95 100644
--- a/board/armltd/vexpress/ca9x4_ct_vxp.c
+++ b/board/armltd/vexpress/ca9x4_ct_vxp.c
@@ -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 */