7 #include <variant/gpio.h>
9 #include <vendorcode/google/chromeos/chromeos.h>
14 #include <soc/pci_devs.h>
24 struct lb_gpio chromeos_gpios[] = {
73 saved_rec_mode =
state;
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)
int get_ec_is_trusted(void)
int get_recovery_mode_switch(void)
HACK: Use Fn-Key as recovery mode switch.
void mainboard_prepare_cr50_reset(void)
static bool raw_get_recovery_mode_switch(void)
void lb_add_gpios(struct lb_gpios *gpios, const struct lb_gpio *gpio_table, size_t count)
int gpio_get(gpio_t gpio)
#define ENV_SEPARATE_VERSTAGE
uint32_t tlcl_cr50_get_recovery_button(uint8_t *recovery_button_state)
CR50 specific tpm command to get the latched state of the recovery button.
void pmc_soc_set_afterg3_en(const bool on)