[U-Boot] [PATCH 3/3] mx6memcal: spl: Disambiguate the error message

Stefano Babic sbabic at denx.de
Fri Jan 12 13:35:44 UTC 2018


On 03/01/2018 15:55, Fabio Estevam wrote:
> Currently mmdc_do_dqs_calibration() and mmdc_do_write_level_calibration()
> show the same error message, which is confusing for debugging.
> 
> Disambiguate the mmdc_do_dqs_calibration() error message.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
>  board/freescale/mx6memcal/spl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/freescale/mx6memcal/spl.c b/board/freescale/mx6memcal/spl.c
> index e8b992c..027da4f 100644
> --- a/board/freescale/mx6memcal/spl.c
> +++ b/board/freescale/mx6memcal/spl.c
> @@ -446,7 +446,7 @@ void board_init_f(ulong dummy)
>  	} else {
>  		errs = mmdc_do_dqs_calibration(&sysinfo);
>  		if (errs) {
> -			printf("error %d from write level calibration\n", errs);
> +			printf("error %d from dqs calibration\n", errs);
>  		} else {
>  			printf("completed successfully\n");
>  			mmdc_read_calibration(&sysinfo, &calibration);
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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