diff options
author | Michal Simek <monstr@monstr.eu> | 2017-11-02 09:15:05 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2017-11-28 16:09:02 +0100 |
commit | 40d1f8af17e706afe3265f3d64f5bf8027be5468 (patch) | |
tree | 3a936ffa7cbb37003a744a5b4c41b013af2fe0a1 /arch/arm/cpu | |
parent | 96894d3a9ee18265adb400024d930712b05a44fb (diff) |
arm64: zynqmp: Wire QSPI boot mode for SPL
ZynqMP qspi driver is on the way to mainline
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv8/zynqmp/spl.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -102,6 +102,11 @@ u32 spl_boot_device(void) 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); break; |