12 #include <vendorcode/google/chromeos/chromeos.h>
19 struct lb_gpio chromeos_gpios[] = {
57 static int ec_in_rec_mode;
58 static int ec_rec_flag_good;
61 return ec_in_rec_mode;
74 return ec_in_rec_mode;
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)
#define printk(level,...)
#define EC_IN_RECOVERY_MODE
DECLARE_CROS_GPIOS(cros_gpios)
int get_recovery_mode_switch(void)
HACK: Use Fn-Key as recovery mode switch.
static const struct cros_gpio cros_gpios[]
int get_gpio(int community_base, int pad0_offset)
void lb_add_gpios(struct lb_gpios *gpios, const struct lb_gpio *gpio_table, size_t count)
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.
static __always_inline uint8_t pci_s_read_config8(pci_devfn_t dev, uint16_t reg)
#define PCI_DEV(SEGBUS, DEV, FN)
#define CROS_GPIO_DEVICE_NAME