x86: Remove unnecessary call to initr_enable_interrupts()
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 <[email protected]>
--- common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/board_r.c +1 -1
@@ -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
Signature · 1 line
1.8.2.1
PATCH 4/4 x86: Remove unnecessary call to initr_enable_interrupts()
Quoted 7 lines · Bin Meng
Actually
initr_enable_interrupts()was never called in an x86 build due to it was wrapped byCONFIG_x86(typo of X86).Signed-off-by Bin Meng <[email protected]>--- common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by Simon Glass <[email protected]>
Tested on chromebook_link:
Tested-by Simon Glass <[email protected]>
PATCH 4/4 x86: Remove unnecessary call to initr_enable_interrupts()
Quoted 9 lines · Simon Glass
Quoted 7 lines · Bin Meng
Actually
initr_enable_interrupts()was never called in an x86 build due to it was wrapped byCONFIG_x86(typo of X86).Signed-off-by Bin Meng <[email protected]>--- common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 4 lines
Acked-by Simon Glass <[email protected]>Tested on
chromebook_link:Tested-by Simon Glass <[email protected]>
Applied to u-boot-x86, thanks!