]> git.baikalelectronics.ru Git - kernel.git/commit
aspeed: watchdog: Set bootstatus during probe
authorEddie James <eajames@linux.vnet.ibm.com>
Tue, 27 Mar 2018 20:09:27 +0000 (15:09 -0500)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 16 Apr 2018 08:22:40 +0000 (10:22 +0200)
commit4ec0c807b47f0c91428f2411f6998f722a723037
treeacaa76706e40cef7832e68e1a001a02e42e84b8e
parent836dd0034600e7c5f06d53ea68c565fb22f4fa95
aspeed: watchdog: Set bootstatus during probe

Check the aspeed timeout status register to see if the system has booted
from the secondary boot source. If so, set the watchdog device
bootstatus flag for "Card previously reset the CPU."

Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/aspeed_wdt.c