diff options
author | Marek Vasut <marex@denx.de> | 2012-09-30 10:09:49 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-10-22 02:56:25 -0500 |
commit | 831f849f79f2c9fcaa6f85f4158296d2dbc3916c (patch) | |
tree | e0afbd4d42d1c131c515b941a06f71fbbecf6862 /board/pxa255_idp | |
parent | 13243f2eafc4292917178051fe1bb5aab2774dca (diff) |
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/pxa255_idp')
-rw-r--r-- | board/pxa255_idp/pxa_idp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/pxa255_idp/pxa_idp.c b/board/pxa255_idp/pxa_idp.c index 877e8d9b2a..9931efdc08 100644 --- a/board/pxa255_idp/pxa_idp.c +++ b/board/pxa255_idp/pxa_idp.c @@ -35,6 +35,7 @@ #include <command.h> #include <asm/io.h> #include <asm/arch/pxa.h> +#include <asm/arch/regs-mmc.h> DECLARE_GLOBAL_DATA_PTR; @@ -77,6 +78,14 @@ int board_init (void) return 0; } +#ifdef CONFIG_CMD_MMC +int board_mmc_init(bd_t *bis) +{ + pxa_mmc_register(0); + return 0; +} +#endif + int board_late_init(void) { setenv("stdout", "serial"); |