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>
This commit is contained in:
parent
99d430f344
commit
417e20cdf8
1 changed files with 1 additions and 1 deletions
|
@ -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 */;
|
||||
|
|
Loading…
Reference in a new issue