![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <bootstate.h>
#include <intelblocks/cfg.h>
#include <intelblocks/fast_spi.h>
#include <intelblocks/lpc_lib.h>
#include <intelblocks/pcr.h>
#include <intelblocks/systemagent.h>
#include <intelpch/lockdown.h>
#include <intelblocks/gpmr.h>
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/soc_chip.h>
Go to the source code of this file.
Functions | |
int | get_lockdown_config (void) |
static void | gpmr_lockdown_cfg (void) |
static void | fast_spi_lockdown_cfg (int chipset_lockdown) |
static void | lpc_lockdown_config (int chipset_lockdown) |
static void | sa_lockdown_config (int chipset_lockdown) |
static void | platform_lockdown_config (void *unused) |
BOOT_STATE_INIT_ENTRY (BS_DEV_RESOURCES, BS_ON_EXIT, platform_lockdown_config, NULL) | |
BOOT_STATE_INIT_ENTRY | ( | BS_DEV_RESOURCES | , |
BS_ON_EXIT | , | ||
platform_lockdown_config | , | ||
NULL | |||
) |
|
static |
Definition at line 51 of file lockdown.c.
References soc_intel_common_config::chipset_lockdown, CHIPSET_LOCKDOWN_COREBOOT, CONFIG, fast_spi_clear_outstanding_status(), fast_spi_cycle_in_progress(), fast_spi_enable_wp(), fast_spi_lock_bar(), fast_spi_pr_dlock(), fast_spi_set_bios_interface_lock_down(), fast_spi_set_eiss(), fast_spi_set_ext_bios_lock_enable(), fast_spi_set_lock_enable(), fast_spi_set_opcode_menu(), and fast_spi_vscc0_lock().
Referenced by platform_lockdown_config().
int get_lockdown_config | ( | void | ) |
Definition at line 22 of file lockdown.c.
References chip_get_common_soc_structure(), and soc_intel_common_config::chipset_lockdown.
Referenced by fill_fsps_chipset_lockdown_params(), lock_pam0123(), platform_fsp_silicon_init_params_cb(), and platform_lockdown_config().
Definition at line 30 of file lockdown.c.
References GPMR_DMICTL, GPMR_DMICTL_SRLOCK, GPMR_GCS, GPMR_GCS_BILD, and gpmr_or32().
Referenced by platform_lockdown_config().
|
static |
Definition at line 93 of file lockdown.c.
References soc_intel_common_config::chipset_lockdown, CHIPSET_LOCKDOWN_COREBOOT, CONFIG, lpc_enable_wp(), lpc_set_bios_interface_lock_down(), lpc_set_eiss(), and lpc_set_lock_enable().
Referenced by platform_lockdown_config().
Definition at line 126 of file lockdown.c.
References soc_intel_common_config::chipset_lockdown, fast_spi_lockdown_cfg(), get_lockdown_config(), gpmr_lockdown_cfg(), lpc_lockdown_config(), sa_lockdown_config(), and soc_lockdown_config().
|
static |
Definition at line 111 of file lockdown.c.
References soc_intel_common_config::chipset_lockdown, CHIPSET_LOCKDOWN_COREBOOT, CONFIG, and sa_lock_pam().
Referenced by platform_lockdown_config().