[U-Boot] [PATCH 4/4] x86: Remove unnecessary call to initr_enable_interrupts()
Bin Meng
bmeng.cn at gmail.com
Thu Nov 20 09:11:27 CET 2014
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 at gmail.com>
---
common/board_r.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/board_r.c b/common/board_r.c
index b5ea030..128fcce 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -841,7 +841,7 @@ init_fnc_t init_sequence_r[] = {
board_early_init_r,
#endif
interrupt_init,
-#if defined(CONFIG_ARM) || defined(CONFIG_x86)
+#if defined(CONFIG_ARM)
initr_enable_interrupts,
#endif
#ifdef CONFIG_X86
--
1.8.2.1
More information about the U-Boot
mailing list