From: Marek Vasut Date: Fri, 23 Jun 2023 18:49:21 +0000 (+0200) Subject: mips: cpu: Use plain puts() in restart handler X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=417e20cdf8f8dd5ce7e8c69dc0794e015122aac6;p=u-boot.git mips: cpu: Use plain puts() in restart handler This removes dependency on fprintf() , which is not available in SPL unless full printf support is enabled. Signed-off-by: Marek Vasut --- diff --git a/arch/mips/cpu/cpu.c b/arch/mips/cpu/cpu.c index b304026a67..f0e20da28f 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 */;