u-boot/arch/arm/cpu
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
..
arm11 ARM: Move SYS_CACHELINE_SIZE over to Kconfig 2016-08-26 17:04:46 -04:00
arm720t arm: arm720t: Support CONFIG_SKIP_LOWLEVEL_INIT_ONLY 2017-06-09 13:39:31 -06:00
arm920t common: ep93xx: Move arch-specific declarations out of common 2017-06-05 12:31:22 -04:00
arm926ejs arch/arm/cpu/arm926ejs/omap: Remove 2017-05-15 10:39:55 -04:00
arm946es arm: Allow skipping of low-level init with I-cache on 2016-06-12 23:49:38 +02:00
arm1136 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
arm1176 arm: add save_boot_params for ARM1176 2016-11-21 14:07:31 -05:00
armv7 armv7: Mark the default lowlevel_init function as weak 2017-06-05 11:02:23 -04:00
armv7m armv7m: Fix larger builds 2017-06-05 14:13:14 -04:00
armv8 arm64: zynqmp: spl: fix dual SD controller support 2017-06-19 16:53:09 +02:00
pxa arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD 2017-03-18 20:28:01 -04:00
sa1100 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
u-boot-spl.lds spl: arm: Make sure to include all of the u_boot_list entries 2016-03-16 15:27:55 -04:00
u-boot.lds Revert "ARM: fixed relocation using proper alignment" 2017-06-14 09:13:21 -04:00