From: Marek Vasut Date: Sun, 28 Aug 2011 04:30:40 +0000 (+0200) Subject: PXA: vpac270: Enable the new generic MMC driver X-Git-Tag: v2011.12-rc1~220^2^2~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5d877f42126027fbb7d5e3d9491ffd7a93627359;p=oweals%2Fu-boot.git PXA: vpac270: Enable the new generic MMC driver Signed-off-by: Marek Vasut --- diff --git a/board/vpac270/vpac270.c b/board/vpac270/vpac270.c index 43bbdff70e..cf8e7b61db 100644 --- a/board/vpac270/vpac270.c +++ b/board/vpac270/vpac270.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include @@ -72,6 +73,14 @@ void dram_init_banksize(void) #endif } +#ifdef CONFIG_CMD_MMC +int board_mmc_init(bd_t *bis) +{ + pxa_mmc_register(0); + return 0; +} +#endif + #ifdef CONFIG_CMD_USB int usb_board_init(void) { diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h index 9db4d999b7..dd68c66dfa 100644 --- a/include/configs/vpac270.h +++ b/include/configs/vpac270.h @@ -107,7 +107,8 @@ */ #ifdef CONFIG_CMD_MMC #define CONFIG_MMC -#define CONFIG_PXA_MMC +#define CONFIG_GENERIC_MMC +#define CONFIG_PXA_MMC_GENERIC #define CONFIG_SYS_MMC_BASE 0xF0000000 #define CONFIG_CMD_FAT #define CONFIG_CMD_EXT2