[PATCH 2/2] fixup! ARM: at91: sama5d2: read back memory size from DDRAM controller

Ahmad Fatoum ahmad at a3f.at
Sat Jul 11 05:02:03 EDT 2020


The SiP node has a memory node embedded that has a bigger size than some
of the smaller variants. We now delete the node and have the size read
back from the memory controller. This means we no longer need sizes for
sama5d2 boards in the device tree (and must not have any, because
referencing non-existent &{/memory} is a compile error.

Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
 arch/arm/dts/at91-sama5d27_giantboard.dts | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/dts/at91-sama5d27_giantboard.dts b/arch/arm/dts/at91-sama5d27_giantboard.dts
index 961474d23b44..2ba3ff217101 100644
--- a/arch/arm/dts/at91-sama5d27_giantboard.dts
+++ b/arch/arm/dts/at91-sama5d27_giantboard.dts
@@ -46,10 +46,6 @@
 	};
 };
 
-&{/memory} {
-	reg = <0x20000000 0x8000000>;
-};
-
 &slow_xtal {
 	clock-frequency = <32768>;
 };
-- 
2.27.0




More information about the barebox mailing list