aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDaniel Schwierzeck2016-01-09 18:34:15 +0100
committerDaniel Schwierzeck2016-11-30 16:13:05 +0100
commit4c2cb115163caa7ff60f5bcb072d2ae20385f508 (patch)
tree1f8875e78ebd54d6d3c888f5bb97c38c4d4cd4eb /common
parent6c59363004e6d3f860623daa330eef17fbccd8cd (diff)
common/board_f: enable initr_trap for MIPS
Enable initr_trap hook also for MIPS to install and enable U-Boot's specific MIPS exception handlers. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/board_r.c b/common/board_r.c
index d959ad3c6f9..5496f45cbd9 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -191,7 +191,7 @@ static int initr_serial(void)
return 0;
}
-#if defined(CONFIG_PPC) || defined(CONFIG_M68K)
+#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS)
static int initr_trap(void)
{
/*
@@ -807,7 +807,7 @@ init_fnc_t init_sequence_r[] = {
#ifdef CONFIG_NEEDS_MANUAL_RELOC
initr_manual_reloc_cmdtable,
#endif
-#if defined(CONFIG_PPC) || defined(CONFIG_M68K)
+#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS)
initr_trap,
#endif
#ifdef CONFIG_ADDR_MAP