]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: ux500: Allocate correct amount of memory for the u8540 in DT
authorLee Jones <lee.jones@linaro.org>
Fri, 31 May 2013 15:15:51 +0000 (16:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Jun 2013 09:16:17 +0000 (11:16 +0200)
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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ccu8540.dts

index 17b0fe1dd76465383b607af84b98104cb6bd25b9..48ff03441f5a1dcc9ba292c5d89176087ac2cf6d 100644 (file)
@@ -16,8 +16,8 @@
        model = "ST-Ericsson U8540 platform with Device Tree";
        compatible = "st-ericsson,ccu8540", "st-ericsson,u8540";
 
-       memory {
-               reg = <0x00000000 0x20000000>;
+       memory@0 {
+               reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>;
        };
 
        soc {