ARM: dts: imx6dl-wandboard: Do not hardcode memory size
Subsystems (2)
Fabio Estevam
reviewerPATCH 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
@@ -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
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
Signed-off-by Fabio Estevam <[email protected]>--- arch/arm/boot/dts/imx6dl-wandboard.dts | 4 ---- 1 file changed, 4 deletions(-)arch/arm/boot/dts/imx6dl-wandboard.dts +0
-4@@ -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