projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b4484
)
Fix watchdog POST for lwmon5
author
Sascha Laue
<Sascha.Laue@gmx.biz>
Tue, 1 Apr 2008 13:13:03 +0000
(15:13 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 14 Apr 2008 06:22:34 +0000
(23:22 -0700)
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>
post/board/lwmon5/watchdog.c
patch
|
blob
|
history
diff --git
a/post/board/lwmon5/watchdog.c
b/post/board/lwmon5/watchdog.c
index 48ff68746074d002628badc16b7dff1106d92269..899fbfbbd7191c797ecc1608241c88808f456f61 100644
(file)
--- a/
post/board/lwmon5/watchdog.c
+++ b/
post/board/lwmon5/watchdog.c
@@
-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.