![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <cbfs.h>
#include <console/console.h>
#include <mainboard/google/auron/variant.h>
#include <southbridge/intel/lynxpoint/lp_gpio.h>
#include <soc/pei_data.h>
#include <soc/pei_wrapper.h>
#include <string.h>
#include <types.h>
Go to the source code of this file.
Macros | |
#define | SPD_DRAM_TYPE 2 |
#define | SPD_DRAM_DDR3 0x0b |
#define | SPD_DRAM_LPDDR3 0xf1 |
#define | SPD_DENSITY_BANKS 4 |
#define | SPD_ADDRESSING 5 |
#define | SPD_ORGANIZATION 7 |
#define | SPD_BUS_DEV_WIDTH 8 |
#define | SPD_PART_OFF 128 |
#define | SPD_PART_LEN 18 |
#define | SPD_LEN 256 |
Functions | |
static void | mainboard_print_spd_info (uint8_t spd[]) |
static void | fill_spd_for_index (uint8_t spd[], unsigned int spd_index) |
void | mainboard_fill_spd_data (struct pei_data *pei_data) |
Definition at line 74 of file spd.c.
References BIOS_DEBUG, BIOS_ERR, cbfs_map(), die(), mainboard_print_spd_info(), memcpy(), printk, spd_index, and SPD_LEN.
Referenced by mainboard_fill_spd_data().
Definition at line 102 of file spd.c.
References pei_data::dimm_channel1_disabled, fill_spd_for_index(), memcpy(), pei_data::spd_data, spd_index, SPD_LEN, variant_get_spd_index(), and variant_is_dual_channel().
Referenced by perform_raminit().
Definition at line 24 of file spd.c.
References BIOS_INFO, memcpy(), printk, SPD_ADDRESSING, SPD_BUS_DEV_WIDTH, SPD_DENSITY_BANKS, SPD_DRAM_DDR3, SPD_DRAM_LPDDR3, SPD_DRAM_TYPE, SPD_ORGANIZATION, SPD_PART_LEN, and SPD_PART_OFF.
Referenced by fill_spd_for_index().