Skip to content

Commit

Permalink
x86: itss: Add a Kconfig option to enable/disable ITSS driver
Browse files Browse the repository at this point in the history
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: Wolfgang Wallner <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
[bmeng: squashed in http://patchwork.ozlabs.org/patch/1232761/]
Signed-off-by: Bin Meng <[email protected]>
  • Loading branch information
br-ww authored and lbmeng committed Feb 4, 2020
1 parent 43709fa commit 1d5bf32
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions arch/x86/cpu/apollolake/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ config INTEL_APOLLOLAKE
imply HAVE_X86_FIT
imply INTEL_GPIO
imply SMP
imply HAVE_ITSS

if INTEL_APOLLOLAKE

Expand Down
4 changes: 1 addition & 3 deletions arch/x86/cpu/intel_common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d5bf32

Please sign in to comment.