[PATCH v1 17/20] ARM: dts: i.MX: delete now renamed memory nodes as well.

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Feb 17 09:30:54 PST 2023


Upstream DTs that list memory size would probably use the new style of
having unit addresses behind the memory bank. Thus remove that as well,
if specified.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/arm/dts/imx7d-ddrc.dtsi  | 6 ++++--
 arch/arm/dts/vf610-ddrmc.dtsi | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/imx7d-ddrc.dtsi b/arch/arm/dts/imx7d-ddrc.dtsi
index b4cd597be900..875fff690b4d 100644
--- a/arch/arm/dts/imx7d-ddrc.dtsi
+++ b/arch/arm/dts/imx7d-ddrc.dtsi
@@ -1,10 +1,12 @@
 /*
  * Include file to switch board DTS form using hardcoded memory node
- * to dynamic memory size detection based on DDR controller settings
+ * (if specified) to dynamic memory size detection based on DDR
+ * controller settings
  */
 
 / {
 	/delete-node/ memory;
+	/delete-node/ memory at 80000000;
 };
 
 &aips2 {
@@ -12,4 +14,4 @@
 		compatible = "fsl,imx7d-ddrc";
 		reg = <0x307a0000 0x10000>;
 	};
-};
\ No newline at end of file
+};
diff --git a/arch/arm/dts/vf610-ddrmc.dtsi b/arch/arm/dts/vf610-ddrmc.dtsi
index 772131ec28a1..44d933b3e97e 100644
--- a/arch/arm/dts/vf610-ddrmc.dtsi
+++ b/arch/arm/dts/vf610-ddrmc.dtsi
@@ -1,10 +1,12 @@
 /*
  * Include file to switch board DTS form using hardcoded memory node
- * to dynamic memory size detection based on DDR controller settings
+ * (if specified) to dynamic memory size detection based on DDR
+ * controller settings
  */
 
 / {
 	/delete-node/ memory;
+	/delete-node/ memory at 80000000;
 };
 
 &aips1 {
-- 
2.30.2




More information about the barebox mailing list