]> git.sur5r.net Git - u-boot/blobdiff - board/trizepsiv/conxs.c
powerpc/83xx/km: MV88e6122 errata fix for 1.9V
[u-boot] / board / trizepsiv / conxs.c
index 8fc3c40e6b4459edc455f9565651dfe27b787624..c3dee8459e68a2ab166dc3f0426f2f4ead7253b9 100644 (file)
@@ -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>
 
@@ -120,7 +121,6 @@ int board_init (void)
 
 int board_late_init(void)
 {
-#if defined(CONFIG_SERIAL_MULTI)
        char *console=getenv("boot_console");
 
        if ((console == NULL) || (strcmp(console,"serial_btuart") &&
@@ -131,7 +131,6 @@ int board_late_init(void)
        setenv("stdout",console);
        setenv("stdin", console);
        setenv("stderr",console);
-#endif
        return 0;
 }
 
@@ -154,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