]> 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)
commit472e7e4dc55745bbddaf5d1c1582eab545047c31
treeacaa76706e40cef7832e68e1a001a02e42e84b8e
parenta55327515522594f6cdfc4bc3d4d2df2b6ebcba1
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