![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/mrc_wrapper.h>
Go to the source code of this file.
Functions | |
void | mainboard_fill_mrc_params (struct mrc_params *mp) |
void | raminit (struct mrc_params *mp, int prev_sleep_state) |
void | gfx_init (void) |
void | punit_init (void) |
Definition at line 8 of file gfx.c.
References APERTURE_SIZE_256MB, APERTURE_SIZE_MASK, GFX_DEV, GFX_FUNC, GGC, GGC_GSM_SIZE_64MB, GGC_GSM_SIZE_MASK, GGC_GTT_SIZE_2MB, GGC_GTT_SIZE_MASK, GGC_VGA_DISABLE, MSAC, PCI_DEV, pci_read_config32(), pci_read_config8(), pci_write_config32(), and pci_write_config8().
void mainboard_fill_mrc_params | ( | struct mrc_params * | mp | ) |
Definition at line 6 of file romstage.c.
References cbfs_map(), die(), mrc_mainboard_params::dram_data, DRAM_DDR3L, mrc_mainboard_params::dram_info_location, DRAM_INFO_SPD_MEM, DRAM_INFO_SPD_SMBUS, mrc_mainboard_params::dram_is_slotted, mrc_mainboard_params::dram_type, get_spd_pointer(), mrc_params::mainboard, mrc_mainboard_params::spd_addrs, SPD_SIZE, and mrc_mainboard_params::weaker_odt_settings.
Referenced by mainboard_romstage_entry().
Definition at line 17 of file pmc.c.
References BIOS_DEBUG, BIOS_RESET_CPL, BIOS_RESET_CPL_ALL_DONE, BIOS_RESET_CPL_RESET_DONE, config_of_soc, IOSF_BYTE_EN_0, IOSF_OP_WRITE_PMC, IOSF_OPCODE, IOSF_PCI_DEV, IOSF_PORT, IOSF_PORT_PMC, iosf_punit_read(), iosf_punit_write(), IOSF_REG, MCR_REG, MDR_REG, NULL, pci_read_config8(), pci_write_config32(), printk, REVID, RID_C_STEPPING_START, SB_BIOS_CONFIG, SB_BIOS_CONFIG_PDM_MODE, SB_BIOS_CONFIG_PERF_MODE, SB_BIOS_CONFIG_PS2_EN_VCC, SB_BIOS_CONFIG_PS2_EN_VNN, soc_intel_baytrail_config::vcc_ps2_enable, and soc_intel_baytrail_config::vnn_ps2_enable.
void raminit | ( | struct mrc_params * | mp, |
int | prev_sleep_state | ||
) |
Definition at line 119 of file raminit.c.
References ACPI_S3, assert, BIOS_CRIT, BIOS_DEBUG, cbfs_map(), cbmem_recovery(), CONFIG, mrc_params::console_out, mrc_params::data_to_save, mrc_params::data_to_save_size, mrc_mainboard_params::dram_data, mrc_mainboard_params::dram_info_location, DRAM_INFO_SPD_MEM, DRAM_INFO_SPD_SMBUS, enable_smbus(), mrc_params::io_hole_mb, mrc_params::mainboard, mrc_cache_current_mmap_leak(), mrc_cache_stash_data(), MRC_PARAMS_VER, MRC_TRAINING_DATA, NULL, NUM_CHANNELS, post_code, POST_RESUME_FAILURE, mrc_params::prev_sleep_state, prev_sleep_state(), print_dram_info(), printk, mrc_params::rmt_enabled, mrc_params::saved_data, mrc_params::saved_data_size, send_to_console(), mrc_mainboard_params::spd_addrs, spd_buf, SPD_SIZE, system_reset(), and mrc_params::version.