All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: imx6dl-wandboard: Do not hardcode memory size
Date: Tue, 19 May 2015 13:58:56 +0800	[thread overview]
Message-ID: <20150519055856.GQ1071@dragon> (raw)
In-Reply-To: <1431980424-11929-1-git-send-email-festevam@gmail.com>

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

      reply	other threads:[~2015-05-19  5:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150519055856.GQ1071@dragon \
    --to=shawnguo@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.