]> git.sur5r.net Git - u-boot/commitdiff
km/common: remove printfs for i2c deblocking code
authorHolger Brunck <holger.brunck@keymile.com>
Fri, 27 Jul 2012 04:58:13 +0000 (04:58 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Jul 2012 06:04:13 +0000 (08:04 +0200)
This code will also be used before reallocation and during this time we
are not allowed to do these printings.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Prafulla Wadaskar <Prafulla@marvell.com>
Acked-by: Heiko Schocher <hs@denx.de>
board/keymile/common/common.c

index 1013f42e11eece580c882db6631a712ef3951411..a90f1124fbee8444c0380658f6f1b08e4070f320 100644 (file)
@@ -151,7 +151,6 @@ int i2c_make_abort(void)
                        sda_state = get_sda();
                        if (scl_state && sda_state) {
                                ret = 0;
-                               printf("[INFO] i2c abort after %d clocks\n", i);
                                break;
                        }
                }
@@ -159,8 +158,6 @@ int i2c_make_abort(void)
        if (ret == 0)
                for (i = 0; i < 5; i++)
                        i2c_write_start_seq();
-       else
-               printf("[ERROR] i2c abort failed\n");
 
        /* respect stop setup time */
        udelay(DELAY_ABORT_SEQ);