From 760473678d3c20b9e2ed876b8912f5b724e691e4 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 20 Dec 2011 17:09:09 +0100 Subject: [PATCH] Do not override the "model" property of the root node. QEMU already provides a string for the "model" property of the root node. We should not change this to avoid incompatibilities with the kernel. Signed-off-by: Thomas Huth --- board-qemu/slof/tree.fs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/board-qemu/slof/tree.fs b/board-qemu/slof/tree.fs index d064aea..6b7b961 100644 --- a/board-qemu/slof/tree.fs +++ b/board-qemu/slof/tree.fs @@ -18,13 +18,13 @@ \ The root of the device tree and some of its kids. " /" find-device -" QEMU" encode-string s" model" property +\ The following properties have been provided by the FDT from QEMU already, +\ so we do not have to create them on our own: -2 encode-int s" #address-cells" property -2 encode-int s" #size-cells" property - -\ Yaboot is stupid. Without this, it can't/won't find /etc/yaboot.conf. -s" chrp" device-type +\ " QEMU" encode-string s" model" property +\ 2 encode-int s" #address-cells" property +\ 2 encode-int s" #size-cells" property +\ s" chrp" device-type 480 cp