aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWenyou Yang2017-09-13 14:58:51 +0800
committerTom Rini2017-09-14 16:02:45 -0400
commitdfd6d3a9d471baf8d0f2d543398b0aad5545d297 (patch)
tree29fbf41567496b0b671ae9bdfed40ccc8743c87c /arch
parent23a19e03589c0b1c4daec082f33a1ecdbf5a4475 (diff)
ARM: at91: spl: Add boot device for boot from QSPI
Add the boot device for booting from the QSPI flash. Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-at91/spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/spl.c b/arch/arm/mach-at91/spl.c
index e113336b7bf..98337aebbe1 100644
--- a/arch/arm/mach-at91/spl.c
+++ b/arch/arm/mach-at91/spl.c
@@ -56,6 +56,8 @@ u32 spl_boot_device(void)
if (dev == ATMEL_SAMA5_BOOT_FROM_SPI)
return BOOT_DEVICE_SPI;
#endif
+ if (dev == ATMEL_SAMA5_BOOT_FROM_QSPI)
+ return BOOT_DEVICE_SPI;
if (dev == ATMEL_SAMA5_BOOT_FROM_SMC)
return BOOT_DEVICE_NAND;