hw/watchdog/wdt_aspeed: Rename MMIO region size as 'iosize'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Feb 2023 08:02:05 +0000 (09:02 +0100)
committerCédric Le Goater <clg@kaod.org>
Tue, 7 Feb 2023 08:02:05 +0000 (09:02 +0100)
commit6fdb43818712e52891f790984d4e8a4bf8a166ce
tree704fe44584493d212badb68dde557d4c204892c9
parent4f2c6448c3b074ca45c0743b1e98df3a2c6e0fe2
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>
hw/arm/aspeed_ast10x0.c
hw/arm/aspeed_ast2600.c
hw/arm/aspeed_soc.c
hw/watchdog/wdt_aspeed.c
include/hw/watchdog/wdt_aspeed.h