mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-25 17:08:36 -07:00
hw/watchdog/wdt_aspeed: Rename MMIO region size as 'iosize'
Avoid confusing two different things:
- the WDT I/O region size ('iosize')
- at which offset the SoC map the WDT ('offset')
While it is often the same, we can map smaller region sizes
at larger offsets.
Here we are interested in the I/O region size, so rename as
'iosize'.
Reviewed-by: Peter Delevoryas <peter@pjd.dev>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[ clg: Introduced temporary wdt_offset variable ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
4f2c6448c3
commit
6fdb438187
5 changed files with 11 additions and 11 deletions
|
|
@ -40,7 +40,7 @@ struct AspeedWDTState {
|
|||
struct AspeedWDTClass {
|
||||
SysBusDeviceClass parent_class;
|
||||
|
||||
uint32_t offset;
|
||||
uint32_t iosize;
|
||||
uint32_t ext_pulse_width_mask;
|
||||
uint32_t reset_ctrl_reg;
|
||||
void (*reset_pulse)(AspeedWDTState *s, uint32_t property);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue