Skip to contentSkip to conversation

ARM: dts: imx6ul-pico-hobbit: Do not hardcode the memory size

PATCH New Fabio Estevam 2 participants 2 messages Jul 17, 2018

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx6ul-pico-hobbit: Do not hardcode the memory size

From: Fabio Estevam <[email protected]>

There are two variants of imx6ul-pico boards: one with 256MB and another one with 512MB of RAM.

Do not hardcode the memory size in the device tree and let the bootloader fill the correct value instead.

---
 arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6ul-pico-hobbit.dts +2 -1
index 47682b8..0c09420f 100644
@@ -51,8 +51,9 @@
 	model = "Technexion Pico i.MX6UL Board";
 	compatible = "technexion,imx6ul-pico-hobbit", "fsl,imx6ul";
 
+	/* Will be filled by the bootloader */
 	memory at 80000000 {
-		reg = <0x80000000 0x10000000>;
+		reg = <0x80000000 0>;
 	};
 
 	chosen {
Signature · 1 line
2.7.4
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx6ul-pico-hobbit: Do not hardcode the memory size

Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

There are two variants of imx6ul-pico boards: one with 256MB and another one with 512MB of RAM.

Do not hardcode the memory size in the device tree and let the bootloader fill the correct value instead.

Applied, thanks.