diff options
author | Marek Vasut <marex@denx.de> | 2023-06-23 20:49:21 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-06-24 13:46:55 -0400 |
commit | 417e20cdf8f8dd5ce7e8c69dc0794e015122aac6 (patch) | |
tree | b98f6a50383dc4132e7ff11f0ea12ffa5ed88a36 /arch/mips | |
parent | 99d430f344bfdb0641022fd3efa26c29c957df02 (diff) | |
download | u-boot-417e20cdf8f8dd5ce7e8c69dc0794e015122aac6.zip u-boot-417e20cdf8f8dd5ce7e8c69dc0794e015122aac6.tar.gz u-boot-417e20cdf8f8dd5ce7e8c69dc0794e015122aac6.tar.bz2 |
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 <marex@denx.de>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/cpu/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cpu/cpu.c b/arch/mips/cpu/cpu.c index b304026..f0e20da 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 */; |