diff mbox series

[U-Boot,2/2] x86: kconfig: Allow board defconfig file to disable 8259 and APIC

Message ID 1542624586-30855-2-git-send-email-bmeng.cn@gmail.com
State Superseded
Delegated to: Bin Meng
Headers show
Series [U-Boot,1/2] x86: Wrap calls to 8259 with CONFIG_I8259_PIC | expand

Commit Message

Bin Meng Nov. 19, 2018, 10:49 a.m. UTC
At present the Kconfig options (CONFIG_I8259_PIC and CONFIG_APIC)
do not include a prompt message, which makes it impossible to
be disabled from a board defconfig file.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 arch/x86/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Glass Nov. 27, 2018, 1:02 a.m. UTC | #1
On Mon, 19 Nov 2018 at 03:44, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> At present the Kconfig options (CONFIG_I8259_PIC and CONFIG_APIC)
> do not include a prompt message, which makes it impossible to
> be disabled from a board defconfig file.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
>  arch/x86/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 8fc9187..e052093 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -729,7 +729,7 @@  config PCIE_ECAM_SIZE
 	  maximum number of PCI buses as defined by the PCI specification.
 
 config I8259_PIC
-	bool
+	bool "Enable Intel 8259 compatible interrupt controller"
 	default y
 	help
 	  Intel 8259 ISA compatible chipset incorporates two 8259 (master and
@@ -737,7 +737,7 @@  config I8259_PIC
 	  the interrupt correctly.
 
 config APIC
-	bool
+	bool "Enable Intel Advanced Programmable Interrupt Controller"
 	default y
 	help
 	  The (A)dvanced (P)rogrammable (I)nterrupt (C)ontroller is responsible