From 489ff7ef877abaa956e66e2c35e128f999570607 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Thu, 17 Apr 2014 23:41:19 -0500 Subject: hp/pavilion_m6_1035dx: Shutdown when lid is closed on non-ACPI OS This is handled by generating an SMI when GEVENT22 goes low. This pin is driven by the EC when the lid opens or closes. This SMI is disabled when switching to ACPI mode, so ACPI OSes are not affected. Change-Id: I38193572bf0416fd642002dba94c19257f0f6f5b Signed-off-by: Alexandru Gagniuc Reviewed-on: http://review.coreboot.org/171 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/hp/pavilion_m6_1035dx/ec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/hp/pavilion_m6_1035dx/ec.h') diff --git a/src/mainboard/hp/pavilion_m6_1035dx/ec.h b/src/mainboard/hp/pavilion_m6_1035dx/ec.h index 579bf7eba8..7eb4d06d2f 100644 --- a/src/mainboard/hp/pavilion_m6_1035dx/ec.h +++ b/src/mainboard/hp/pavilion_m6_1035dx/ec.h @@ -7,6 +7,7 @@ #define _MAINBOARD_HP_PAVILION_M6_1035DX_EC_H #define EC_SMI_GEVENT 23 +#define EC_LID_GEVENT 22 #ifndef __SMM__ void pavilion_m6_1035dx_ec_init(void); -- cgit v1.2.3