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:
Elyes HAOUAS 2020-07-19 09:19:59 +02:00 committed by Patrick Georgi
parent ffa58cfc12
commit 7d964aed3b
1 changed files with 1 additions and 1 deletions

View File

@ -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_ID1] & 0xff);
dimm->mod_type = SPD_SODIMM;
dimm->bus_width = 0x3; /* 64-bit */
dimm->bus_width = MEMORY_BUS_WIDTH_64;
dimm_cnt++;
}
}