![]() |
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 <gpio.h>
#include <security/tpm/tis.h>
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 | tis_plat_irq_status (void) |
int | get_ec_is_trusted (void) |
Definition at line 22 of file chromeos.c.
References ACTIVE_HIGH, ACTIVE_LOW, ARRAY_SIZE, GPIO_EC_AP_INT, GPIO_EC_IN_RW, GPIO_EN_SPK_AMP, GPIO_H1_AP_INT, GPIO_SD_CD, and lb_add_gpios().
int get_ec_is_trusted | ( | void | ) |
Definition at line 44 of file chromeos.c.
References GPIO_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 34 of file chromeos.c.
References gpio_get(), and GPIO_WP.
Definition at line 10 of file chromeos.c.
References GPIO_EC_AP_INT, GPIO_EC_IN_RW, GPIO_EN_SPK_AMP, GPIO_H1_AP_INT, gpio_input(), gpio_input_pullup(), gpio_output(), GPIO_RESET, GPIO_SD_CD, GPIO_WP, and GPIO_XHCI_DONE.
Referenced by bootblock_mainboard_init(), and mainboard_early_init().
int tis_plat_irq_status | ( | void | ) |
Definition at line 39 of file chromeos.c.
References gpio_eint_poll(), and GPIO_H1_AP_INT.