summaryrefslogtreecommitdiff
path: root/post/board/lwmon5/dspic.c
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 /post/board/lwmon5/dspic.c
parent81a0ac62ea29f8252d0a714709d0ecfdbba2a15e (diff)
parent86aea3eaefa248ffb9328e2b50c64720489cdbeb (diff)
downloadu-boot-imx-6887cb6817dac9c6e8fb43b560c58b6a37926529.zip
u-boot-imx-6887cb6817dac9c6e8fb43b560c58b6a37926529.tar.gz
u-boot-imx-6887cb6817dac9c6e8fb43b560c58b6a37926529.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/work
Diffstat (limited to 'post/board/lwmon5/dspic.c')
-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 65b96bc..dbaa074 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;