arm: socfpga: Make /soc available in pre-reloc
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.
Signed-off-by Marek Vasut <[email protected]>
Cc Dinh Nguyen <[email protected]>
--- arch/arm/dts/socfpga_cyclone5_socdk.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/dts/socfpga_cyclone5_socdk.dts +4 -0
@@ -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
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.
Signed-off-by Marek Vasut <[email protected]>
Cc Dinh Nguyen <[email protected]>
--- configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig | 1 + 2 files changed, 2 insertions(+)
configs/socfpga_arria5_defconfig +1 -0
@@ -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
@@ -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
Marek Vasut
AppliedPATCH 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.
Signed-off-by Marek Vasut <[email protected]>Cc Dinh Nguyen <[email protected]>
Applied both, thanks.
Best regards,
Marek Vasut