diff mbox series

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

Message ID 1514991336-23951-3-git-send-email-fabio.estevam@nxp.com
State Accepted
Commit 0f194018f2b431ce81606c2b6be7c8992d09c749
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/3] mx6memcal: Fix the UART ports for mx6sabresd/auto boards | expand

Commit Message

Fabio Estevam Jan. 3, 2018, 2:55 p.m. UTC
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@nxp.com>
---
 board/freescale/mx6memcal/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic Jan. 12, 2018, 1:35 p.m. UTC | #1
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@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
diff mbox series

Patch

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);