nb/intel/haswell: Use macro for dimm->bus_width
Change-Id: Ice91a20470c107f7db0ac83301488ae5afed5a8b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43584 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
ffa58cfc12
commit
7d964aed3b
|
@ -215,7 +215,7 @@ void setup_sdram_meminfo(struct pei_data *pei_data)
|
||||||
(pei_data->spd_data[dimm_cnt][SPD_DIMM_MOD_ID2] << 8) |
|
(pei_data->spd_data[dimm_cnt][SPD_DIMM_MOD_ID2] << 8) |
|
||||||
(pei_data->spd_data[dimm_cnt][SPD_DIMM_MOD_ID1] & 0xff);
|
(pei_data->spd_data[dimm_cnt][SPD_DIMM_MOD_ID1] & 0xff);
|
||||||
dimm->mod_type = SPD_SODIMM;
|
dimm->mod_type = SPD_SODIMM;
|
||||||
dimm->bus_width = 0x3; /* 64-bit */
|
dimm->bus_width = MEMORY_BUS_WIDTH_64;
|
||||||
dimm_cnt++;
|
dimm_cnt++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue