aspeed: Register all watchdogs
commitf986ee1d43004a336197ee012e901f44bba04785
authorJoel Stanley <joel@jms.id.au>
Tue, 11 Jul 2017 10:21:26 +0000 (11 11:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Jul 2017 10:21:26 +0000 (11 11:21 +0100)
tree028430c7f9d8e38fd02d492f3ff4115f5223fbfc
parent499ca137929418bcc42ce83e2ae06be8242b9cb9
aspeed: Register all watchdogs

The ast2400 contains two and the ast2500 contains three watchdogs.
Add this information to the AspeedSoCInfo and realise the correct number
of watchdogs for that each SoC type.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed_soc.c
include/hw/arm/aspeed_soc.h