From e8dd60d489e19d12b193b945bb0d13ba40f9d8b0 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Mon, 6 Aug 2018 15:05:09 +0200 Subject: [PATCH] arm: socfpga: make socfpga_socrates_defconfig boot from QSPI This fixes the board's dts to supply SPL with QSPI info. The EBV Socrates board has DIP switches to boot from SD card or QSPI, so let's fix its defconfig to work for both cases. Signed-off-by: Simon Goldschmidt --- arch/arm/dts/socfpga_cyclone5_socrates.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts index 8d5d3996f6..93c3fa4a48 100644 --- a/arch/arm/dts/socfpga_cyclone5_socrates.dts +++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts @@ -76,6 +76,7 @@ &qspi { status = "okay"; + u-boot,dm-pre-reloc; flash: flash@0 { #address-cells = <1>; @@ -90,5 +91,6 @@ cdns,tchsh-ns = <4>; cdns,tslch-ns = <4>; status = "okay"; + u-boot,dm-pre-reloc; }; }; -- 2.39.5