![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <bootmode.h>
#include <boot/coreboot_tables.h>
#include <ec/google/chromeec/ec.h>
#include <gpio.h>
#include <types.h>
#include <soc/gpio.h>
#include <variant/gpio.h>
Go to the source code of this file.
Functions | |
void | fill_lb_gpios (struct lb_gpios *gpios) |
int | get_write_protect_state (void) |
Only used if CONFIG(CHROMEOS) is set. More... | |
int __weak | get_lid_switch (void) |
int | get_ec_is_trusted (void) |
Definition at line 11 of file chromeos.c.
References ACTIVE_HIGH, ARRAY_SIZE, get_lid_switch(), gfx_get_init_done(), and lb_add_gpios().
int get_ec_is_trusted | ( | void | ) |
Definition at line 32 of file chromeos.c.
Definition at line 27 of file chromeos.c.
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.
CONFIG(EC_GOOGLE_CHROMEEC_SWITCHES)
Definition at line 22 of file chromeos.c.