Commit 1d5bf32f authored by Wolfgang Wallner's avatar Wolfgang Wallner Committed by Bin Meng

x86: itss: Add a Kconfig option to enable/disable ITSS driver

Add a Kconfig option to support enabling/disabling the inclusion of
the ITSS driver depending on the platform.

Atuomatically select the ITSS driver when building for Apollo Lake.
Signed-off-by: default avatarWolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
[bmeng: squashed in http://patchwork.ozlabs.org/patch/1232761/]
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 43709fa0
......@@ -709,6 +709,12 @@ config ROM_TABLE_SIZE
hex
default 0x10000
config HAVE_ITSS
bool "Enable ITSS"
help
Select this to include the driver for the Interrupt Timer
Subsystem (ITSS) which is found on several Intel devices.
menu "System tables"
depends on !EFI && !SYS_COREBOOT
......
......@@ -39,6 +39,7 @@ config INTEL_APOLLOLAKE
imply HAVE_X86_FIT
imply INTEL_GPIO
imply SMP
imply HAVE_ITSS
if INTEL_APOLLOLAKE
......
......@@ -27,9 +27,7 @@ obj-y += microcode.o
endif
endif
obj-y += pch.o
ifdef CONFIG_INTEL_APOLLOLAKE
obj-y += itss.o
endif
obj-$(CONFIG_HAVE_ITSS) += itss.o
ifdef CONFIG_SPL
ifndef CONFIG_SPL_BUILD
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment