[U-Boot] [PATCH] arm: socfpga: Fix booting from QSPI flash on socdk board.

shengjiangwu shengjiangwu at icloud.com
Mon Feb 1 09:38:49 CET 2016


Added missing parameter 'u-boot,dm-pre-reloc' for qspi and
flash0 in dts file arch/arm/dts/socfpga_cyclone5_socdk.dts
to make it support booting from QSPI flash.

Signed-off-by: shengjiangwu <shengjiangwu at icloud.com>
Cc: Chin Liang See <clsee at altera.com>
Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux at gmail.com>
Cc: Pavel Machek <pavel at denx.de>
Cc: Marek Vasut <marex at denx.de>
Cc: Stefan Roese <sr at denx.de>
---
 arch/arm/dts/socfpga_cyclone5_socdk.dts |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/arch/arm/dts/socfpga_cyclone5_socdk.dts
index a202709..bc60419 100644
--- a/arch/arm/dts/socfpga_cyclone5_socdk.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socdk.dts
@@ -83,9 +83,11 @@
 };
 
 &qspi {
+	u-boot,dm-pre-reloc;
 	status = "okay";
 
 	flash0: n25q00 at 0 {
+		u-boot,dm-pre-reloc;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "n25q00";
-- 
1.7.9.5



More information about the U-Boot mailing list