diff options
author | Peter Crosthwaite | 2013-11-11 09:14:41 +0100 |
---|---|---|
committer | Alexander Graf | 2013-12-20 01:58:11 +0100 |
commit | 5a4348d1114b7f3dccc578e39e33ef07a1cfabc7 (patch) | |
tree | 527d130f3a6e64acccbdc1820cb360bbcbd084bd /hw/microblaze | |
parent | PPC: Add VSX to hflags (diff) | |
download | qemu-5a4348d1114b7f3dccc578e39e33ef07a1cfabc7.tar.gz qemu-5a4348d1114b7f3dccc578e39e33ef07a1cfabc7.tar.xz qemu-5a4348d1114b7f3dccc578e39e33ef07a1cfabc7.zip |
device_tree: s/qemu_devtree/qemu_fdt globally
The qemu_devtree API is a wrapper around the fdt_ set of APIs.
Rename accordingly.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[agraf: also convert hw/arm/virt.c]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/microblaze')
-rw-r--r-- | hw/microblaze/boot.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/microblaze/boot.c b/hw/microblaze/boot.c index 2a7ea5c0f9..48d9e7afa4 100644 --- a/hw/microblaze/boot.c +++ b/hw/microblaze/boot.c @@ -79,19 +79,19 @@ static int microblaze_load_dtb(hwaddr addr, } if (kernel_cmdline) { - r = qemu_devtree_setprop_string(fdt, "/chosen", "bootargs", - kernel_cmdline); + r = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", + kernel_cmdline); if (r < 0) { fprintf(stderr, "couldn't set /chosen/bootargs\n"); } } if (initrd_start) { - qemu_devtree_setprop_cell(fdt, "/chosen", "linux,initrd-start", - initrd_start); + qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", + initrd_start); - qemu_devtree_setprop_cell(fdt, "/chosen", "linux,initrd-end", - initrd_end); + qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", + initrd_end); } cpu_physical_memory_write(addr, fdt, fdt_size); |