]> git.sur5r.net Git - u-boot/commitdiff
mx6memcal: spl: Disambiguate the error message
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 3 Jan 2018 14:55:36 +0000 (12:55 -0200)
committerStefano Babic <sbabic@denx.de>
Fri, 12 Jan 2018 13:28:04 +0000 (14:28 +0100)
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

index e8b992c2b6cc3a090fbf7754145f30fe11a09a88..027da4fbbc5faf004386ed724ce9327f9c5cc568 100644 (file)
@@ -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);