From: jason@lakedaemon.net (Jason Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM: mvebu: the Armada XP Matrix board has 4 GB
Date: Tue, 4 Mar 2014 13:55:12 -0500 [thread overview]
Message-ID: <20140304185512.GQ1872@titan.lakedaemon.net> (raw)
In-Reply-To: <1393951022-18114-5-git-send-email-thomas.petazzoni@free-electrons.com>
On Tue, Mar 04, 2014 at 05:37:02PM +0100, Thomas Petazzoni wrote:
> Since the Armada XP Matrix board has 4 GB of RAM and not 2 GB, we
> update the Device Tree to take into account the correct amount of
> memory. As noted in the new comment, the last 256 MB of RAM are in
> fact not usable, due to the overlap with the MBus Window address
> range.
usually the bootloader (DT) or atags_to_fdt overwrites this. Is there a
scenario when that doesn't happen?
thx,
Jason.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> arch/arm/boot/dts/armada-xp-matrix.dts | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/armada-xp-matrix.dts b/arch/arm/boot/dts/armada-xp-matrix.dts
> index e47c49e..c224274 100644
> --- a/arch/arm/boot/dts/armada-xp-matrix.dts
> +++ b/arch/arm/boot/dts/armada-xp-matrix.dts
> @@ -23,7 +23,12 @@
>
> memory {
> device_type = "memory";
> - reg = <0 0x00000000 0 0x80000000>; /* 2 GB */
> + /*
> + * This board has 4 GB of RAM, but the last 256 MB of
> + * RAM are not usable due to the overlap with the MBus
> + * Window address range
> + */
> + reg = <0 0x00000000 0 0xf0000000>;
> };
>
> soc {
> --
> 1.8.3.2
>
next prev parent reply other threads:[~2014-03-04 18:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 16:36 [PATCH 0/4] ARM: mvebu: Device Tree updates for Armada XP boards Thomas Petazzoni
2014-03-04 16:36 ` [PATCH 1/4] ARM: mvebu: change the default PCIe apertures for Armada 370/XP Thomas Petazzoni
2014-03-04 16:37 ` [PATCH 2/4] ARM: mvebu: switch the Armada XP DB to use internal registers at 0xf1000000 Thomas Petazzoni
2014-03-04 16:37 ` [PATCH 3/4] ARM: mvebu: switch the Armada XP GP " Thomas Petazzoni
2014-03-04 16:37 ` [PATCH 4/4] ARM: mvebu: the Armada XP Matrix board has 4 GB Thomas Petazzoni
2014-03-04 18:55 ` Jason Cooper [this message]
2014-03-04 19:02 ` Thomas Petazzoni
2014-03-04 19:05 ` Jason Cooper
2014-03-06 20:05 ` [PATCH 0/4] ARM: mvebu: Device Tree updates for Armada XP boards Jason Cooper
2014-03-06 21:20 ` Thomas Petazzoni
2014-03-07 0:10 ` Ezequiel Garcia
2014-03-07 0:16 ` Jason Cooper
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=20140304185512.GQ1872@titan.lakedaemon.net \
--to=jason@lakedaemon.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).