summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorXiaojuan Yang <yangxiaojuan@loongson.cn>2022-07-29 15:30:17 +0800
committerRichard Henderson <richard.henderson@linaro.org>2022-07-29 15:07:55 -0700
commit587858ed0dd4833eadb3894d03d687fa461c6915 (patch)
treeddfc2a821d69654b269a52477ee124eae5f2055b /hw
parentfc2cc19ffa02c86ec1471ec8fdbc39d33fcec626 (diff)
hw/loongarch: Rename file 'loongson3.XXX' to 'virt.XXX'
1. Rename 'loongson3.c' to 'virt.c' and change the meson.build file. 2. Rename 'loongson3.rst' to 'virt.rst'. Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Message-Id: <20220729073018.27037-2-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/loongarch/meson.build2
-rw-r--r--hw/loongarch/virt.c (renamed from hw/loongarch/loongson3.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/hw/loongarch/meson.build b/hw/loongarch/meson.build
index 6a2a1b18e5..c0421502ab 100644
--- a/hw/loongarch/meson.build
+++ b/hw/loongarch/meson.build
@@ -2,7 +2,7 @@ loongarch_ss = ss.source_set()
loongarch_ss.add(files(
'fw_cfg.c',
))
-loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: [files('loongson3.c'), fdt])
+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}
diff --git a/hw/loongarch/loongson3.c b/hw/loongarch/virt.c
index a08dc9d299..a08dc9d299 100644
--- a/hw/loongarch/loongson3.c
+++ b/hw/loongarch/virt.c