9 #ifndef DEVICE_DRAM_DDR3L_H
10 #define DEVICE_DRAM_DDR3L_H
27 #define SPD_DIMM_MOD_ID1 117
28 #define SPD_DIMM_MOD_ID2 118
29 #define SPD_DIMM_SERIAL_NUM 122
30 #define SPD_DIMM_SERIAL_LEN 4
31 #define SPD_DIMM_PART_NUM 128
32 #define SPD_DIMM_PART_LEN 18
167 const u16 selected_freq,
cb_err
coreboot error codes
static struct smmstore_params_info info
@ SPD_DDR3_DIMM_TYPE_SO_DIMM
@ SPD_DDR3_DIMM_TYPE_72B_SO_CDIMM
@ SPD_DDR3_DIMM_TYPE_LRDIMM
@ SPD_DDR3_DIMM_TYPE_72B_SO_UDIMM
@ SPD_DDR3_DIMM_TYPE_32B_SO_DIMM
@ SPD_DDR3_DIMM_TYPE_16B_SO_DIMM
@ SPD_DDR3_DIMM_TYPE_72B_SO_RDIMM
@ SPD_DDR3_DIMM_TYPE_MINI_RDIMM
@ SPD_DDR3_DIMM_TYPE_MICRO_DIMM
@ SPD_DDR3_DIMM_TYPE_MINI_UDIMM
@ SPD_DDR3_DIMM_TYPE_MASK
@ SPD_DDR3_DIMM_TYPE_UNDEFINED
@ SPD_DDR3_DIMM_TYPE_RDIMM
@ SPD_DDR3_DIMM_TYPE_UDIMM
@ SPD_DDR3_DIMM_TYPE_MINI_CDIMM
int spd_dimm_is_registered_ddr3(enum spd_dimm_type_ddr3 type)
Checks if the DIMM is Registered based on byte[3] of the SPD.
enum cb_err spd_add_smbios17(const u8 channel, const u8 slot, const u16 selected_freq, const struct dimm_attr_ddr3_st *info)
Fill cbmem with information for SMBIOS type 17.
void dram_print_spd_ddr3(const struct dimm_attr_ddr3_st *dimm)
Print the info in DIMM.
int spd_xmp_decode_ddr3(struct dimm_attr_ddr3_st *dimm, spd_raw_data spd, enum ddr3_xmp_profile profile)
Decode the raw SPD XMP data.
u16 spd_ddr3_calc_crc(u8 *spd, int len)
Calculate the CRC of a DDR3 SPD.
u16 spd_ddr3_calc_unique_crc(u8 *spd, int len)
Calculate the CRC of a DDR3 SPD unique identifier.
#define SPD_DIMM_SERIAL_LEN
int spd_decode_ddr3(struct dimm_attr_ddr3_st *dimm, spd_raw_data spd_data)
Decode the raw SPD data.
static u8 spd_data[CONFIG_DIMM_MAX *CONFIG_DIMM_SPD_SIZE]
union dimm_flags_ddr3_st flags
enum spd_memory_type dram_type
u8 serial[SPD_DIMM_SERIAL_LEN]
enum spd_dimm_type_ddr3 dimm_type
unsigned int rzq7_supported
unsigned int operable_1_25V
unsigned int rzq6_supported
unsigned int operable_1_50V
unsigned int pins_mirrored
unsigned int dll_off_mode
unsigned int operable_1_35V
unsigned int ext_temp_range
unsigned int therm_sensor
unsigned int ext_temp_refresh