aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAmithash Prasad <amithash@fb.com>2019-09-25 16:32:26 +0200
committerPeter Maydell <peter.maydell@linaro.org>2019-10-15 18:09:04 +0100
commit1ff68783f6e94b3c1ab909f92911a04d7183241c (patch)
treec3ee5e56804adc88a16c8416d3311f7968a6ce17 /net
parent6ee18643770b360da0c8ee44aa07708caa516fa9 (diff)
downloadqemu-1ff68783f6e94b3c1ab909f92911a04d7183241c.zip
qemu-1ff68783f6e94b3c1ab909f92911a04d7183241c.tar.gz
qemu-1ff68783f6e94b3c1ab909f92911a04d7183241c.tar.bz2
aspeed/wdt: Check correct register for clock source
When WDT_RESTART is written, the data is not the contents of the WDT_CTRL register. Hence ensure we are looking at WDT_CTRL to check if bit WDT_CTRL_1MHZ_CLK is set or not. Signed-off-by: Amithash Prasad <amithash@fb.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-id: 20190925143248.10000-2-clg@kaod.org [clg: improved Suject prefix ] Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions