From 831f849f79f2c9fcaa6f85f4158296d2dbc3916c Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 30 Sep 2012 10:09:49 +0000 Subject: 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 Cc: Andy Fleming Signed-off-by: Andy Fleming --- board/lubbock/lubbock.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'board/lubbock') diff --git a/board/lubbock/lubbock.c b/board/lubbock/lubbock.c index 3527b38..ef2cc24 100644 --- a/board/lubbock/lubbock.c +++ b/board/lubbock/lubbock.c @@ -29,6 +29,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; @@ -56,6 +57,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"); -- cgit v1.1