![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/romstage.h>
#include <arch/symbols.h>
#include <console/console.h>
#include <cbmem.h>
#include "../chip.h"
#include <fsp/util.h>
#include <soc/iomap.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/romstage.h>
#include <soc/reg_access.h>
#include <soc/storage_test.h>
Go to the source code of this file.
Functions | |
void | mainboard_romstage_entry (void) |
struct chipset_power_state * | get_power_state (void) |
int | fill_power_state (void) |
void | platform_fsp_memory_init_params_cb (FSPM_UPD *fspm_upd, uint32_t version) |
Variables | |
static struct chipset_power_state | power_state |
int fill_power_state | ( | void | ) |
Definition at line 56 of file fsp_params.c.
References ACPI_BASE_ADDRESS, BIOS_DEBUG, BIOS_SPEW, chipset_prev_sleep_state(), GEN_PMCON1, chipset_power_state::gen_pmcon1, GEN_PMCON2, chipset_power_state::gen_pmcon2, GPE0_EN, chipset_power_state::gpe0_en, GPE0_STS, chipset_power_state::gpe0_sts, inl(), inw(), PM1_CNT, chipset_power_state::pm1_cnt, PM1_EN, chipset_power_state::pm1_en, PM1_STS, chipset_power_state::pm1_sts, PMC_BASE_ADDRESS, power_state, chipset_power_state::prev_sleep_state, printk, PRSTS, chipset_power_state::prsts, read32(), TCO_STS, and chipset_power_state::tco_sts.
Referenced by mainboard_romstage_entry().
struct chipset_power_state* get_power_state | ( | void | ) |
Definition at line 51 of file fsp_params.c.
References power_state.
Referenced by clear_smi_and_wake_events().
Definition at line 16 of file fsp_params.c.
References ACPI_S3, CONFIG, console_init(), disable_rom_shadow(), fill_power_state(), fsp_memory_init(), PCI_DEV, pcie_init(), post_code, SD_MMC_DEV, SD_MMC_FUNC, storage_test(), storage_test_complete(), and storage_test_init().
Definition at line 64 of file fsp_params.c.
References _car_unallocated_start, _ecar_stack, BIOS_SPEW, cbmem_overhead_size(), clear_smi_and_wake_events(), config, CONFIG, config_of_soc, console_log_level(), die_with_post_code, FSP_BOOT_WITH_FULL_CONFIGURATION, FSP_M_CONFIG, fsp_write_line(), locate_rmu_file(), POST_INVALID_CBFS, and printk.
|
static |
Definition at line 16 of file fsp_params.c.
Referenced by fill_power_state(), and get_power_state().