]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-am642-*: Mark the memory node with u-boot, dm-spl
authorGeorgi Vlaev <g-vlaev@ti.com>
Fri, 20 May 2022 12:30:26 +0000 (15:30 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 26 May 2022 14:32:26 +0000 (10:32 -0400)
Since commit dffdb1f8eb ("board: ti: am64x: Use fdt functions
for ram and bank init") ddr_init() and dram_bank_init() have
switched to fdtdec for getting the memory configuration from
the am64xx dts files instead of using hardcoded values. This
requires an accessible memory node in SPL as we already have
in k3-am642-r5-evm.dts.

Make the memory node accessible in A53 SPL for both am642-sk
and am642-evm and in am642-sk R5 SPL.

Signed-off-by: Georgi Vlaev <g-vlaev@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/dts/k3-am642-evm-u-boot.dtsi
arch/arm/dts/k3-am642-r5-sk.dts
arch/arm/dts/k3-am642-sk-u-boot.dtsi

index 0c2d97340913d57398235dd20a99c33c167036d9..055215cff8dce0cf302baa8d1e70e9a6c58e1776 100644 (file)
@@ -8,6 +8,10 @@
                stdout-path = "serial2:115200n8";
                tick-timer = &timer1;
        };
+
+       memory@80000000 {
+               u-boot,dm-spl;
+       };
 };
 
 &cbass_main{
index 1f96e3fcacf2704e990ef996af6470b144cf8665..cf3ba0e209cb6401ff5d8389bfbcd8405cd436fe 100644 (file)
@@ -27,7 +27,7 @@
                device_type = "memory";
                /* 2G RAM */
                reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
-
+               u-boot,dm-spl;
        };
 
        a53_0: a53@0 {
index 65042281363922cd25ea63b31cc5d8c60c0e076d..dda2c5d18a71ee4dea82f0a506afebaaba0af3aa 100644 (file)
        aliases {
                mmc1 = &sdhci1;
        };
+
+       memory@80000000 {
+               u-boot,dm-spl;
+       };
 };
 
 &cbass_main{