![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <bootmode.h>
#include <device/i2c_simple.h>
#include <soc/i2c.h>
#include <soc/reg_access.h>
#include <spi_flash.h>
#include <security/vboot/vboot_common.h>
#include <security/vboot/vbnv.h>
#include "reg_access.h"
#include "gen1.h"
#include "gen2.h"
Go to the source code of this file.
Functions | |
int | get_recovery_mode_switch (void) |
HACK: Use Fn-Key as recovery mode switch. More... | |
int | get_write_protect_state (void) |
Only used if CONFIG(CHROMEOS) is set. More... | |
void | verstage_mainboard_init (void) |
void __weak | vboot_platform_prepare_reboot (void) |
int | vbnv_cmos_failed (void) |
int get_recovery_mode_switch | ( | void | ) |
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.
int vbnv_cmos_failed | ( | void | ) |
Definition at line 78 of file vboot.c.
Referenced by check_cmos_recovery(), and verify_psp_transfer_buf().
Definition at line 52 of file vboot.c.
References CONFIG, GALILEO_DETERMINE_IOEXP_SLA_RESUMEWELL_GPIO, gen1_tpm_reset_0x20, gen1_tpm_reset_0x21, gen2_tpm_reset, R_QNC_GPIO_RGLVL_RESUME_WELL, reg_legacy_gpio_read(), and reg_script_run().
Definition at line 26 of file vboot.c.
References CONFIG, GALILEO_DETERMINE_IOEXP_SLA_RESUMEWELL_GPIO, gen1_i2c_0x20_init, gen1_i2c_0x21_init, gen2_i2c_init, R_QNC_GPIO_RGLVL_RESUME_WELL, reg_legacy_gpio_read(), and reg_script_run().