Commit afc63fb067 for qemu.org
commit afc63fb06794cc2b5409e0f98030796497311876
Author: Richard Henderson <richard.henderson@linaro.org>
Date: Thu Feb 5 13:02:44 2026 +1000
hw/or1k: Rename or1k-sim.c from openrisc_sim.c
Match the filename to the machine type: or1k-sim.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Stafford Horne <shorne@gmail.com>
Message-ID: <20260205030244.266447-7-richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
diff --git a/MAINTAINERS b/MAINTAINERS
index e973e21709..29f88d48f3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1495,7 +1495,7 @@ M: Jia Liu <proljc@gmail.com>
S: Maintained
F: docs/system/or1k/or1k-sim.rst
F: hw/intc/ompic.c
-F: hw/or1k/openrisc_sim.c
+F: hw/or1k/or1k-sim.c
F: tests/functional/or1k/test_sim.py
PowerPC Machines
diff --git a/hw/or1k/meson.build b/hw/or1k/meson.build
index 49c274b848..a5c23f4f5a 100644
--- a/hw/or1k/meson.build
+++ b/hw/or1k/meson.build
@@ -1,7 +1,7 @@
openrisc_ss = ss.source_set()
openrisc_ss.add(files('cputimer.c'))
openrisc_ss.add(files('boot.c'))
-openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: files('openrisc_sim.c'))
+openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: files('or1k-sim.c'))
openrisc_ss.add(when: 'CONFIG_OR1K_VIRT', if_true: files('virt.c'))
hw_arch += {'or1k': openrisc_ss}
diff --git a/hw/or1k/openrisc_sim.c b/hw/or1k/or1k-sim.c
similarity index 100%
rename from hw/or1k/openrisc_sim.c
rename to hw/or1k/or1k-sim.c