mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
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>
This commit is contained in:
parent
e9be8467b4
commit
506af2330c
4 changed files with 6 additions and 6 deletions
|
@ -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',
|
||||
|
|
|
@ -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"
|
|
@ -24,7 +24,7 @@
|
|||
#include "hw/i2c/npcm7xx_smbus.h"
|
||||
#include "hw/mem/npcm7xx_mc.h"
|
||||
#include "hw/misc/npcm7xx_clk.h"
|
||||
#include "hw/misc/npcm7xx_gcr.h"
|
||||
#include "hw/misc/npcm_gcr.h"
|
||||
#include "hw/misc/npcm7xx_mft.h"
|
||||
#include "hw/misc/npcm7xx_pwm.h"
|
||||
#include "hw/misc/npcm7xx_rng.h"
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*/
|
||||
#ifndef NPCM7XX_GCR_H
|
||||
#define NPCM7XX_GCR_H
|
||||
#ifndef NPCM_GCR_H
|
||||
#define NPCM_GCR_H
|
||||
|
||||
#include "exec/memory.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
@ -70,4 +70,4 @@ struct NPCM7xxGCRState {
|
|||
#define TYPE_NPCM7XX_GCR "npcm7xx-gcr"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(NPCM7xxGCRState, NPCM7XX_GCR)
|
||||
|
||||
#endif /* NPCM7XX_GCR_H */
|
||||
#endif /* NPCM_GCR_H */
|
Loading…
Add table
Add a link
Reference in a new issue