]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ppc/pegasos2: Change device tree generation
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 23 Oct 2025 00:06:09 +0000 (02:06 +0200)
committerHarsh Prateek Bora <harshpb@linux.ibm.com>
Thu, 23 Oct 2025 12:07:35 +0000 (17:37 +0530)
commit9099b430a46ac8f513ee91bb4076b3f482babee1
tree8fd381ac2e3c104d0ce4d61a958090dfa66b5ffa
parent63a9cc05807cbdbc1dbea736b312d87538c6273c
hw/ppc/pegasos2: Change device tree generation

We generate a flattened device tree programmatically for VOF. Change
this to load the static parts from a device tree blob and only
generate the parts that depend on run time conditions such as CPU
type, memory size and PCI devices. Moving the static parts in a dts
makes the board code simpler and more generic.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/qemu-devel/383891fc2696609b27d2de9773efe1b4f493e333.1761176219.git.balaton@eik.bme.hu
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
hw/ppc/pegasos2.c
pc-bios/dtb/meson.build
pc-bios/dtb/pegasos2.dtb [new file with mode: 0644]
pc-bios/dtb/pegasos2.dts [new file with mode: 0644]