10 #include <vendorcode/google/chromeos/chromeos.h>
17 struct lb_gpio chromeos_gpios[] = {
27 if (
CONFIG(EC_GOOGLE_CHROMEEC))
37 if (
CONFIG(EC_GOOGLE_CHROMEEC)) {
void fill_lb_gpios(struct lb_gpios *gpios)
int get_write_protect_state(void)
Only used if CONFIG(CHROMEOS) is set.
int gfx_get_init_done(void)
uint64_t google_chromeec_get_events_b(void)
uint8_t google_chromeec_get_switches(void)
#define EC_SWITCH_LID_OPEN
@ EC_HOST_EVENT_KEYBOARD_RECOVERY
#define EC_HOST_EVENT_MASK(event_code)
#define EC_SWITCH_DEDICATED_RECOVERY
DECLARE_CROS_GPIOS(cros_gpios)
int get_ec_is_trusted(void)
int get_recovery_mode_switch(void)
HACK: Use Fn-Key as recovery mode switch.
void lb_add_gpios(struct lb_gpios *gpios, const struct lb_gpio *gpio_table, size_t count)
static const struct cros_gpio cros_gpios[]
#define CROS_GPIO_DEVICE_NAME