ARMv7: straighten out reset code
We don't need three different implementations. Change-Id: Ie7b5fa90794676ea38838454a33e8e9188428eb7 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2406 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
committed by
Ronald G. Minnich
parent
5dbf689b62
commit
8bc58da8ac
@ -36,6 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <reset.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
@ -105,7 +106,7 @@ int disable_interrupts (void)
|
||||
void bad_mode (void)
|
||||
{
|
||||
panic ("Resetting CPU ...\n");
|
||||
reset_cpu (0);
|
||||
soft_reset();
|
||||
}
|
||||
|
||||
void show_regs (struct pt_regs *regs)
|
||||
|
Reference in New Issue
Block a user