[coreboot-gerrit] Change in coreboot[master]: mb/*/Kconfig: Add new symbol ENABLE_SMI_TRAP_SUPPORT

Patrick Rudolph (Code Review) gerrit at coreboot.org
Tue Jun 27 18:54:47 CEST 2017


Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/20393


Change subject: mb/*/Kconfig: Add new symbol ENABLE_SMI_TRAP_SUPPORT
......................................................................

mb/*/Kconfig: Add new symbol ENABLE_SMI_TRAP_SUPPORT

Introduce a new Kconfig that has to be set in mainboard dir to enable
ACPI trap support. Mainboards that do not use TRAP or have an conflicting
IO region configuration shouldn't enable this symbol.

This symbol has no effect yet.

Change-Id: Ie042824ee2717140dfff7e99157fe2d3fd17e234
Signed-off-by: Patrick Rudolph <siro at das-labor.org>
---
M src/Kconfig
M src/mainboard/apple/macbook21/Kconfig
M src/mainboard/getac/p470/Kconfig
M src/mainboard/lenovo/t60/Kconfig
M src/mainboard/lenovo/x200/Kconfig
M src/mainboard/lenovo/x201/Kconfig
M src/mainboard/lenovo/x60/Kconfig
M src/mainboard/packardbell/ms2290/Kconfig
M src/mainboard/roda/rk886ex/Kconfig
9 files changed, 12 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/20393/1

diff --git a/src/Kconfig b/src/Kconfig
index 637f575..5419635 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -537,6 +537,10 @@
 	bool
 	default n
 
+config ENABLE_SMI_TRAP_SUPPORT
+	bool
+	default n
+
 config PCI_IO_CFG_EXT
 	bool
 	default n
diff --git a/src/mainboard/apple/macbook21/Kconfig b/src/mainboard/apple/macbook21/Kconfig
index 34e9f25..57361c0 100644
--- a/src/mainboard/apple/macbook21/Kconfig
+++ b/src/mainboard/apple/macbook21/Kconfig
@@ -19,6 +19,7 @@
 	select HAVE_ACPI_RESUME
 	select USE_OPTION_TABLE
 	select I945_LVDS
+	select ENABLE_SMI_TRAP_SUPPORT
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/getac/p470/Kconfig b/src/mainboard/getac/p470/Kconfig
index d46c768..13fcac3 100644
--- a/src/mainboard/getac/p470/Kconfig
+++ b/src/mainboard/getac/p470/Kconfig
@@ -35,6 +35,7 @@
 	select CHANNEL_XOR_RANDOMIZATION
 	select INTEL_INT15
 	select I945_LVDS
+	select ENABLE_SMI_TRAP_SUPPORT
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/lenovo/t60/Kconfig b/src/mainboard/lenovo/t60/Kconfig
index 3c77a8a..585a88c 100644
--- a/src/mainboard/lenovo/t60/Kconfig
+++ b/src/mainboard/lenovo/t60/Kconfig
@@ -23,6 +23,7 @@
 	select H8_DOCK_EARLY_INIT
 	select HAVE_CMOS_DEFAULT
 	select I945_LVDS
+	select ENABLE_SMI_TRAP_SUPPORT
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig
index d2fcec4..31181bc 100644
--- a/src/mainboard/lenovo/x200/Kconfig
+++ b/src/mainboard/lenovo/x200/Kconfig
@@ -21,6 +21,7 @@
 	select INTEL_INT15
 	select SUPERIO_NSC_PC87382
 	select DRIVERS_LENOVO_WACOM
+	select ENABLE_SMI_TRAP_SUPPORT
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/lenovo/x201/Kconfig b/src/mainboard/lenovo/x201/Kconfig
index ba590eb..2e5d16b 100644
--- a/src/mainboard/lenovo/x201/Kconfig
+++ b/src/mainboard/lenovo/x201/Kconfig
@@ -18,6 +18,7 @@
 	select SUPERIO_NSC_PC87382
 	select DRIVERS_LENOVO_WACOM
 	select MAINBOARD_HAS_LPC_TPM
+	select ENABLE_SMI_TRAP_SUPPORT
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/lenovo/x60/Kconfig b/src/mainboard/lenovo/x60/Kconfig
index 1d55f98..f3b6f9a 100644
--- a/src/mainboard/lenovo/x60/Kconfig
+++ b/src/mainboard/lenovo/x60/Kconfig
@@ -26,6 +26,7 @@
 	select H8_DOCK_EARLY_INIT
 	select DRIVERS_LENOVO_WACOM
 	select I945_LVDS
+	select ENABLE_SMI_TRAP_SUPPORT
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/packardbell/ms2290/Kconfig b/src/mainboard/packardbell/ms2290/Kconfig
index ca25a14..daf8113 100644
--- a/src/mainboard/packardbell/ms2290/Kconfig
+++ b/src/mainboard/packardbell/ms2290/Kconfig
@@ -16,6 +16,7 @@
 	select MAINBOARD_HAS_NATIVE_VGA_INIT
 	select INTEL_INT15
 	select EC_ACPI
+	select ENABLE_SMI_TRAP_SUPPORT
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/roda/rk886ex/Kconfig b/src/mainboard/roda/rk886ex/Kconfig
index e5448c9..9ae4f2c 100644
--- a/src/mainboard/roda/rk886ex/Kconfig
+++ b/src/mainboard/roda/rk886ex/Kconfig
@@ -19,6 +19,7 @@
 	select BOARD_ROMSIZE_KB_1024
 	select CHANNEL_XOR_RANDOMIZATION
 	select INTEL_INT15
+	select ENABLE_SMI_TRAP_SUPPORT
 
 config MAINBOARD_DIR
 	string

-- 
To view, visit https://review.coreboot.org/20393
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie042824ee2717140dfff7e99157fe2d3fd17e234
Gerrit-Change-Number: 20393
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro at das-labor.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170627/5ab8f44c/attachment.html>


More information about the coreboot-gerrit mailing list