From: Wenyou Yang Date: Fri, 4 Aug 2017 10:04:00 +0800 Subject: [U-Boot] [PATCH v3 3/6] ARM: at91: spl: Add boot device for boot from QSPI In-Reply-To: <20170804020403.20996-1-wenyou.yang@microchip.com> References: <20170804020403.20996-1-wenyou.yang@microchip.com> Message-ID: <20170804020403.20996-4-wenyou.yang@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add the boot device for booting from the QSPI flash. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/mach-at91/spl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/spl.c b/arch/arm/mach-at91/spl.c index c2e2d90a89..7e7e24bbe6 100644 --- a/arch/arm/mach-at91/spl.c +++ b/arch/arm/mach-at91/spl.c @@ -58,6 +58,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; -- 2.13.0