]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Remove useless print message at apollon
authorKyungmin Park <kmpark@infradead.org>
Tue, 8 Jul 2008 00:08:40 +0000 (09:08 +0900)
committerWolfgang Denk <wd@denx.de>
Wed, 9 Jul 2008 22:40:58 +0000 (00:40 +0200)
Remove useless print message at apollon

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
board/apollon/apollon.c

index 7e39817a0f43c13c7bebf74415a5a281ca2fa37b..8efa7039512b29fa428a2b7bb95abaf9ad79a73e 100644 (file)
@@ -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);