summaryrefslogtreecommitdiff
path: root/board/trizepsiv/conxs.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-30 10:09:49 +0000
committerAndy Fleming <afleming@freescale.com>2012-10-22 02:56:25 -0500
commit831f849f79f2c9fcaa6f85f4158296d2dbc3916c (patch)
treee0afbd4d42d1c131c515b941a06f71fbbecf6862 /board/trizepsiv/conxs.c
parent13243f2eafc4292917178051fe1bb5aab2774dca (diff)
downloadu-boot-imx-831f849f79f2c9fcaa6f85f4158296d2dbc3916c.zip
u-boot-imx-831f849f79f2c9fcaa6f85f4158296d2dbc3916c.tar.gz
u-boot-imx-831f849f79f2c9fcaa6f85f4158296d2dbc3916c.tar.bz2
mmc: pxa: Flip over the remaining boards to pxa_mmc_generic
Some of the boards still used the old PXA_MMC driver instead of the new generic one. Use the new one instead so the old can be removed and the generic MMC framework can be properly used. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andy Fleming <afleming@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/trizepsiv/conxs.c')
-rw-r--r--board/trizepsiv/conxs.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/trizepsiv/conxs.c b/board/trizepsiv/conxs.c
index 871e052..c3dee84 100644
--- a/board/trizepsiv/conxs.c
+++ b/board/trizepsiv/conxs.c
@@ -34,6 +34,7 @@
#include <common.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/pxa.h>
+#include <asm/arch/regs-mmc.h>
#include <netdev.h>
#include <asm/io.h>
@@ -152,3 +153,11 @@ int board_eth_init(bd_t *bis)
return dm9000_initialize(bis);
}
#endif
+
+#ifdef CONFIG_CMD_MMC
+int board_mmc_init(bd_t *bis)
+{
+ pxa_mmc_register(0);
+ return 0;
+}
+#endif