diff options
author | Wolfgang Denk <wd@denx.de> | 2008-03-22 23:27:43 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-22 23:27:43 +0100 |
commit | 6887cb6817dac9c6e8fb43b560c58b6a37926529 (patch) | |
tree | 3655325978503c8404d54ebdd3567289475ed400 /post/board/lwmon5/dspic.c | |
parent | 81a0ac62ea29f8252d0a714709d0ecfdbba2a15e (diff) | |
parent | 86aea3eaefa248ffb9328e2b50c64720489cdbeb (diff) | |
download | u-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.c | 3 |
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; |