mips: cpu: Use plain puts() in restart handler
authorMarek Vasut <marex@denx.de>
Fri, 23 Jun 2023 18:49:21 +0000 (20:49 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 24 Jun 2023 17:46:55 +0000 (13:46 -0400)
This removes dependency on fprintf() , which is not available
in SPL unless full printf support is enabled.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/mips/cpu/cpu.c

index b304026..f0e20da 100644 (file)
@@ -15,7 +15,7 @@
 #if !CONFIG_IS_ENABLED(SYSRESET)
 void __weak _machine_restart(void)
 {
-       fprintf(stderr, "*** reset failed ***\n");
+       puts("*** reset failed ***\n");
 
        while (1)
                /* NOP */;