summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorDrEagle <dreagle@doukki.net>2014-07-25 21:07:30 +0200
committerPantelis Antoniou <panto@antoniou-consulting.com>2014-08-01 18:44:56 +0300
commit3fe3b4fb1c5adb00502276312696e38e9a7e9b5b (patch)
treeff56d9f7c7ad109a72a452d38b973fd9707b5c08 /arch/arm/cpu
parent25b4adbba018633b943a99322bfb2fb819c0bafb (diff)
downloadu-boot-imx-3fe3b4fb1c5adb00502276312696e38e9a7e9b5b.zip
u-boot-imx-3fe3b4fb1c5adb00502276312696e38e9a7e9b5b.tar.gz
u-boot-imx-3fe3b4fb1c5adb00502276312696e38e9a7e9b5b.tar.bz2
ARM: kirkwood: add mvsdio driver
This patch add Marvell kirkwood MVSDIO/MMC driver and enable it for Sheevaplugs and OpenRD boards. Signed-off-by: Gerald Kerma <drEagle@doukki.net> Reviewed-by: Stefan Roese <sr@denx.de> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/arm926ejs/kirkwood/cpu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/kirkwood/cpu.c b/arch/arm/cpu/arm926ejs/kirkwood/cpu.c
index da80240..881e2de 100644
--- a/arch/arm/cpu/arm926ejs/kirkwood/cpu.c
+++ b/arch/arm/cpu/arm926ejs/kirkwood/cpu.c
@@ -13,6 +13,7 @@
#include <asm/io.h>
#include <asm/arch/cpu.h>
#include <asm/arch/kirkwood.h>
+#include <mvebu_mmc.h>
#define BUFLEN 16
@@ -377,3 +378,11 @@ int cpu_eth_init(bd_t *bis)
return 0;
}
#endif
+
+#ifdef CONFIG_MVEBU_MMC
+int board_mmc_init(bd_t *bis)
+{
+ mvebu_mmc_init(bis);
+ return 0;
+}
+#endif /* CONFIG_MVEBU_MMC */