projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96894d3
)
arm64: zynqmp: Wire QSPI boot mode for SPL
author
Michal Simek
<monstr@monstr.eu>
Thu, 2 Nov 2017 08:15:05 +0000
(09:15 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:02 +0000
(16:09 +0100)
ZynqMP qspi driver is on the way to mainline
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/zynqmp/spl.c
b/arch/arm/cpu/armv8/zynqmp/spl.c
index 468dc1dc4d54859275aacc5da24a6e5f240dc70b..41b0070a5e1ae3cbe4fdb8c4948edc3ac1fed9cd 100644
(file)
--- a/
arch/arm/cpu/armv8/zynqmp/spl.c
+++ b/
arch/arm/cpu/armv8/zynqmp/spl.c
@@
-101,6
+101,11
@@
u32 spl_boot_device(void)
#ifdef CONFIG_SPL_SATA_SUPPORT
case SW_SATA_MODE:
return BOOT_DEVICE_SATA;
+#endif
+#ifdef CONFIG_SPL_SPI_SUPPORT
+ case QSPI_MODE_24BIT:
+ case QSPI_MODE_32BIT:
+ return BOOT_DEVICE_SPI;
#endif
default:
printf("Invalid Boot Mode:0x%x\n", bootmode);