summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t430/dsdt.asl
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2018-11-07 19:04:26 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-12-05 14:03:45 +0000
commit7012a59fc71b130d1bad4a944beba552240ce31e (patch)
treec58bf5460be3eb6acf2becb362f88d2a574aef4d /src/mainboard/lenovo/t430/dsdt.asl
parent6880a7a18bbfdcc20e046856e868757e903fcc26 (diff)
downloadcoreboot-7012a59fc71b130d1bad4a944beba552240ce31e.tar.xz
mb/lenovo/*/dsdt: Move mainboard-specific defines out of ec.asl
Most Lenovo mainboards define their own specific defines in dsdt.asl. Let's make it consistent across all Lenovo mainboards. Tested - builds fine. Change-Id: I03fbeb09b25e42af2dfbb220c0f726e6abb73673 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/29543 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/lenovo/t430/dsdt.asl')
-rw-r--r--src/mainboard/lenovo/t430/dsdt.asl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t430/dsdt.asl b/src/mainboard/lenovo/t430/dsdt.asl
index 3cdebe9a4f..48e00767d1 100644
--- a/src/mainboard/lenovo/t430/dsdt.asl
+++ b/src/mainboard/lenovo/t430/dsdt.asl
@@ -15,6 +15,12 @@
* GNU General Public License for more details.
*/
+#define THINKPAD_EC_GPE 17
+#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
+#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
+#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
+#define EC_LENOVO_H8_ME_WORKAROUND 1
+
#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",