From 61cd5bfae493607a434df91fc582ab1ffd36b3cc Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Thu, 23 Jun 2011 19:12:25 +0200 Subject: T60: handle EC events in SMM if ACPI is disabled Change-Id: I6f9e90015cafef3da896453ef8e3588434ae3554 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/89 Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/t60/acpi/video.asl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/lenovo/t60/acpi/video.asl') diff --git a/src/mainboard/lenovo/t60/acpi/video.asl b/src/mainboard/lenovo/t60/acpi/video.asl index c2f9dfb459..9a458e90f6 100644 --- a/src/mainboard/lenovo/t60/acpi/video.asl +++ b/src/mainboard/lenovo/t60/acpi/video.asl @@ -19,6 +19,8 @@ * MA 02110-1301 USA */ +#include "smi.h" + Device (DSPC) { Name (_ADR, 0x00020001) @@ -31,6 +33,7 @@ Device (DSPC) Method(BRTD, 0, NotSerialized) { + Trap(SMI_BRIGHTNESS_DOWN) Store(BRTC, Local0) if (LGreater (Local0, 15)) { @@ -41,6 +44,7 @@ Device (DSPC) Method(BRTU, 0, NotSerialized) { + Trap(SMI_BRIGHTNESS_UP) Store (BRTC, Local0) if (LLess(Local0, 0xff)) { -- cgit v1.2.3