diff options
| author | Marek Vasut <[email protected]> | 2023-06-23 20:49:21 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-06-24 13:46:55 -0400 |
| commit | 417e20cdf8f8dd5ce7e8c69dc0794e015122aac6 (patch) | |
| tree | b98f6a50383dc4132e7ff11f0ea12ffa5ed88a36 | |
| parent | 99d430f344bfdb0641022fd3efa26c29c957df02 (diff) | |
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 <[email protected]>
| -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 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 */; |
