From: Daniel Schwierzeck Date: Sat, 9 Jan 2016 17:34:15 +0000 (+0100) Subject: common/board_f: enable initr_trap for MIPS X-Git-Tag: v2017.01-rc1~154^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4c2cb115163caa7ff60f5bcb072d2ae20385f508;p=u-boot 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 Reviewed-by: Simon Glass --- diff --git a/common/board_r.c b/common/board_r.c index d959ad3c6f..5496f45cbd 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