u-boot-brain/arch/arm/cpu/armv8/zynqmp
Jean-Francois Dagenais e3fdf5d056 arm64: zynqmp: spl: fix dual SD controller support
When enabling both SDHCI controllers, spl_mmc.c would actually choose
device sdhci0 even if booted from sdhci1 (boot_device). This is because
spl_mmc_get_device_index(boot_device) expects BOOT_DEVICE_MMC2[_2] in
order to return index 1 instead of 0.

The #if defined(...) statement is copied from board/xilinx/zynqmp/zynqmp.c

So the key to properly enabling both controllers as boot sources is
defining both CONFIG_ZYNQ_SDHCI0 and CONFIG_ZYNQ_SDHCI1 in your board's
include/configs/*.h.

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2017-06-19 16:53:09 +02:00
..
clk.c ARM64: zynqmp: Remove get_uart_clk() 2016-07-22 14:04:41 +02:00
cpu.c armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
handoff.c ARM64: zynqmp: Generate handoff structure for ATF 2017-01-10 10:22:05 +01:00
Kconfig spl: Kconfig: SPL_MMC_SUPPORT depends on GENERIC_MMC 2017-04-08 09:26:54 -04:00
Makefile ARM64: zynqmp: Generate handoff structure for ATF 2017-01-10 10:22:05 +01:00
mp.c Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
slcr.c zynqmp: Add support for IP detection via SLCR 2015-07-28 11:56:20 +02:00
spl.c arm64: zynqmp: spl: fix dual SD controller support 2017-06-19 16:53:09 +02:00