]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: Use printf for printing fatal errors
authorPali Rohár <pali@kernel.org>
Fri, 17 Dec 2021 17:31:14 +0000 (18:31 +0100)
committerStefan Roese <sr@denx.de>
Sun, 19 Dec 2021 08:50:47 +0000 (09:50 +0100)
There is no point to hide/disable fatal errors via debug() macro.
Print fatal errors loudly.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/spl.c

index 742d66aca4bff903cbe76967bded30193022afa0..aada83f1902a683743ad18dd4954090d3e1ab194 100644 (file)
@@ -260,7 +260,7 @@ void board_init_f(ulong dummy)
 
        ret = spl_init();
        if (ret) {
-               debug("spl_init() failed: %d\n", ret);
+               printf("spl_init() failed: %d\n", ret);
                hang();
        }
 
@@ -276,7 +276,7 @@ void board_init_f(ulong dummy)
        /* Setup DDR */
        ret = ddr3_init();
        if (ret) {
-               debug("ddr3_init() failed: %d\n", ret);
+               printf("ddr3_init() failed: %d\n", ret);
                hang();
        }
 #endif