diff options
author | Michal Simek <michal.simek@xilinx.com> | 2019-02-13 15:46:41 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-02-14 16:31:10 +0300 |
commit | 35e2b92344b1feee818a8e778b403c8a6a136230 (patch) | |
tree | e558005c35eda31284961bd032b11ce2ad485cfe /arch/arm/mach-zynqmp/spl.c | |
parent | 027b1134b20b253b71de306738ed8d2d3f8ddc21 (diff) | |
download | u-boot-35e2b92344b1feee818a8e778b403c8a6a136230.tar.xz |
arm64: zynqmp: Fix logic around CONFIG_ZYNQ_SDHCI
Replace SDHCI controller listing by Kconfig symbol to let SPL know that
this board is using multiple SDHCIs controllers.
Kconfig help message should explain why this is needed.
Origin symbols were used in full u-boot but with moving to distro boot
this was fixed already.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynqmp/spl.c')
-rw-r--r-- | arch/arm/mach-zynqmp/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index fb3955c93f..f6f5414201 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -85,7 +85,7 @@ u32 spl_boot_device(void) case SD_MODE1: case SD1_LSHFT_MODE: /* not working on silicon v1 */ /* if both controllers enabled, then these two are the second controller */ -#if defined(CONFIG_ZYNQ_SDHCI0) && defined(CONFIG_ZYNQ_SDHCI1) +#if defined(SPL_ZYNQMP_TWO_SDHCI) return BOOT_DEVICE_MMC2; /* else, fall through, the one SDHCI controller that is enabled is number 1 */ #endif |