[U-Boot] [PATCH 8/9] DM9000: change some printf to use debug instead

Stefano Babic sbabic at denx.de
Thu Aug 11 11:27:19 CEST 2011


On 08/10/2011 10:33 PM, Eric Jarrige wrote:
> Signed-off-by: Eric Jarrige <eric.jarrige at armadeus.org>
> Cc: Ben Warren <biggerbadderben at gmail.com>
> ---
>  drivers/net/dm9000x.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

Hi Eric,

> -		printf("dm9000 i/o: 0x%x, id: 0x%x \n", CONFIG_DM9000_BASE,
> +		DM9000_DBG("dm9000 i/o: 0x%x, id: 0x%x \n", CONFIG_DM9000_BASE,
>  		       id_val);

This is a good choice to get rid of nasty DM9000_DBG replacing it with
the general debug() !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list