mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
Fix watchdog POST for lwmon5
If the hardware watchdog detects a voltage error, the watchdog sets GPIO62 to low. The watchdog POST has to detect this low level. Signed-off-by: Sascha Laue <leglas0@legpc180.leg.liebherr.i>
This commit is contained in:
parent
24b448448a
commit
3dfd4aab92
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ static void watchdog_magic_write(uint value)
|
|||
|
||||
int sysmon1_post_test(int flags)
|
||||
{
|
||||
if (gpio_read_in_bit(CFG_GPIO_SYSMON_STATUS)) {
|
||||
if (gpio_read_in_bit(CFG_GPIO_SYSMON_STATUS) == 0) {
|
||||
/*
|
||||
* 3.1. GPIO62 is low
|
||||
* Assuming system voltage failure.
|
||||
|
|
Loading…
Reference in a new issue