]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/loongarch/virt: Add separate file for fdt building
authorBibo Mao <maobibo@loongson.cn>
Sat, 8 Feb 2025 07:06:55 +0000 (15:06 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 12 Feb 2025 01:52:26 +0000 (09:52 +0800)
commit3754f985a8816a966b72da0ec8fb9e8a3cf689b9
treedf818cf8651076069fb5df0ed5e8a1ce9ff8aba5
parente733b473b875cb65d7f4544e34fc19491249ae25
hw/loongarch/virt: Add separate file for fdt building

Similiar with virt-acpi-build.c, file virt-fdt-build.c is added here.
And move functions relative with fdt table building to the file.

It is only code movement and there is no function change.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/loongarch/meson.build
hw/loongarch/virt-fdt-build.c [new file with mode: 0644]
hw/loongarch/virt.c
include/hw/loongarch/virt.h