diff options
author | Milton Miller <miltonm@us.ibm.com> | 2018-03-15 17:02:06 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-03-24 10:19:39 +0100 |
commit | 6ffa3402211acc30e47e691e14d62f3fd065a54e (patch) | |
tree | a77ee4edf9fbdca29e2d0d95e3fb5f90372ede79 /drivers/watchdog/tangox_wdt.c | |
parent | watchdog: Add Nuvoton NPCM watchdog driver (diff) | |
download | linux-6ffa3402211acc30e47e691e14d62f3fd065a54e.tar.xz linux-6ffa3402211acc30e47e691e14d62f3fd065a54e.zip |
watchdog: aspeed: Allow configuring for alternate boot
Allow the device tree to specify a watchdog to fallover to
the alternate boot source.
The aspeeed watchdog can set a latch directing flash chip select 0 to
chip select 1, allowing boot from an alternate media if the watchdog
is not reset in time. On the ast2400 bank 1 also goes to flash bank 1,
while on the ast2500 the chip selects are swapped.
Also clear the secondary boot bit during the machine restart operation.
Otherwise, the system will switch to the alternate boot after every
reboot, which is not desired.
Signed-off-by: Milton Miller <miltonm@us.ibm.com>
Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
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>
Diffstat (limited to 'drivers/watchdog/tangox_wdt.c')
0 files changed, 0 insertions, 0 deletions