소스 검색

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

Wolfgang Denk 17 년 전
부모
커밋
6887cb6817
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      post/board/lwmon5/dspic.c

+ 2 - 1
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;