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:
@@ -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 */;
|
||||
|
Reference in New Issue
Block a user