Skip to contentSkip to conversation

ARM: dts: imx6dl-wandboard: Do not hardcode memory size

PATCH New Fabio Estevam 2 participants 2 messages May 18, 2015 – May 19, 2015

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx6dl-wandboard: Do not hardcode memory size

From: Fabio Estevam <[email protected]>

imx6dl-wandboard.dtb works for wandboard dual-lite and solo boards.

Wandboard dual-lite has 1 GB of RAM and wandboard solo has 512 MB, so do not hardcode the memory size in the dts file and let the bootloader pass the correct memory size instead.

---
 arch/arm/boot/dts/imx6dl-wandboard.dts | 4 ----
 1 file changed, 4 deletions(-)
arch/arm/boot/dts/imx6dl-wandboard.dts +0 -4
index bbb6167..dcde3f6 100644
@@ -15,8 +15,4 @@
 / {
 	model = "Wandboard i.MX6 Dual Lite Board";
 	compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
-
-	memory {
-		reg = <0x10000000 0x40000000>;
-	};
 };
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: dts: imx6dl-wandboard: Do not hardcode memory size

Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

imx6dl-wandboard.dtb works for wandboard dual-lite and solo boards.

Wandboard dual-lite has 1 GB of RAM and wandboard solo has 512 MB, so do not hardcode the memory size in the dts file and let the bootloader pass the correct memory size instead.

This is a configuration for dual-lite board. If solo board wants to reuse it, the bootloader should just fix up things for solo board.

Shawn

Quoted 27 lines
---
 arch/arm/boot/dts/imx6dl-wandboard.dts | 4 ----
 1 file changed, 4 deletions(-)
arch/arm/boot/dts/imx6dl-wandboard.dts +0 -4
index bbb6167..dcde3f6 100644
@@ -15,8 +15,4 @@
 / {
 	model = "Wandboard i.MX6 Dual Lite Board";
 	compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
-
-	memory {
-		reg = <0x10000000 0x40000000>;
-	};
 };
Signature · 7 lines
1.9.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel