summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/ec.h
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@scarletltd.com>2017-06-18 17:35:27 -0600
committerMartin Roth <martinroth@google.com>2017-07-31 17:30:10 +0000
commita8754bd2a362071ef8db21907beb8d7040eb71e1 (patch)
tree5c54f742492bb4837b08b9e39c021b18ba579037 /src/mainboard/google/kahlee/ec.h
parent257db58bdb06994e6082afff047e1a3d2ad8fe9a (diff)
downloadcoreboot-a8754bd2a362071ef8db21907beb8d7040eb71e1.tar.xz
google/kahlee: Add EC and GNVS ACPI
Add ACPI support for the Google EC, which requires GNVS support for passing information from the EC to firmware and OS. Change-Id: I0a308bcd608a135cc9633273a05527f020b60743 Signed-off-by: Marc Jones <marc.jones@scarletltd.com> Reviewed-on: https://review.coreboot.org/20276 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/kahlee/ec.h')
-rw-r--r--src/mainboard/google/kahlee/ec.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/kahlee/ec.h b/src/mainboard/google/kahlee/ec.h
index 5b7740bbee..b8b5af802a 100644
--- a/src/mainboard/google/kahlee/ec.h
+++ b/src/mainboard/google/kahlee/ec.h
@@ -17,7 +17,6 @@
#define MAINBOARD_EC_H
#include <ec/ec.h>
-#include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/ec_commands.h>
/* GPIO_S0_000 is EC_SCI#, but it is bit 24 in GPE_STS */
@@ -59,4 +58,12 @@
EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_SHUTDOWN) |\
EC_HOST_EVENT_MASK(EC_HOST_EVENT_PANIC))
+/* Enable LID switch */
+#define EC_ENABLE_LID_SWITCH
+
+#define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */
+#define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */
+#define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */
+#define SIO_EC_ENABLE_COM1 /* Enable Serial Port 1 */
+
#endif