mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
23a19e0358
commit
dfd6d3a9d4
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue