[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 14/25] PPC: e500: dt: create /chosen node dynamically
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 14/25] PPC: e500: dt: create /chosen node dynamically |
Date: |
Wed, 30 May 2012 13:00:35 +0200 |
Signed-off-by: Alexander Graf <address@hidden>
---
hw/ppce500_mpc8544ds.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index 39b221d..63515bb 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);
--
1.6.0.2
- [Qemu-ppc] [PATCH 09/25] PPC: e500: require libfdt, (continued)
- [Qemu-ppc] [PATCH 09/25] PPC: e500: require libfdt, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 03/25] dt: add helper for phandle references, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 05/25] dt: add helper for phandle enumeration, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 08/25] dt: add helper for 64bit cell adds, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 10/25] PPC: e500: dt: create memory node dynamically, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 13/25] PPC: e500: dt: create / node dynamically, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 02/25] dt: add helpers for 2, 3 and 4 cell adds, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 12/25] PPC: e500: dt: create /hypervisor node dynamically, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 24/25] PPC: e500: enable manual loading of dtb blob, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 14/25] PPC: e500: dt: create /chosen node dynamically,
Alexander Graf <=
- [Qemu-ppc] [PATCH 22/25] PPC: e500: dt: use 64bit cell helper, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 15/25] PPC: e500: dt: create /soc8544 node dynamically, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 20/25] PPC: e500: dt: start with empty device tree, Alexander Graf, 2012/05/30
- [Qemu-ppc] [PATCH 07/25] dt: add helper for phandle allocation, Alexander Graf, 2012/05/30