[U-Boot] [PATCH] km/common: remove printfs for i2c deblocking code

Prafulla Wadaskar prafulla at marvell.com
Mon Jul 30 08:34:03 CEST 2012



> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-
> bounces at lists.denx.de] On Behalf Of Gerlando Falauto
> Sent: 27 July 2012 20:28
> To: u-boot at lists.denx.de
> Cc: Holger Brunck
> Subject: [U-Boot] [PATCH] km/common: remove printfs for i2c deblocking
> code
> 
> From: Holger Brunck <holger.brunck at keymile.com>
> 
> 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 at keymile.com>
> ---
>  board/keymile/common/common.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/board/keymile/common/common.c
> b/board/keymile/common/common.c
> index 1013f42..a90f112 100644
> --- a/board/keymile/common/common.c
> +++ b/board/keymile/common/common.c
> @@ -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);
> --

Acked-By: Prafulla Wadaskar <Prafulla at marvell.com>

Regards...
Prafulla . . .


More information about the U-Boot mailing list