summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorXiaojuan Yang2022-07-12 10:32:06 +0200
committerRichard Henderson2022-07-19 19:25:10 +0200
commitfda3f15b0079d4bba76791502a7e00b8b747f509 (patch)
tree01e4d9a080267fb0a8a8766e421a8e767e5fc9c8 /configs
parenthw/loongarch: Add acpi ged support (diff)
downloadqemu-fda3f15b0079d4bba76791502a7e00b8b747f509.tar.gz
qemu-fda3f15b0079d4bba76791502a7e00b8b747f509.tar.xz
qemu-fda3f15b0079d4bba76791502a7e00b8b747f509.zip
hw/loongarch: Add fdt support
Add LoongArch flatted device tree, adding cpu device node, firmware cfg node, pcie node into it, and create fdt rom memory region. Now fdt info is not full since only uefi bios uses fdt, linux kernel does not use fdt. Loongarch Linux kernel uses acpi table which is full in qemu virt machine. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Message-Id: <20220712083206.4187715-7-yangxiaojuan@loongson.cn> [rth: Set TARGET_NEED_FDT, add fdt to meson.build] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'configs')
-rw-r--r--configs/targets/loongarch64-softmmu.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/targets/loongarch64-softmmu.mak b/configs/targets/loongarch64-softmmu.mak
index 7bc06c850c..483474ba93 100644
--- a/configs/targets/loongarch64-softmmu.mak
+++ b/configs/targets/loongarch64-softmmu.mak
@@ -2,3 +2,4 @@ TARGET_ARCH=loongarch64
TARGET_BASE_ARCH=loongarch
TARGET_SUPPORTS_MTTCG=y
TARGET_XML_FILES= gdb-xml/loongarch-base64.xml gdb-xml/loongarch-fpu64.xml
+TARGET_NEED_FDT=y