From 47042b363ee5022b8180c65d3f4558e7972c79cd Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Tue, 8 Jul 2008 09:08:40 +0900 Subject: Remove useless print message at apollon Remove useless print message at apollon Signed-off-by: Kyungmin Park --- board/apollon/apollon.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'board/apollon') diff --git a/board/apollon/apollon.c b/board/apollon/apollon.c index 7e39817a0..8efa70395 100644 --- a/board/apollon/apollon.c +++ b/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); -- cgit v1.2.3