Add LoongArch32 Kconfig entry and enable the virt machine for LoongArch32. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- hw/loongarch/Kconfig | 2 +- target/loongarch/Kconfig | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig index fe1c6feac13874424c110637067e5add26978833..fae467e3af1b7c7c6637f7ff04314bc09687c5dd 100644 --- a/hw/loongarch/Kconfig +++ b/hw/loongarch/Kconfig @@ -1,7 +1,7 @@ config LOONGARCH_VIRT bool default y - depends on LOONGARCH64 && FDT + depends on (LOONGARCH32 || LOONGARCH64) && FDT select DEVICE_TREE select PCI select PCI_EXPRESS_GENERIC_BRIDGE diff --git a/target/loongarch/Kconfig b/target/loongarch/Kconfig index 46b26b1a85715e779672bea93152a3c62c170fe2..e428b066c6d09048d9a34803982e8f344237055d 100644 --- a/target/loongarch/Kconfig +++ b/target/loongarch/Kconfig @@ -1,2 +1,5 @@ +config LOONGARCH32 + bool + config LOONGARCH64 bool -- 2.43.0