From 8bc58da8ac7b2d91b7a6571e622876346df6f4cd Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 14 Feb 2013 16:56:05 -0800 Subject: ARMv7: straighten out reset code We don't need three different implementations. Change-Id: Ie7b5fa90794676ea38838454a33e8e9188428eb7 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/2406 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/armv7/lib/interrupts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/arch/armv7/lib/interrupts.c') diff --git a/src/arch/armv7/lib/interrupts.c b/src/arch/armv7/lib/interrupts.c index ab9a80ca91..d07442a077 100644 --- a/src/arch/armv7/lib/interrupts.c +++ b/src/arch/armv7/lib/interrupts.c @@ -36,6 +36,7 @@ */ #include +#include 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) -- cgit v1.2.3