History | View | Annotate | Download (2.1 kB)
dt: add helpers for multi-cell adds
We have device tree helpers that allow us to create single cell (u32)wide properties. However, when creating properties that contain an array ofcells, we need to jump through hoops, manually passing in an array withconverted endianness....
dt: add helper for phandle references
Phandles are the fancy device tree name for "pointer to another node".To create a phandle property, we most likely want to reference to thenode we're pointing to by its path. So create a helper that allowsus to do so....
dt: add helper for phandle enumeration
This patch adds a helper to search for a node's phandle by its path. Thisis especially useful when the phandle is part of an array, not just a singlecell in which case qemu_devtree_setprop_phandle would be the easy choice....
device tree: add add_subnode command
We want to be able to create subnodes in our device tree, so export it throughthe qemu device tree abstraction framework.
Signed-off-by: Alexander Graf <agraf@suse.de>
device tree: add nop_node
We have a qemu internal abstraction layer on FDT. While I'm not fully convincedwe need it at all, it's missing the nop_node functionality that we now needon e500. So let's add it and think about the general future of that API later....
Allow qemu_devtree_setprop() to take arbitrary values
Currently qemu_devtree_setprop() expects the new property value to begiven as a uint32_t *. While property values consisting of u32s arecommon, in general they can have any bytestring value.
Therefore, this patch alters the function to take a void * instead,...
Wean device tree code off phys_ram_base.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7068 c046a42c-6fe2-441c-8c8c-71466251a162
Implement device tree support needed for Bamboo emulation
To implement the -kernel, -initrd, and -append options, 4xx board emulationmust load the guest kernel as if firmware had loaded it. Where u-boot would bethe firmware, we must load the flat device tree into memory and set key fields...