diff options
Diffstat (limited to 'src/mainboard/google/veyron/chromeos.c')
-rw-r--r-- | src/mainboard/google/veyron/chromeos.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/veyron/chromeos.c b/src/mainboard/google/veyron/chromeos.c index cdea2cebe0..9374dc4d4a 100644 --- a/src/mainboard/google/veyron/chromeos.c +++ b/src/mainboard/google/veyron/chromeos.c @@ -56,3 +56,9 @@ int get_write_protect_state(void) { return !gpio_get(GPIO_WP); } + +int get_ec_is_trusted(void) +{ + /* EC is trusted if not in RW. */ + return !gpio_get(GPIO_ECINRW); +} |