diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2025-02-08 15:06:55 +0800 |
|---|---|---|
| committer | Bibo Mao <maobibo@loongson.cn> | 2025-02-12 09:52:26 +0800 |
| commit | 3754f985a8816a966b72da0ec8fb9e8a3cf689b9 (patch) | |
| tree | df818cf8651076069fb5df0ed5e8a1ce9ff8aba5 /include/hw/loongarch/virt.h | |
| parent | e733b473b875cb65d7f4544e34fc19491249ae25 (diff) | |
| download | focaccia-qemu-3754f985a8816a966b72da0ec8fb9e8a3cf689b9.tar.gz focaccia-qemu-3754f985a8816a966b72da0ec8fb9e8a3cf689b9.zip | |
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>
Diffstat (limited to 'include/hw/loongarch/virt.h')
| -rw-r--r-- | include/hw/loongarch/virt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h index 062f63d874..f01350017b 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -65,4 +65,5 @@ struct LoongArchVirtMachineState { #define TYPE_LOONGARCH_VIRT_MACHINE MACHINE_TYPE_NAME("virt") OBJECT_DECLARE_SIMPLE_TYPE(LoongArchVirtMachineState, LOONGARCH_VIRT_MACHINE) void virt_acpi_setup(LoongArchVirtMachineState *lvms); +void virt_fdt_setup(LoongArchVirtMachineState *lvms); #endif |