Thread (1 message) 1 message, 1 author, 2011-05-05

Re: [PATCH] arm/dt: Fix babbage.dts memory node

From: Shawn Guo <hidden>
Date: 2011-05-05 15:23:56

On Fri, Apr 22, 2011 at 02:25:26PM +0800, Shawn Guo wrote:
quoted hunk
Without device_type property set as memory for the node, the generated
dtb can still work when it gets passed to kernel by u-boot, since
u-boot will fix it up.  But kernel will not boot due to that it fails
to parse the memory node, when the dtb is appended to kernel image as
it is.

The patch adds a property device_type="memory" for memory node to fix
the problem.

Signed-off-by: Shawn Guo <redacted>
---
It applies on branch devicetree/test.

 arch/arm/boot/dts/babbage.dts |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts
index 8f9b47c..4805168 100644
--- a/arch/arm/boot/dts/babbage.dts
+++ b/arch/arm/boot/dts/babbage.dts
@@ -21,6 +21,7 @@
 	interrupt-parent = <&tzic>;
 
 	memory {
+		device_type = "memory";
 		reg = <0x90000000 0x20000000>;
 	};
 
-- 
Hi Grant, comments?

-- 
Regards,
Shawn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help