projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99d430f
)
mips: cpu: Use plain puts() in restart handler
author
Marek Vasut
<marex@denx.de>
Fri, 23 Jun 2023 18:49:21 +0000
(20:49 +0200)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/arch/mips/cpu/cpu.c
b/arch/mips/cpu/cpu.c
index
b304026
..
f0e20da
100644
(file)
--- 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 */;