summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/slippy/chromeos.c')
-rw-r--r--src/mainboard/google/slippy/chromeos.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/slippy/chromeos.c b/src/mainboard/google/slippy/chromeos.c
index 4fffd45b35..11d41cd441 100644
--- a/src/mainboard/google/slippy/chromeos.c
+++ b/src/mainboard/google/slippy/chromeos.c
@@ -30,3 +30,9 @@ void mainboard_chromeos_acpi_generate(void)
{
chromeos_acpi_gpio_generate(cros_gpios, ARRAY_SIZE(cros_gpios));
}
+
+int get_ec_is_trusted(void)
+{
+ /* EC is trusted if not in RW. */
+ return !get_gpio(14);
+}