mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
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>
This commit is contained in:
parent
6c59363004
commit
4c2cb11516
1 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ static int initr_serial(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_PPC) || defined(CONFIG_M68K)
|
#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS)
|
||||||
static int initr_trap(void)
|
static int initr_trap(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -807,7 +807,7 @@ init_fnc_t init_sequence_r[] = {
|
||||||
#ifdef CONFIG_NEEDS_MANUAL_RELOC
|
#ifdef CONFIG_NEEDS_MANUAL_RELOC
|
||||||
initr_manual_reloc_cmdtable,
|
initr_manual_reloc_cmdtable,
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_PPC) || defined(CONFIG_M68K)
|
#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS)
|
||||||
initr_trap,
|
initr_trap,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_ADDR_MAP
|
#ifdef CONFIG_ADDR_MAP
|
||||||
|
|
Loading…
Reference in a new issue