From 528448e3fc5c82e982817b81b643084977db9cdf Mon Sep 17 00:00:00 2001 From: Shelley Chen Date: Wed, 30 May 2018 20:13:24 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/26724 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- .../google/poppy/variants/baseboard/include/baseboard/variants.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/google/poppy/variants/baseboard') diff --git a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h index 97cb0fef2e..7e850b6e78 100644 --- a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/variants.h @@ -54,6 +54,7 @@ void variant_memory_params(struct memory_params *p); int variant_memory_sku(void); void variant_devtree_update(void); uint32_t variant_board_sku(void); +void variant_smi_sleep(u8 slp_typ); struct nhlt; void variant_nhlt_init(struct nhlt *nhlt); -- cgit v1.2.3