<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20393">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/*/Kconfig: Add new symbol ENABLE_SMI_TRAP_SUPPORT<br><br>Introduce a new Kconfig that has to be set in mainboard dir to enable<br>ACPI trap support. Mainboards that do not use TRAP or have an conflicting<br>IO region configuration shouldn't enable this symbol.<br><br>This symbol has no effect yet.<br><br>Change-Id: Ie042824ee2717140dfff7e99157fe2d3fd17e234<br>Signed-off-by: Patrick Rudolph <siro@das-labor.org><br>---<br>M src/Kconfig<br>M src/mainboard/apple/macbook21/Kconfig<br>M src/mainboard/getac/p470/Kconfig<br>M src/mainboard/lenovo/t60/Kconfig<br>M src/mainboard/lenovo/x200/Kconfig<br>M src/mainboard/lenovo/x201/Kconfig<br>M src/mainboard/lenovo/x60/Kconfig<br>M src/mainboard/packardbell/ms2290/Kconfig<br>M src/mainboard/roda/rk886ex/Kconfig<br>9 files changed, 12 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/20393/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/Kconfig b/src/Kconfig<br>index 637f575..5419635 100644<br>--- a/src/Kconfig<br>+++ b/src/Kconfig<br>@@ -537,6 +537,10 @@<br>      bool<br>  default n<br> <br>+config ENABLE_SMI_TRAP_SUPPORT<br>+        bool<br>+ default n<br>+<br> config PCI_IO_CFG_EXT<br>  bool<br>  default n<br>diff --git a/src/mainboard/apple/macbook21/Kconfig b/src/mainboard/apple/macbook21/Kconfig<br>index 34e9f25..57361c0 100644<br>--- a/src/mainboard/apple/macbook21/Kconfig<br>+++ b/src/mainboard/apple/macbook21/Kconfig<br>@@ -19,6 +19,7 @@<br>     select HAVE_ACPI_RESUME<br>       select USE_OPTION_TABLE<br>       select I945_LVDS<br>+     select ENABLE_SMI_TRAP_SUPPORT<br> <br> config MAINBOARD_DIR<br>      string<br>diff --git a/src/mainboard/getac/p470/Kconfig b/src/mainboard/getac/p470/Kconfig<br>index d46c768..13fcac3 100644<br>--- a/src/mainboard/getac/p470/Kconfig<br>+++ b/src/mainboard/getac/p470/Kconfig<br>@@ -35,6 +35,7 @@<br>    select CHANNEL_XOR_RANDOMIZATION<br>      select INTEL_INT15<br>    select I945_LVDS<br>+     select ENABLE_SMI_TRAP_SUPPORT<br> <br> config MAINBOARD_DIR<br>      string<br>diff --git a/src/mainboard/lenovo/t60/Kconfig b/src/mainboard/lenovo/t60/Kconfig<br>index 3c77a8a..585a88c 100644<br>--- a/src/mainboard/lenovo/t60/Kconfig<br>+++ b/src/mainboard/lenovo/t60/Kconfig<br>@@ -23,6 +23,7 @@<br>    select H8_DOCK_EARLY_INIT<br>     select HAVE_CMOS_DEFAULT<br>      select I945_LVDS<br>+     select ENABLE_SMI_TRAP_SUPPORT<br> <br> config MAINBOARD_DIR<br>      string<br>diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig<br>index d2fcec4..31181bc 100644<br>--- a/src/mainboard/lenovo/x200/Kconfig<br>+++ b/src/mainboard/lenovo/x200/Kconfig<br>@@ -21,6 +21,7 @@<br>        select INTEL_INT15<br>    select SUPERIO_NSC_PC87382<br>    select DRIVERS_LENOVO_WACOM<br>+  select ENABLE_SMI_TRAP_SUPPORT<br> <br> config MAINBOARD_DIR<br>      string<br>diff --git a/src/mainboard/lenovo/x201/Kconfig b/src/mainboard/lenovo/x201/Kconfig<br>index ba590eb..2e5d16b 100644<br>--- a/src/mainboard/lenovo/x201/Kconfig<br>+++ b/src/mainboard/lenovo/x201/Kconfig<br>@@ -18,6 +18,7 @@<br>        select SUPERIO_NSC_PC87382<br>    select DRIVERS_LENOVO_WACOM<br>   select MAINBOARD_HAS_LPC_TPM<br>+ select ENABLE_SMI_TRAP_SUPPORT<br> <br> config MAINBOARD_DIR<br>      string<br>diff --git a/src/mainboard/lenovo/x60/Kconfig b/src/mainboard/lenovo/x60/Kconfig<br>index 1d55f98..f3b6f9a 100644<br>--- a/src/mainboard/lenovo/x60/Kconfig<br>+++ b/src/mainboard/lenovo/x60/Kconfig<br>@@ -26,6 +26,7 @@<br>    select H8_DOCK_EARLY_INIT<br>     select DRIVERS_LENOVO_WACOM<br>   select I945_LVDS<br>+     select ENABLE_SMI_TRAP_SUPPORT<br> <br> config MAINBOARD_DIR<br>      string<br>diff --git a/src/mainboard/packardbell/ms2290/Kconfig b/src/mainboard/packardbell/ms2290/Kconfig<br>index ca25a14..daf8113 100644<br>--- a/src/mainboard/packardbell/ms2290/Kconfig<br>+++ b/src/mainboard/packardbell/ms2290/Kconfig<br>@@ -16,6 +16,7 @@<br>    select MAINBOARD_HAS_NATIVE_VGA_INIT<br>  select INTEL_INT15<br>    select EC_ACPI<br>+       select ENABLE_SMI_TRAP_SUPPORT<br> <br> config MAINBOARD_DIR<br>      string<br>diff --git a/src/mainboard/roda/rk886ex/Kconfig b/src/mainboard/roda/rk886ex/Kconfig<br>index e5448c9..9ae4f2c 100644<br>--- a/src/mainboard/roda/rk886ex/Kconfig<br>+++ b/src/mainboard/roda/rk886ex/Kconfig<br>@@ -19,6 +19,7 @@<br>    select BOARD_ROMSIZE_KB_1024<br>  select CHANNEL_XOR_RANDOMIZATION<br>      select INTEL_INT15<br>+   select ENABLE_SMI_TRAP_SUPPORT<br> <br> config MAINBOARD_DIR<br>      string<br></pre><p>To view, visit <a href="https://review.coreboot.org/20393">change 20393</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/20393"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie042824ee2717140dfff7e99157fe2d3fd17e234 </div>
<div style="display:none"> Gerrit-Change-Number: 20393 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <siro@das-labor.org> </div>