hw/misc: Add nr_regs and cold_reset_values to NPCM GCR
authorHao Wu <wuhaotsh@google.com>
Wed, 19 Feb 2025 18:45:57 +0000 (10:45 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2025 15:22:21 +0000 (15:22 +0000)
commit8ca2021b9d3aa3e9ef276bdbf04f89677341955c
treebcbb29fc5913904ea4ad78e4b7309ddf1e670acf
parentc99064e63748f993457f1fe658d05c662c0134f1
hw/misc: Add nr_regs and cold_reset_values to NPCM GCR

These 2 values are different between NPCM7XX and NPCM8XX
GCRs. So we add them to the class and assign different values
to them.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Hao Wu <wuhaotsh@google.com>
Message-id: 20250219184609.1839281-7-wuhaotsh@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/npcm_gcr.c
include/hw/misc/npcm_gcr.h