mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
zipitz2: use pxa_mmc_gen as MMC driver
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
This commit is contained in:
parent
76d4ae251e
commit
81f731ca7c
@ -79,6 +79,14 @@ void dram_init_banksize(void)
|
|||||||
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
|
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_CMD_MMC
|
||||||
|
int board_mmc_init(bd_t *bis)
|
||||||
|
{
|
||||||
|
pxa_mmc_register(0);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_SPI
|
#ifdef CONFIG_CMD_SPI
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
|
@ -45,7 +45,8 @@
|
|||||||
#define CONFIG_ARCH_CPU_INIT
|
#define CONFIG_ARCH_CPU_INIT
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
"if mmc init && fatload mmc 0 0xa0000000 uboot.script ; then " \
|
"if mmc rescan && ext2load mmc 0 0xa0000000 boot/uboot.script ;"\
|
||||||
|
"then " \
|
||||||
"source 0xa0000000; " \
|
"source 0xa0000000; " \
|
||||||
"else " \
|
"else " \
|
||||||
"bootm 0x60000; " \
|
"bootm 0x60000; " \
|
||||||
@ -85,7 +86,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…
x
Reference in New Issue
Block a user