mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-30 10:11:45 +02:00
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
@ -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 */;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user