diff options
author | Kyungmin Park <kmpark@infradead.org> | 2008-07-08 09:08:40 +0900 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 00:40:58 +0200 |
commit | 47042b363ee5022b8180c65d3f4558e7972c79cd (patch) | |
tree | d72aa63cc423119dc73372ee493e664439d2261c /board/apollon/apollon.c | |
parent | 98874ff329d4a5b32c467b43f6e966e1aa68479f (diff) | |
download | u-boot-imx-47042b363ee5022b8180c65d3f4558e7972c79cd.zip u-boot-imx-47042b363ee5022b8180c65d3f4558e7972c79cd.tar.gz u-boot-imx-47042b363ee5022b8180c65d3f4558e7972c79cd.tar.bz2 |
Remove useless print message at apollon
Remove useless print message at apollon
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'board/apollon/apollon.c')
-rw-r--r-- | board/apollon/apollon.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/board/apollon/apollon.c b/board/apollon/apollon.c index 7e39817..8efa703 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); |