浏览代码

Remove useless print message at apollon

Remove useless print message at apollon

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park 17 年之前
父节点
当前提交
47042b363e
共有 1 个文件被更改,包括 2 次插入6 次删除
  1. 2 6
      board/apollon/apollon.c

+ 2 - 6
board/apollon/apollon.c

@@ -153,10 +153,8 @@ void ether_init(void)
 	do {
 		__raw_writew(0x1, LAN_RESET_REGISTER);
 		udelay(100);
-		if (cnt == 0) {
-			printf("1. eth reset err\n");
+		if (cnt == 0)
 			goto eth_reset_err_out;
-		}
 		--cnt;
 	} while (__raw_readw(LAN_RESET_REGISTER) != 0x1);
 
@@ -165,10 +163,8 @@ void ether_init(void)
 	do {
 		__raw_writew(0x0, LAN_RESET_REGISTER);
 		udelay(100);
-		if (cnt == 0) {
-			printf("2. eth reset err\n");
+		if (cnt == 0)
 			goto eth_reset_err_out;
-		}
 		--cnt;
 	} while (__raw_readw(LAN_RESET_REGISTER) != 0x0000);
 	udelay(1000);