Sean Rhodes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/57045 )
Change subject: ec/starlabs/it8987: Add model specific methods ......................................................................
ec/starlabs/it8987: Add model specific methods
Use Q0A (AC Power Connected) for KBL Add Q45 (SMM Mode) for CML
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: I9a28ec647f1061d20478f18e6f0628f9aca972b9 --- M src/ec/starlabs/it8987/acpi/ac.asl M src/ec/starlabs/it8987/acpi/ec.asl 2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/57045/1
diff --git a/src/ec/starlabs/it8987/acpi/ac.asl b/src/ec/starlabs/it8987/acpi/ac.asl index 0d73728..8654c3a 100644 --- a/src/ec/starlabs/it8987/acpi/ac.asl +++ b/src/ec/starlabs/it8987/acpi/ac.asl @@ -32,7 +32,11 @@ } }
+#if CONFIG(BOARD_STARLABS_LABTOP_KBL) +Method (_Q0A, 0, NotSerialized) // AC Power Connected +#else Method (_QA0, 0, NotSerialized) // AC Power Connected +#endif { If (ECPS & 0x01) { diff --git a/src/ec/starlabs/it8987/acpi/ec.asl b/src/ec/starlabs/it8987/acpi/ec.asl index 02c1bed..982747f 100644 --- a/src/ec/starlabs/it8987/acpi/ec.asl +++ b/src/ec/starlabs/it8987/acpi/ec.asl @@ -319,9 +319,11 @@ #include "ac.asl" #include "lid.asl"
+#if CONFIG(BOARD_STARLABS_LABTOP_CML) Method(_Q45) // SMM Mode { SMB2 = 0xC1 } +#endif } }