summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-03-22 23:27:43 +0100
committerWolfgang Denk <wd@denx.de>2008-03-22 23:27:43 +0100
commit6887cb6817dac9c6e8fb43b560c58b6a37926529 (patch)
tree3655325978503c8404d54ebdd3567289475ed400
parent81a0ac62ea29f8252d0a714709d0ecfdbba2a15e (diff)
parent86aea3eaefa248ffb9328e2b50c64720489cdbeb (diff)
Merge branch 'master' of /home/wd/git/u-boot/work
-rw-r--r--post/board/lwmon5/dspic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/post/board/lwmon5/dspic.c b/post/board/lwmon5/dspic.c
index 65b96bcc241..dbaa0746e6c 100644
--- 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;