All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] arm: socfpga: Make /soc available in pre-reloc
@ 2015-12-22  3:41 Marek Vasut
  2015-12-22  3:41 ` [U-Boot] [PATCH 2/2] arm: socfpga: Enable simple bus in SPL on all boards Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2015-12-22  3:41 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
---
 arch/arm/dts/socfpga_cyclone5_socdk.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/arch/arm/dts/socfpga_cyclone5_socdk.dts
index 224928f..a202709 100644
--- a/arch/arm/dts/socfpga_cyclone5_socdk.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socdk.dts
@@ -34,6 +34,10 @@
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 	};
+
+	soc {
+		u-boot,dm-pre-reloc;
+	};
 };
 
 &gmac1 {
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 2/2] arm: socfpga: Enable simple bus in SPL on all boards
  2015-12-22  3:41 [U-Boot] [PATCH 1/2] arm: socfpga: Make /soc available in pre-reloc Marek Vasut
@ 2015-12-22  3:41 ` Marek Vasut
  2015-12-22 20:20   ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2015-12-22  3:41 UTC (permalink / raw)
  To: u-boot

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 <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
---
 configs/socfpga_arria5_defconfig   | 1 +
 configs/socfpga_cyclone5_defconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig
index 10eb91d..a9f9ea3 100644
--- a/configs/socfpga_arria5_defconfig
+++ b/configs/socfpga_arria5_defconfig
@@ -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
diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig
index 864358c..c9e39f1 100644
--- a/configs/socfpga_cyclone5_defconfig
+++ b/configs/socfpga_cyclone5_defconfig
@@ -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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 2/2] arm: socfpga: Enable simple bus in SPL on all boards
  2015-12-22  3:41 ` [U-Boot] [PATCH 2/2] arm: socfpga: Enable simple bus in SPL on all boards Marek Vasut
@ 2015-12-22 20:20   ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-12-22 20:20 UTC (permalink / raw)
  To: u-boot

On Tuesday, December 22, 2015 at 04:41:09 AM, Marek Vasut wrote:
> 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 <marex@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>

Applied both, thanks.

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-22 20:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-22  3:41 [U-Boot] [PATCH 1/2] arm: socfpga: Make /soc available in pre-reloc Marek Vasut
2015-12-22  3:41 ` [U-Boot] [PATCH 2/2] arm: socfpga: Enable simple bus in SPL on all boards Marek Vasut
2015-12-22 20:20   ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.