From: Wenyou Yang Date: Wed, 13 Sep 2017 06:58:51 +0000 (+0800) Subject: ARM: at91: spl: Add boot device for boot from QSPI X-Git-Tag: v2017.11-rc1~126 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dfd6d3a9d471baf8d0f2d543398b0aad5545d297;p=oweals%2Fu-boot.git 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 Reviewed-by: Simon Glass --- diff --git a/arch/arm/mach-at91/spl.c b/arch/arm/mach-at91/spl.c index e113336b7b..98337aebbe 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;