
From: Bin Meng bin.meng@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@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@80000000 { + u-boot,dm-spl; + }; + hfclk { u-boot,dm-spl; };