提交 6887cb68 编写于 作者: W Wolfgang Denk

Merge branch 'master' of /home/wd/git/u-boot/work

...@@ -97,8 +97,9 @@ int dspic_post_test(int flags) ...@@ -97,8 +97,9 @@ int dspic_post_test(int flags)
if (data == -1) { if (data == -1) {
post_log("dsPIC : failed read system error\n"); post_log("dsPIC : failed read system error\n");
ret = 1; ret = 1;
} else { } else if (data != 0) {
post_log("dsPIC SYS-ERROR code: 0x%04X\n", data); post_log("dsPIC SYS-ERROR code: 0x%04X\n", data);
ret = 1;
} }
return ret; return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册