linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: ux500: Allocate correct amount of memory for the u8540 in DT
@ 2013-05-31 15:15 Lee Jones
  2013-06-04  9:16 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Jones @ 2013-05-31 15:15 UTC (permalink / raw)
  To: linux-arm-kernel

As it stands, the memory node in the u8540 Device Tree is ignored and
memory is actually stipulated by the bootloader via ATAGS. ARM core
architecture code then extracts the memory ATAG and inserts it into the
Device Tree. In the u8540 the LittleKernel bootloader only stipulates
512MB of memory; however, the u8540 actually has 2GB. We're taking the
responsibility to register the remainder from Device Tree here.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/boot/dts/ccu8540.dts |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/ccu8540.dts b/arch/arm/boot/dts/ccu8540.dts
index 12f0bc2..5603764 100644
--- a/arch/arm/boot/dts/ccu8540.dts
+++ b/arch/arm/boot/dts/ccu8540.dts
@@ -16,8 +16,8 @@
 	model = "ST-Ericsson U8540 platform with Device Tree";
 	compatible = "st-ericsson,ccu8540", "st-ericsson,u8540";
 
-	memory {
-		reg = <0x00000000 0x20000000>;
+	memory at 0 {
+		reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>;
 	};
 
 	soc {
-- 
1.7.10.4

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

* [PATCH v2] ARM: ux500: Allocate correct amount of memory for the u8540 in DT
  2013-05-31 15:15 [PATCH v2] ARM: ux500: Allocate correct amount of memory for the u8540 in DT Lee Jones
@ 2013-06-04  9:16 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2013-06-04  9:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, May 31, 2013 at 5:15 PM, Lee Jones <lee.jones@linaro.org> wrote:

> As it stands, the memory node in the u8540 Device Tree is ignored and
> memory is actually stipulated by the bootloader via ATAGS. ARM core
> architecture code then extracts the memory ATAG and inserts it into the
> Device Tree. In the u8540 the LittleKernel bootloader only stipulates
> 512MB of memory; however, the u8540 actually has 2GB. We're taking the
> responsibility to register the remainder from Device Tree here.
>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>

Patch applied to my ux500-devicetree branch.

Yours,
Linus Walleij

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

end of thread, other threads:[~2013-06-04  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31 15:15 [PATCH v2] ARM: ux500: Allocate correct amount of memory for the u8540 in DT Lee Jones
2013-06-04  9:16 ` Linus Walleij

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).