summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-22 21:45:15 +0300
committerBin Meng <bmeng.cn@gmail.com>2020-09-25 06:27:18 +0300
commitb98b91b6a98bbc9b43c70896c7ef89bd55c430bc (patch)
treea654da59b9575f0ca1013b7d1e96027a12441c9b /arch
parent9b3e6d4c1f86b27f320ef9c5857a9ef223b2b356 (diff)
downloadu-boot-b98b91b6a98bbc9b43c70896c7ef89bd55c430bc.tar.xz
x86: Support Atom SoCs using SWSMISCI rather than the SWSCI
Some Atom SoCs use SWSMISCI for SMI control. Add a Kconfig to select this. It is used on Apollo Lake. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig6
-rw-r--r--arch/x86/cpu/apollolake/Kconfig1
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 495629d32e..eddf2a774e 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1017,4 +1017,10 @@ config INTEL_GENERIC_WIFI
network functionality. It is only here to generate the ACPI tables
required by Linux.
+config INTEL_GMA_SWSMISCI
+ bool
+ help
+ Select this option for Atom-based platforms which use the SWSMISCI
+ register (0xe0) rather than the SWSCI register (0xe8).
+
endmenu
diff --git a/arch/x86/cpu/apollolake/Kconfig b/arch/x86/cpu/apollolake/Kconfig
index 319f12684b..35a425cd1b 100644
--- a/arch/x86/cpu/apollolake/Kconfig
+++ b/arch/x86/cpu/apollolake/Kconfig
@@ -17,6 +17,7 @@ config INTEL_APOLLOLAKE
select PCH_SUPPORT
select P2SB
select SMP_AP_WORK
+ select INTEL_GMA_SWSMISCI
select ACPI_GNVS_EXTERNAL
imply ENABLE_MRC_CACHE
imply AHCI_PCI