From f5231aafbfcbf4c43c7612785daa8f26e54ab5bb Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 17 May 2012 14:49:20 +0200 Subject: [PATCH] PPC: e500: dt: create /chosen node dynamically Signed-off-by: Alexander Graf --- hw/ppce500_mpc8544ds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c index 28c7c8c93d..a078e24103 100644 --- 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); -- GitLab