aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorHao Wu <wuhaotsh@google.com>2025-02-19 10:46:01 -0800
committerPeter Maydell <peter.maydell@linaro.org>2025-02-20 15:22:22 +0000
commitc8283b0f4a7e9397da141d70e73e79341c5df2d7 (patch)
tree21f7872a93fb6cf140c9e8284ae47109cf87dbca /hw/misc
parentca2fd966ea90b2ca02a4eff1afc2b89e963680a1 (diff)
downloadqemu-c8283b0f4a7e9397da141d70e73e79341c5df2d7.zip
qemu-c8283b0f4a7e9397da141d70e73e79341c5df2d7.tar.gz
qemu-c8283b0f4a7e9397da141d70e73e79341c5df2d7.tar.bz2
hw/misc: Rename npcm7xx_clk to npcm_clk
NPCM7XX and NPCM8XX have a different set of CLK registers. This commit changes the name of the clk files to be used by both NPCM7XX and NPCM8XX CLK modules. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Hao Wu <wuhaotsh@google.com> Message-id: 20250219184609.1839281-11-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_clk.c (renamed from hw/misc/npcm7xx_clk.c)2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/meson.build b/hw/misc/meson.build
index 554eb8d..edd36a3 100644
--- a/hw/misc/meson.build
+++ b/hw/misc/meson.build
@@ -69,7 +69,7 @@ system_ss.add(when: 'CONFIG_IMX', if_true: files(
'imx_rngc.c',
))
system_ss.add(when: 'CONFIG_NPCM7XX', if_true: files(
- 'npcm7xx_clk.c',
+ 'npcm_clk.c',
'npcm_gcr.c',
'npcm7xx_mft.c',
'npcm7xx_pwm.c',
diff --git a/hw/misc/npcm7xx_clk.c b/hw/misc/npcm_clk.c
index 46f907b..2bcb731 100644
--- a/hw/misc/npcm7xx_clk.c
+++ b/hw/misc/npcm_clk.c
@@ -16,7 +16,7 @@
#include "qemu/osdep.h"
-#include "hw/misc/npcm7xx_clk.h"
+#include "hw/misc/npcm_clk.h"
#include "hw/timer/npcm7xx_timer.h"
#include "hw/qdev-clock.h"
#include "migration/vmstate.h"