3 #ifndef __SOC_INTEL_COMMON_BLOCK_MEMINIT_H__
4 #define __SOC_INTEL_COMMON_BLOCK_MEMINIT_H__
13 #define CHANNEL_COUNT(ch_width) (CONFIG_DATA_BUS_WIDTH / (ch_width))
21 #define MRC_CHANNELS CHANNEL_COUNT(CONFIG_MRC_CHANNEL_WIDTH)
153 if ((curr_ch * 2) < max_ch)
static bool channel_is_populated(size_t curr_ch, size_t max_ch, enum channel_population flags)
void mem_populate_channel_data(FSPM_UPD *memupd, const struct soc_mem_cfg *soc_mem_cfg, const struct mem_spd *spd_info, bool half_populated, struct mem_channel_data *data)
uintptr_t spd[MRC_CHANNELS][CONFIG_DIMMS_PER_CHANNEL]
enum channel_population ch_population_flags
struct mem_spd::@542 smbus[MRC_CHANNELS]
uint8_t addr_dimm[CONFIG_DIMMS_PER_CHANNEL]
size_t phys_to_mrc_map[MRC_CHANNELS]
struct soc_mem_cfg::@543 md_phy_masks