![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Functions | |
void | setup_chromeos_gpios (void) |
void | fill_lb_gpios (struct lb_gpios *gpios) |
int | get_write_protect_state (void) |
Only used if CONFIG(CHROMEOS) is set. More... | |
int | get_ec_is_trusted (void) |
Definition at line 21 of file chromeos.c.
References ACTIVE_HIGH, ACTIVE_LOW, ARRAY_SIZE, CR50_IRQ, EC_IN_RW, EC_IRQ, lb_add_gpios(), LID, and POWER_BUTTON.
int get_ec_is_trusted | ( | void | ) |
Definition at line 38 of file chromeos.c.
References EC_IN_RW, and gpio_get().
int get_write_protect_state | ( | void | ) |
Only used if CONFIG(CHROMEOS) is set.
Always zero as the WP pin of the flash is tied high.
Definition at line 33 of file chromeos.c.
References gpio_get(), and WRITE_PROTECT.
Definition at line 10 of file chromeos.c.
References board_id(), EC_IN_RW, EC_IRQ, EC_SUSPEND_L, gpio_input(), gpio_input_pullup(), gpio_output(), LID, POWER_BUTTON, and WRITE_PROTECT.