aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorHao Wu <wuhaotsh@google.com>2025-02-19 10:45:55 -0800
committerPeter Maydell <peter.maydell@linaro.org>2025-02-20 15:22:19 +0000
commit506af2330cd0ef684a48aad12640a7bea8e95247 (patch)
treeae112c9d1abe8a76a7dad78d4ccb91d6bc9e42d3 /hw/misc
parente9be8467b42f7e2af70694422f4b4d8afe82bf4e (diff)
downloadqemu-506af2330cd0ef684a48aad12640a7bea8e95247.zip
qemu-506af2330cd0ef684a48aad12640a7bea8e95247.tar.gz
qemu-506af2330cd0ef684a48aad12640a7bea8e95247.tar.bz2
hw/misc: Rename npcm7xx_gcr to npcm_gcr
NPCM7XX and NPCM8XX have a different set of GCRs and the GCR module needs to fit both. This commit changes the name of the GCR module. Future commits will add the support for NPCM8XX GCRs. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Hao Wu <wuhaotsh@google.com> Message-id: 20250219184609.1839281-5-wuhaotsh@google.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc')
-rw-r--r--hw/misc/meson.build2
-rw-r--r--hw/misc/npcm_gcr.c (renamed from hw/misc/npcm7xx_gcr.c)2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/meson.build b/hw/misc/meson.build
index 55f4935..554eb8d 100644
--- a/hw/misc/meson.build
+++ b/hw/misc/meson.build
@@ -70,7 +70,7 @@ system_ss.add(when: 'CONFIG_IMX', if_true: files(
))
system_ss.add(when: 'CONFIG_NPCM7XX', if_true: files(
'npcm7xx_clk.c',
- 'npcm7xx_gcr.c',
+ 'npcm_gcr.c',
'npcm7xx_mft.c',
'npcm7xx_pwm.c',
'npcm7xx_rng.c',
diff --git a/hw/misc/npcm7xx_gcr.c b/hw/misc/npcm_gcr.c
index 07464a4..826fd41 100644
--- a/hw/misc/npcm7xx_gcr.c
+++ b/hw/misc/npcm_gcr.c
@@ -16,7 +16,7 @@
#include "qemu/osdep.h"
-#include "hw/misc/npcm7xx_gcr.h"
+#include "hw/misc/npcm_gcr.h"
#include "hw/qdev-properties.h"
#include "migration/vmstate.h"
#include "qapi/error.h"