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:
Marek Vasut
2023-06-23 20:49:21 +02:00
committed by Tom Rini
parent 99d430f344
commit 417e20cdf8

View File

@@ -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 */;