* [PATCH v2] ARM: shmobile: Lager memory map update
@ 2014-06-06 6:40 Magnus Damm
2014-06-06 8:35 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2014-06-06 6:40 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm+renesas@opensource.se>
Update the Lager DTS to make use of the new unified legacy
memory map where the legacy window on Lager and Koelsch
have the same size.
With this change in place the code gets aligned with the
documentation.
After update the Lager board has the following map:
Bank0: 1GiB RAM (Legacy 32-bit: 0x40000000->0x7fffffff)
Bank1: 3GiB RAM (LPAE area: 0x140000000->0x1ffffffff)
Before the update the old map looked like this:
Bank0: 2GiB RAM (Legacy 32-bit: 0x40000000->0xbfffffff)
Bank1: 2GiB RAM (LPAE area: 0x180000000->0x1ffffffff)
Tested with and without LPAE on r8a7790 Lager.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---
Written against renesas-devel-v3.15-rc8-20140605
Changes since V1:
- Updated commit log to include reason
arch/arm/boot/dts/r8a7790-lager.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- 0001/arch/arm/boot/dts/r8a7790-lager.dts
+++ work/arch/arm/boot/dts/r8a7790-lager.dts 2014-06-05 14:49:42.000000000 +0900
@@ -29,12 +29,12 @@
memory@40000000 {
device_type = "memory";
- reg = <0 0x40000000 0 0x80000000>;
+ reg = <0 0x40000000 0 0x40000000>;
};
memory@180000000 {
device_type = "memory";
- reg = <1 0x80000000 0 0x80000000>;
+ reg = <1 0x40000000 0 0xc0000000>;
};
lbsc {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ARM: shmobile: Lager memory map update
2014-06-06 6:40 [PATCH v2] ARM: shmobile: Lager memory map update Magnus Damm
@ 2014-06-06 8:35 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2014-06-06 8:35 UTC (permalink / raw)
To: linux-sh
On Fri, Jun 06, 2014 at 03:40:26PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm+renesas@opensource.se>
>
> Update the Lager DTS to make use of the new unified legacy
> memory map where the legacy window on Lager and Koelsch
> have the same size.
>
> With this change in place the code gets aligned with the
> documentation.
>
> After update the Lager board has the following map:
> Bank0: 1GiB RAM (Legacy 32-bit: 0x40000000->0x7fffffff)
> Bank1: 3GiB RAM (LPAE area: 0x140000000->0x1ffffffff)
>
> Before the update the old map looked like this:
> Bank0: 2GiB RAM (Legacy 32-bit: 0x40000000->0xbfffffff)
> Bank1: 2GiB RAM (LPAE area: 0x180000000->0x1ffffffff)
>
> Tested with and without LPAE on r8a7790 Lager.
>
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-06 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 6:40 [PATCH v2] ARM: shmobile: Lager memory map update Magnus Damm
2014-06-06 8:35 ` Simon Horman
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).