Skip to contentSkip to conversation

arm: socfpga: Make /soc available in pre-reloc

PATCH New Marek Vasut 1 participant 3 messages Dec 22, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm: socfpga: Make /soc available in pre-reloc

This node must be available before relocation, otherwise the board will not find mmc and will thus not boot.

---
 arch/arm/dts/socfpga_cyclone5_socdk.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/socfpga_cyclone5_socdk.dts +4 -0
index 224928f..a202709 100644
@@ -34,6 +34,10 @@
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 	};
+
+	soc {
+		u-boot,dm-pre-reloc;
+	};
 };
 
 &gmac1 {
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/2 arm: socfpga: Enable simple bus in SPL on all boards

The simple bus support must be enabled in SPL, otherwise the boards will not be able to parse the DT and will fail to boot.

---
 configs/socfpga_arria5_defconfig   | 1 +
 configs/socfpga_cyclone5_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/socfpga_arria5_defconfig +1 -0
index 10eb91d..a9f9ea3 100644
@@ -11,6 +11,7 @@ CONFIG_SPL_STACK_R=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
+CONFIG_SPL_SIMPLE_BUS=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
configs/socfpga_cyclone5_defconfig +1 -0
index 864358c..c9e39f1 100644
@@ -11,6 +11,7 @@ CONFIG_SPL_STACK_R=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
+CONFIG_SPL_SIMPLE_BUS=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
Signature · 1 line
2.1.4
author Applied
#2 lore raw

PATCH 2/2 arm: socfpga: Enable simple bus in SPL on all boards

Quoted 5 lines · Marek Vasut

The simple bus support must be enabled in SPL, otherwise the boards will not be able to parse the DT and will fail to boot.

Applied both, thanks.

Best regards,
Marek Vasut