Matt Delco has uploaded this change for review. ( https://review.coreboot.org/28108
Change subject: ec/google/chromec/acpi: switch tablet device from .h to Kconfig ......................................................................
ec/google/chromec/acpi: switch tablet device from .h to Kconfig
The ACPI tablet mode device was previously enabled by setting a #define in an ec.h file. Prior changes have (if correct) set an analogous setting in Kconfig. This change changes the compile-time check to be based on Kconfig rather than ec.h.
Change-Id: Ie7d7301c2a11c3ae32b870b724018832200b49eb Signed-off-by: Matt Delco delco@chromium.org --- M src/ec/google/chromeec/acpi/ec.asl 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/28108/1
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl index 94917dd..90ff62f 100644 --- a/src/ec/google/chromeec/acpi/ec.asl +++ b/src/ec/google/chromeec/acpi/ec.asl @@ -374,7 +374,7 @@ #ifdef EC_ENABLE_TABLET_EVENT _SB.DPTF.TPET() #endif -#ifdef EC_ENABLE_TBMC_DEVICE +#if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC_ACPI_TABLET_DEVICE) Notify (TBMC, 0x80) #endif } @@ -547,7 +547,7 @@ #include "pd.asl" #endif
-#ifdef EC_ENABLE_TBMC_DEVICE +#if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC_ACPI_TABLET_DEVICE) #include "tbmc.asl" #endif }