From: Michal Simek Date: Thu, 2 Nov 2017 08:15:05 +0000 (+0100) Subject: arm64: zynqmp: Wire QSPI boot mode for SPL X-Git-Tag: v2018.01-rc1~59^2~63 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40d1f8af17e706afe3265f3d64f5bf8027be5468;p=u-boot arm64: zynqmp: Wire QSPI boot mode for SPL ZynqMP qspi driver is on the way to mainline Signed-off-by: Michal Simek --- diff --git a/arch/arm/cpu/armv8/zynqmp/spl.c b/arch/arm/cpu/armv8/zynqmp/spl.c index 468dc1dc4d..41b0070a5e 100644 --- a/arch/arm/cpu/armv8/zynqmp/spl.c +++ b/arch/arm/cpu/armv8/zynqmp/spl.c @@ -101,6 +101,11 @@ u32 spl_boot_device(void) #ifdef CONFIG_SPL_SATA_SUPPORT case SW_SATA_MODE: return BOOT_DEVICE_SATA; +#endif +#ifdef CONFIG_SPL_SPI_SUPPORT + case QSPI_MODE_24BIT: + case QSPI_MODE_32BIT: + return BOOT_DEVICE_SPI; #endif default: printf("Invalid Boot Mode:0x%x\n", bootmode);