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)
|
#if !CONFIG_IS_ENABLED(SYSRESET)
|
||||||
void __weak _machine_restart(void)
|
void __weak _machine_restart(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "*** reset failed ***\n");
|
puts("*** reset failed ***\n");
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
/* NOP */;
|
/* NOP */;
|
||||||
|
Reference in New Issue
Block a user