d771ca1c10
Move some boot functions to boot.c and struct loongarch_boot_info into struct LoongArchMachineState. Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20240426091551.2397867-2-gaosong@loongson.cn>
10 lines
279 B
Meson
10 lines
279 B
Meson
loongarch_ss = ss.source_set()
|
|
loongarch_ss.add(files(
|
|
'fw_cfg.c',
|
|
'boot.c',
|
|
))
|
|
loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: [files('virt.c'), fdt])
|
|
loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-build.c'))
|
|
|
|
hw_arch += {'loongarch': loongarch_ss}
|