mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-02 17:13:28 +08:00
ARM: zynq: Specify MMC controller number for boot sequence
Xilinx Zynq SoC has two sdhci controllers but boot is only possible from the first one. That's why there is a need to specify controller number. mmc1 is supposed to be secondary boot device and should be also listed in distribution boot. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
be49508a0f
commit
7712fb1ff7
@ -52,7 +52,7 @@ int board_late_init(void)
|
||||
env_set("modeboot", "norboot");
|
||||
break;
|
||||
case ZYNQ_BM_SD:
|
||||
mode = "mmc";
|
||||
mode = "mmc0";
|
||||
env_set("modeboot", "sdboot");
|
||||
break;
|
||||
case ZYNQ_BM_JTAG:
|
||||
|
@ -111,7 +111,7 @@
|
||||
#else
|
||||
|
||||
#ifdef CONFIG_CMD_MMC
|
||||
#define BOOT_TARGET_DEVICES_MMC(func) func(MMC, mmc, 0)
|
||||
#define BOOT_TARGET_DEVICES_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1)
|
||||
#else
|
||||
#define BOOT_TARGET_DEVICES_MMC(func)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user