diff options
author | Yuri Tikhonov <yur@pollux.denx.de> | 2008-02-04 17:09:55 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-18 21:59:23 +0100 |
commit | 603f194e5ad81bb2ef42d6d8aaa74de175bcb411 (patch) | |
tree | e524111c49eddbab623c0fbe02a2b709ac99c8a0 /post/board/lwmon5/dspic.c | |
parent | e262efe35742c1ad4b0966ff501efc26f34a0aec (diff) | |
download | u-boot-imx-603f194e5ad81bb2ef42d6d8aaa74de175bcb411.zip u-boot-imx-603f194e5ad81bb2ef42d6d8aaa74de175bcb411.tar.gz u-boot-imx-603f194e5ad81bb2ef42d6d8aaa74de175bcb411.tar.bz2 |
Some fixes to dspic, fpga, and gdc post tests for lwmon5.
Disable external watch-dog for now.
Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Diffstat (limited to 'post/board/lwmon5/dspic.c')
-rw-r--r-- | post/board/lwmon5/dspic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/post/board/lwmon5/dspic.c b/post/board/lwmon5/dspic.c index e8fed89..f1c9c15 100644 --- a/post/board/lwmon5/dspic.c +++ b/post/board/lwmon5/dspic.c @@ -94,9 +94,9 @@ int dspic_post_test(int flags) } data = dspic_read(DSPIC_SYS_ERROR_REG); - if (data != 0) ret = 1; if (data == -1) { post_log("dsPIC : failed read system error\n"); + ret = 1; } else { post_log("dsPIC SYS-ERROR code: 0x%04X\n", data); } |