summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x230
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-11-23 12:23:19 -0700
committerMartin Roth <martinroth@google.com>2015-11-24 22:34:34 +0100
commit21dbc2fc3c2febe0e6ac3760f4c8a63c2aeedd06 (patch)
tree48a8cb3e9fd9e2278f575b3d8d458993b7ba753e /src/mainboard/lenovo/x230
parent56033a9f2d6ceed6ad27450d866be46eb49abf8b (diff)
downloadcoreboot-21dbc2fc3c2febe0e6ac3760f4c8a63c2aeedd06.tar.xz
ec/lenovo/h8: Fix IASL warnings
If any path in a method returns a value, IASL expects that all paths within that method will return a value. Presumably the MKHP method wouldn't get called unless there were a pending event, but if no event is found, return a zero. Fixes IASL warning: dsdt.aml 1785: Method (MHKP, 0, NotSerialized) Warning 3115 - ^ Not all control paths return a value (MHKP) This was the only IASL warning in most lenovo mainboards. Change-Id: Id93dcc4a74bd4c18b78f1dde821e7ba0f3444da3 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12517 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x230')
-rw-r--r--src/mainboard/lenovo/x230/Kconfig4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/lenovo/x230/Kconfig b/src/mainboard/lenovo/x230/Kconfig
index 370eb778b0..1d336ebf88 100644
--- a/src/mainboard/lenovo/x230/Kconfig
+++ b/src/mainboard/lenovo/x230/Kconfig
@@ -74,8 +74,4 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21fa
-# TODO: Remove this when platform ASL is fixed
-config IASL_WARNINGS_ARE_ERRORS
- def_bool n
-
endif # BOARD_LENOVO_X230