PXA: vpac270: Enable the new generic MMC driver
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
This commit is contained in:
parent
237ce0fe97
commit
5d877f4212
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <asm/arch/hardware.h>
|
#include <asm/arch/hardware.h>
|
||||||
|
#include <asm/arch/regs-mmc.h>
|
||||||
#include <netdev.h>
|
#include <netdev.h>
|
||||||
#include <serial.h>
|
#include <serial.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
@ -72,6 +73,14 @@ void dram_init_banksize(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_CMD_MMC
|
||||||
|
int board_mmc_init(bd_t *bis)
|
||||||
|
{
|
||||||
|
pxa_mmc_register(0);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_USB
|
#ifdef CONFIG_CMD_USB
|
||||||
int usb_board_init(void)
|
int usb_board_init(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -107,7 +107,8 @@
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_CMD_MMC
|
#ifdef CONFIG_CMD_MMC
|
||||||
#define CONFIG_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_SYS_MMC_BASE 0xF0000000
|
||||||
#define CONFIG_CMD_FAT
|
#define CONFIG_CMD_FAT
|
||||||
#define CONFIG_CMD_EXT2
|
#define CONFIG_CMD_EXT2
|
||||||
|
|
Loading…
Reference in New Issue