coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <assert.h>
#include <cbfs.h>
#include <cbmem.h>
#include <cf9_reset.h>
#include <console/console.h>
#include <device/pci_def.h>
#include <memory_info.h>
#include <mrc_cache.h>
#include <string.h>
#include <soc/iomap.h>
#include <soc/pei_data.h>
#include <soc/pei_wrapper.h>
#include <soc/pm.h>
#include <soc/romstage.h>
#include <soc/systemagent.h>
#include <timestamp.h>
Go to the source code of this file.
Functions | |
static void | save_mrc_data (struct pei_data *pei_data) |
static void | report_memory_config (void) |
static void | sdram_initialize (struct pei_data *pei_data) |
static void | setup_sdram_meminfo (struct pei_data *pei_data) |
void | perform_raminit (const struct chipset_power_state *const power_state) |
Variables | |
static const char *const | ecc_decoder [] |
void perform_raminit | ( | const struct chipset_power_state *const | power_state | ) |
Definition at line 180 of file raminit.c.
References ACPI_S3, BIOS_CRIT, pei_data::boot_mode, cbmem_recovery(), mainboard_fill_pei_data(), mainboard_fill_spd_data(), post_code, power_state, chipset_power_state::prev_sleep_state, printk, save_mrc_data(), sdram_initialize(), setup_sdram_meminfo(), system_reset(), timestamp_add_now(), TS_INITRAM_END, and TS_INITRAM_START.
Definition at line 42 of file raminit.c.
References BIOS_DEBUG, ecc_decoder, MAD_CHNL, MAD_DIMM, MC_BIOS_DATA, mchbar_read32(), NUM_CHANNELS, and printk.
Referenced by init_dram_ddr3(), and sdram_initialize().
Definition at line 20 of file raminit.c.
References BIOS_DEBUG, pei_data::data_to_save, pei_data::data_to_save_size, mrc_cache_stash_data(), MRC_TRAINING_DATA, NULL, and printk.
Referenced by perform_raminit().
Definition at line 84 of file raminit.c.
References ACPI_S3, assert, BIOS_DEBUG, pei_data::boot_mode, broadwell_fill_pei_data(), cbfs_ro_map(), CONFIG, die(), pei_data::disable_saved_data, mchbar_read32(), mrc_cache_current_mmap_leak(), MRC_REVISION, MRC_TRAINING_DATA, NULL, post_code, POST_RESUME_FAILURE, printk, report_memory_config(), pei_data::saved_data, pei_data::saved_data_size, system_reset(), and version.
Definition at line 141 of file raminit.c.
References dimm_info::bank_locator, pei_dimm_info::bank_locator, BIOS_DEBUG, BIOS_ERR, dimm_info::bus_width, pei_dimm_info::bus_width, cbmem_add(), CBMEM_ID_MEMINFO, dimm_info::channel_num, pei_dimm_info::channel_num, dimm_info::ddr_frequency, pei_dimm_info::ddr_frequency, dimm_info::ddr_type, pei_dimm_info::ddr_type, memory_info::dimm, pei_memory_info::dimm, memory_info::dimm_cnt, pei_memory_info::dimm_cnt, DIMM_INFO_PART_NUMBER_SIZE, DIMM_INFO_TOTAL, dimm_info::dimm_num, pei_dimm_info::dimm_num, dimm_info::dimm_size, pei_dimm_info::dimm_size, memcpy(), pei_data::meminfo, memset(), MIN, dimm_info::mod_id, pei_dimm_info::mod_id, dimm_info::mod_type, pei_dimm_info::mod_type, dimm_info::module_part_number, pei_dimm_info::module_part_number, PEI_DIMM_INFO_TOTAL, printk, dimm_info::rank_per_dimm, pei_dimm_info::rank_per_dimm, dimm_info::serial, and pei_dimm_info::serial.
Referenced by perform_raminit().
|
static |
Definition at line 31 of file raminit.c.
Referenced by report_memory_config().