Re: [Qemu-devel] [PATCH 4/6] Implement device tree support needed for Bamboo emulation

2008-12-11 Thread Anthony Liguori
Hollis Blanchard wrote: diff --git a/device_tree.c b/device_tree.c new file mode 100644 index 000..d7350e3 --- /dev/null +++ b/device_tree.c @@ -0,0 +1,116 @@ +/* + * Functions to help device tree manipulation using libfdt. + * It also provides functions to read entries from device tree proc

[PATCH 4/6] Implement device tree support needed for Bamboo emulation

2008-12-11 Thread Hollis Blanchard
To implement the -kernel, -initrd, and -append options, 4xx board emulation must load the guest kernel as if firmware had loaded it. Where u-boot would be the firmware, we must load the flat device tree into memory and set key fields such as /chosen/bootargs. This patch introduces a dependency on