Call platform_reset() instead of looping forever on reboot.
# We likely need to have a default one of these that jumps to the rom boot # address that's defined in the MIPS ISA.
This commit is contained in:
parent
b1b26fc820
commit
85c209c24d
@ -198,8 +198,8 @@ cpu_startup(void *dummy)
|
||||
void
|
||||
cpu_reset(void)
|
||||
{
|
||||
for (;;)
|
||||
;
|
||||
|
||||
platform_reset();
|
||||
}
|
||||
|
||||
/* Get current clock frequency for the given cpu id. */
|
||||
@ -207,7 +207,7 @@ int
|
||||
cpu_est_clockrate(int cpu_id, uint64_t *rate)
|
||||
{
|
||||
|
||||
return (ENXIO);
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user