diff options
author | Bin Meng | 2014-11-20 16:11:27 +0800 |
---|---|---|
committer | Simon Glass | 2014-11-25 06:34:02 -0700 |
commit | d51457583f48c68e8b8ed69ed4cb4de11eac383a (patch) | |
tree | 62b30ce1639dc0e9d374be71e47ba06a3afed2fe /common/board_r.c | |
parent | 1dae2e0eb660553fd18870b53e4c43bd56414e3b (diff) |
x86: Remove unnecessary call to initr_enable_interrupts()
Actually initr_enable_interrupts() was never called in an x86 build
due to it was wrapped by CONFIG_x86 (typo of X86).
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_r.c')
-rw-r--r-- | common/board_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_r.c b/common/board_r.c index 9f085b13821..1b8998d093a 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -839,7 +839,7 @@ init_fnc_t init_sequence_r[] = { initr_kgdb, #endif interrupt_init, -#if defined(CONFIG_ARM) || defined(CONFIG_x86) +#if defined(CONFIG_ARM) initr_enable_interrupts, #endif #ifdef CONFIG_X86 |