projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b852b
)
PPC: e500: dt: create /chosen node dynamically
author
Alexander Graf
<agraf@suse.de>
Thu, 17 May 2012 12:49:20 +0000
(14:49 +0200)
committer
Alexander Graf
<agraf@suse.de>
Sat, 23 Jun 2012 23:04:47 +0000
(
01:04
+0200)
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppce500_mpc8544ds.c
patch
|
blob
|
history
diff --git
a/hw/ppce500_mpc8544ds.c
b/hw/ppce500_mpc8544ds.c
index
28c7c8c
..
a078e24
100644
(file)
--- a/
hw/ppce500_mpc8544ds.c
+++ b/
hw/ppce500_mpc8544ds.c
@@
-101,6
+101,7
@@
static int mpc8544_load_device_tree(CPUPPCState *env,
qemu_devtree_setprop(fdt, "/memory", "reg", mem_reg_property,
sizeof(mem_reg_property));
+ qemu_devtree_add_subnode(fdt, "/chosen");
if (initrd_size) {
ret = qemu_devtree_setprop_cell(fdt, "/chosen", "linux,initrd-start",
initrd_base);