[U-Boot] [PATCH 4/4] 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 --- 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

On 20 November 2014 at 01:11, Bin Meng bmeng.cn@gmail.com wrote:
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
common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass sjg@chromium.org
Tested on chromebook_link: Tested-by: Simon Glass sjg@chromium.org

On 24 November 2014 at 20:06, Simon Glass sjg@chromium.org wrote:
On 20 November 2014 at 01:11, Bin Meng bmeng.cn@gmail.com wrote:
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
common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass sjg@chromium.org
Tested on chromebook_link: Tested-by: Simon Glass sjg@chromium.org
Applied to u-boot-x86, thanks!
participants (2)
-
Bin Meng
-
Simon Glass