aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants/nami/Makefile.inc
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2018-05-30 20:13:24 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-06-06 10:28:59 +0000
commit528448e3fc5c82e982817b81b643084977db9cdf (patch)
treed227feeaeb081a7a1209cd0de60b99d96b39e8a0 /src/mainboard/google/poppy/variants/nami/Makefile.inc
parent088f09dc2f11141bc66e56028c26204e8afb3217 (diff)
mb/google/poppy/variants/nami: Fix Elan touchscreen power off sequence
Power off does not seem to use the ACPI _OFF function, but rather the smihandler. Creating variant_smi_sleep function for nami to handle the power off sequence during reboot/power off. BUG=b:78311818 BRANCH=None TEST=Run "poweroff" command from AP console with SMI_DEBUG enabled Make sure delays are consistent with spec Change-Id: Ifeea545fe268be249793b3e508c51f5e4c1a3460 Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://review.coreboot.org/26724 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/poppy/variants/nami/Makefile.inc')
-rw-r--r--src/mainboard/google/poppy/variants/nami/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/Makefile.inc b/src/mainboard/google/poppy/variants/nami/Makefile.inc
index 618011caef..8fc0264ccf 100644
--- a/src/mainboard/google/poppy/variants/nami/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/nami/Makefile.inc
@@ -35,6 +35,8 @@ ramstage-y += gpio.c
ramstage-y += nhlt.c
ramstage-y += mainboard.c
+smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
+
# Add OEM ID table
cbfs-files-y += oem.bin
oem.bin-file := $(call strip_quotes,$(CONFIG_OEM_BIN_FILE))