mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
LWMON5: fix dsPIC POST
Add test for DPIC_SYS_ERROR_REG to be zero in the LWMON5 dsPIC POST. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> ---
This commit is contained in:
parent
b73a19e160
commit
86aea3eaef
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue