diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2013-02-14 16:56:05 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-02-15 02:43:09 +0100 |
commit | 8bc58da8ac7b2d91b7a6571e622876346df6f4cd (patch) | |
tree | a9c5b696764cd72b8da92b45393926af485568d0 /src/arch/armv7/lib/interrupts.c | |
parent | 5dbf689b62367f5386441cdc35434f14b39ac17b (diff) |
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>
Diffstat (limited to 'src/arch/armv7/lib/interrupts.c')
-rw-r--r-- | src/arch/armv7/lib/interrupts.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <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) |