ARM: dts: Rename memory@0 to memory
authorMichal Simek <michal.simek@xilinx.com>
Wed, 12 Aug 2015 09:25:05 +0000 (11:25 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 Aug 2015 09:28:15 +0000 (11:28 +0200)
zynq-7000.dtsi include skeleton.dtsi which contains memory node with
base address and size zero. If you add memory@0 node to the platform DTS
in final DTB there are two memory nodes and U-Boot works with the first
one (with zeros) which end up in failing in dram_init because size is
zero.
Platform memory node should rewrite default memory node setup from
skeleton.dtsi that's why platfroms needs to also use memory as node name
instead of memory@0.

Reported-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-zc770-xm010.dts
arch/arm/dts/zynq-zc770-xm011.dts
arch/arm/dts/zynq-zc770-xm012.dts
arch/arm/dts/zynq-zc770-xm013.dts

index da3a182..680f24c 100644 (file)
@@ -25,7 +25,7 @@
                stdout-path = &uart1;
        };
 
-       memory@0 {
+       memory {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index d38c820..f73c0dd 100644 (file)
@@ -23,7 +23,7 @@
                stdout-path = &uart1;
        };
 
-       memory@0 {
+       memory {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index f8cc503..4289e31 100644 (file)
@@ -25,7 +25,7 @@
                stdout-path = &uart1;
        };
 
-       memory@0 {
+       memory {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index 436a8cd..5124cdc 100644 (file)
@@ -25,7 +25,7 @@
                stdout-path = &uart0;
        };
 
-       memory@0 {
+       memory {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };