summaryrefslogtreecommitdiff
path: root/src/mainboard/google/glados/variants/sentry/include/variant/ec.h
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2018-07-07 19:08:44 -0500
committerMartin Roth <martinroth@google.com>2018-07-24 12:04:26 +0000
commit57dd0733699e5994ac3481cb4913ae5cea8ac857 (patch)
tree1ab3269ae38308f50dbdd98b915f4c94ba1b6593 /src/mainboard/google/glados/variants/sentry/include/variant/ec.h
parent4966a8c136eb12a0a3dc15a531d71eafb191fdf0 (diff)
downloadcoreboot-57dd0733699e5994ac3481cb4913ae5cea8ac857.tar.xz
google/sentry: Add as a variant of glados
Add google/sentry (Lenovo Thinkpad 13 Chromebook) as a variant of glados Skylake reference board: - add sentry-specific DPTF, EC config, GPIO config, Kconfig, NHLT config, PEI data, VBT, SPD data, and devicetree - add sentry-specific GPIO determination of which audio codec is present Adapted from Chromium branch firmware-glados-7820.B, commit b0c3efe54d877246d07f2467b2dff51cc30348fa [soc/intel/skylake: Enable VMX] Test: build/boot google/sentry, verify correct functionality Change-Id: I783422aedac8b7fc52098eebd05b2061a1011b60 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/27418 Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Youness Alaoui <snifikino@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/glados/variants/sentry/include/variant/ec.h')
-rw-r--r--src/mainboard/google/glados/variants/sentry/include/variant/ec.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/google/glados/variants/sentry/include/variant/ec.h b/src/mainboard/google/glados/variants/sentry/include/variant/ec.h
new file mode 100644
index 0000000000..f56154bab9
--- /dev/null
+++ b/src/mainboard/google/glados/variants/sentry/include/variant/ec.h
@@ -0,0 +1,17 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2015 Google Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+/* Enable EC backed ALS device in ACPI */
+#define EC_ENABLE_ALS_DEVICE