[U-Boot] [PATCH v3 3/4] imx: mx6sabresd: Add clear print for pfuze200

Stefano Babic sbabic at denx.de
Fri Sep 12 12:13:13 CEST 2014


Hi Ye,

On 11/09/2014 05:13, Ye.Li wrote:
> Add clear print log to show pfuze200 or pfuze100 found on mx6sabresd.
> 
> Signed-off-by: Ye.Li <B37916 at freescale.com>
> ---
> Changes since v1:
> - None
> 
> Changes since v2:
> - None
> 
>  board/freescale/mx6sabresd/mx6sabresd.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
> index 5f65f1b..72d6562 100644
> --- a/board/freescale/mx6sabresd/mx6sabresd.c
> +++ b/board/freescale/mx6sabresd/mx6sabresd.c
> @@ -472,7 +472,8 @@ static int pfuze_init(void)
>  		return ret;
>  
>  	pmic_reg_read(p, PFUZE100_DEVICEID, &reg);
> -	printf("PMIC:  PFUZE100 ID=0x%02x\n", reg);
> +	printf("PMIC:  PFUZE%s ID=0x%02x\n",
> +		((reg & 0xf) == 0) ? "100" : "200", reg);
>  
>  	/* Increase VGEN3 from 2.5 to 2.8V */
>  	pmic_reg_read(p, PFUZE100_VGEN3VOL, &reg);
> 

This is completely unrelated to the series - it can be applied
independently from the other patches. You do not need to resend this one
but please send in future patches belonging to the same series if they
are related to the same issue or to the same set of issues. This
simplifies review and merging - thanks !

Acked-by: Stefano Babic <sbabic at denx.de>

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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list