projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73a19e
)
LWMON5: fix dsPIC POST
author
Yuri Tikhonov
<yur@emcraft.com>
Fri, 21 Mar 2008 08:18:40 +0000
(09:18 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Sat, 22 Mar 2008 22:26:08 +0000
(23:26 +0100)
Add test for DPIC_SYS_ERROR_REG to be zero in the LWMON5 dsPIC POST.
Signed-off-by: Yuri Tikhonov <yur@emcraft.com> ---
post/board/lwmon5/dspic.c
patch
|
blob
|
history
diff --git
a/post/board/lwmon5/dspic.c
b/post/board/lwmon5/dspic.c
index 65b96bcc241e13ba688fb68bae5ec64c61c60d1c..dbaa0746e6c513d09af6b6b4811b58c61b3f6327 100644
(file)
--- a/
post/board/lwmon5/dspic.c
+++ b/
post/board/lwmon5/dspic.c
@@
-97,8
+97,9
@@
int dspic_post_test(int flags)
if (data == -1) {
post_log("dsPIC : failed read system error\n");
ret = 1;
- } else {
+ } else
if (data != 0)
{
post_log("dsPIC SYS-ERROR code: 0x%04X\n", data);
+ ret = 1;
}
return ret;