summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2014-11-20 16:11:27 +0800
committerSimon Glass <sjg@chromium.org>2014-11-25 06:34:02 -0700
commitd51457583f48c68e8b8ed69ed4cb4de11eac383a (patch)
tree62b30ce1639dc0e9d374be71e47ba06a3afed2fe
parent1dae2e0eb660553fd18870b53e4c43bd56414e3b (diff)
downloadu-boot-imx-d51457583f48c68e8b8ed69ed4cb4de11eac383a.zip
u-boot-imx-d51457583f48c68e8b8ed69ed4cb4de11eac383a.tar.gz
u-boot-imx-d51457583f48c68e8b8ed69ed4cb4de11eac383a.tar.bz2
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>
-rw-r--r--common/board_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 9f085b1..1b8998d 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