aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVasily Khoruzhick2012-01-25 22:54:33 +0300
committerAlbert ARIBAUD2012-03-26 23:09:22 +0200
commit81f731ca7c387d6ae1560a27118a4c6a09b6e722 (patch)
tree442876b0f8dac6a6db181353a0cb345b14038b27 /board
parent76d4ae251e4a2f7724f4462baccc2779074fa937 (diff)
zipitz2: use pxa_mmc_gen as MMC driver
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Diffstat (limited to 'board')
-rw-r--r--board/zipitz2/zipitz2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c
index b093c2f51f8..4075fb659c5 100644
--- a/board/zipitz2/zipitz2.c
+++ b/board/zipitz2/zipitz2.c
@@ -79,6 +79,14 @@ void dram_init_banksize(void)
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
}
+#ifdef CONFIG_CMD_MMC
+int board_mmc_init(bd_t *bis)
+{
+ pxa_mmc_register(0);
+ return 0;
+}
+#endif
+
#ifdef CONFIG_CMD_SPI
struct {