All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6dl-wandboard: Do not hardcode memory size
@ 2015-05-18 20:20 Fabio Estevam
  2015-05-19  5:58 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2015-05-18 20:20 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

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.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6dl-wandboard.dts | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-wandboard.dts b/arch/arm/boot/dts/imx6dl-wandboard.dts
index bbb6167..dcde3f6 100644
--- a/arch/arm/boot/dts/imx6dl-wandboard.dts
+++ b/arch/arm/boot/dts/imx6dl-wandboard.dts
@@ -15,8 +15,4 @@
 / {
 	model = "Wandboard i.MX6 Dual Lite Board";
 	compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
-
-	memory {
-		reg = <0x10000000 0x40000000>;
-	};
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dts: imx6dl-wandboard: Do not hardcode memory size
  2015-05-18 20:20 [PATCH] ARM: dts: imx6dl-wandboard: Do not hardcode memory size Fabio Estevam
@ 2015-05-19  5:58 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2015-05-19  5:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, May 18, 2015 at 05:20:24PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> 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

> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/boot/dts/imx6dl-wandboard.dts | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6dl-wandboard.dts b/arch/arm/boot/dts/imx6dl-wandboard.dts
> index bbb6167..dcde3f6 100644
> --- a/arch/arm/boot/dts/imx6dl-wandboard.dts
> +++ b/arch/arm/boot/dts/imx6dl-wandboard.dts
> @@ -15,8 +15,4 @@
>  / {
>  	model = "Wandboard i.MX6 Dual Lite Board";
>  	compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
> -
> -	memory {
> -		reg = <0x10000000 0x40000000>;
> -	};
>  };
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-19  5:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 20:20 [PATCH] ARM: dts: imx6dl-wandboard: Do not hardcode memory size Fabio Estevam
2015-05-19  5:58 ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.