Message ID | 20200509200539.18377-2-ezra@easyb.ch |
---|---|
State | Accepted |
Commit | a1a61b0672ff20719ac9d1f4d60c16da00d11538 |
Headers | show |
Series | Fix boot from SPI flash on Synology DS414 | expand |
On 09.05.20 22:05, Ezra Buehler wrote: > Without this U-Boot-specific property, booting on the Synology DS414 > (or DS214+) fails in SPL. The spi0 DT node is not scanned, as a result > the SPI flash cannot be found. > > Signed-off-by: Ezra Buehler <ezra at easyb.ch> Reviewed-by: Stefan Roese <sr at denx.de> Thanks, Stefan
diff --git a/arch/arm/dts/armada-xp-synology-ds414-u-boot.dtsi b/arch/arm/dts/armada-xp-synology-ds414-u-boot.dtsi new file mode 100644 index 0000000000..22fae16c9d --- /dev/null +++ b/arch/arm/dts/armada-xp-synology-ds414-u-boot.dtsi @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ + +&spi0 { + u-boot,dm-pre-reloc; + + spi-flash at 0 { + u-boot,dm-pre-reloc; + }; +};
Without this U-Boot-specific property, booting on the Synology DS414 (or DS214+) fails in SPL. The spi0 DT node is not scanned, as a result the SPI flash cannot be found. Signed-off-by: Ezra Buehler <ezra at easyb.ch> --- Changes for v2: - Moved U-Boot-specific properties to *-u-boot.dtsi file arch/arm/dts/armada-xp-synology-ds414-u-boot.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 arch/arm/dts/armada-xp-synology-ds414-u-boot.dtsi -- 2.26.2