[PATCH v2 1/2] riscv: dts: hifive-unleashed-a00: Make memory node available to SPL

Bin Meng bmeng.cn at gmail.com
Mon Jul 20 08:06:34 CEST 2020


From: Bin Meng <bin.meng at windriver.com>

Make memory node available to SPL in prepration to updates to SiFive
DDR RAM driver to read memory information from DT.

Signed-off-by: Bin Meng <bin.meng at windriver.com>
---

Changes in v2:
- rebase on top of u-boot-riscv/master

 arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
index 7d838bf..5d0c928 100644
--- a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
+++ b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
@@ -20,6 +20,10 @@
 		u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */
 	};
 
+	memory at 80000000 {
+		u-boot,dm-spl;
+	};
+
 	hfclk {
 		u-boot,dm-spl;
 	};
-- 
2.7.4



More information about the U-Boot mailing list