projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a19e0
)
ARM: at91: spl: Add boot device for boot from QSPI
author
Wenyou Yang
<wenyou.yang@microchip.com>
Wed, 13 Sep 2017 06:58:51 +0000
(14:58 +0800)
committer
Tom Rini
<trini@konsulko.com>
Thu, 14 Sep 2017 20:02:45 +0000
(16:02 -0400)
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>
arch/arm/mach-at91/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-at91/spl.c
b/arch/arm/mach-at91/spl.c
index
e113336
..
98337ae
100644
(file)
--- 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;