summaryrefslogtreecommitdiff
path: root/src/arch/armv7/lib/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/armv7/lib/interrupts.c')
-rw-r--r--src/arch/armv7/lib/interrupts.c3
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)