diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/system.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h index fb31e54268..82dda5fff3 100644 --- a/include/system.h +++ b/include/system.h @@ -260,4 +260,11 @@ void system_hibernate(uint32_t seconds, uint32_t microseconds); /* Minimum duration to get proper hibernation */ #define SYSTEM_HIB_MINIMUM_DURATION 0, 150000 +/** + * Get/Set console force enable status. This is only supported/used on platform + * with CONFIG_CONSOLE_RESTRICTED_INPUT defined. + */ +int system_get_console_force_enabled(void); +int system_set_console_force_enabled(int enabled); + #endif /* __CROS_EC_SYSTEM_H */ |