]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Support Atom SoCs using SWSMISCI rather than the SWSCI
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:45:15 +0000 (12:45 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:18 +0000 (11:27 +0800)
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>
arch/x86/Kconfig
arch/x86/cpu/apollolake/Kconfig

index 495629d32eda63b72a0c3f5b4bae84c9095f927f..eddf2a774ef456e1261dd92442e611f8c365c781 100644 (file)
@@ -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
index 319f12684b705d97cfb22d0e046fdacf7d84c7eb..35a425cd1bc2e31741d681a2947d4e4e3a8bcde2 100644 (file)
@@ -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