Skip to content
Snippets Groups Projects
Commit dfd6d3a9 authored by Wenyou Yang's avatar Wenyou Yang Committed by Tom Rini
Browse files

ARM: at91: spl: Add boot device for boot from QSPI


Add the boot device for booting from the QSPI flash.

Signed-off-by: default avatarWenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 23a19e03
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,8 @@ u32 spl_boot_device(void) ...@@ -56,6 +56,8 @@ u32 spl_boot_device(void)
if (dev == ATMEL_SAMA5_BOOT_FROM_SPI) if (dev == ATMEL_SAMA5_BOOT_FROM_SPI)
return BOOT_DEVICE_SPI; return BOOT_DEVICE_SPI;
#endif #endif
if (dev == ATMEL_SAMA5_BOOT_FROM_QSPI)
return BOOT_DEVICE_SPI;
if (dev == ATMEL_SAMA5_BOOT_FROM_SMC) if (dev == ATMEL_SAMA5_BOOT_FROM_SMC)
return BOOT_DEVICE_NAND; return BOOT_DEVICE_NAND;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment