This removes dependency on fprintf() , which is not available
in SPL unless full printf support is enabled.

Signed-off-by: Marek Vasut <ma...@denx.de>
---
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Marek Vasut <ma...@denx.de>
---
 arch/mips/cpu/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/cpu/cpu.c b/arch/mips/cpu/cpu.c
index b304026a67c..f0e20da28f7 100644
--- a/arch/mips/cpu/cpu.c
+++ b/arch/mips/cpu/cpu.c
@@ -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 */;
-- 
2.40.1

Reply via email to