nb/intel/haswell: Drop unnecessary register read
Reading MAD_CHNL has no effect, so there's no need to read it here. Change-Id: I8d2aa4787de7f54f49d161f61c9c0abaa811cb83 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46361 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
ac02814478
commit
6fe7986daf
|
@ -227,8 +227,6 @@ void setup_sdram_meminfo(struct pei_data *pei_data)
|
|||
|
||||
memset(mem_info, 0, sizeof(struct memory_info));
|
||||
|
||||
/* FIXME: Do we need to read MCHBAR32(MAD_CHNL) ? (Answer: Nope) */
|
||||
MCHBAR32(MAD_CHNL);
|
||||
addr_decode_ch[0] = MCHBAR32(MAD_DIMM_CH0);
|
||||
addr_decode_ch[1] = MCHBAR32(MAD_DIMM_CH1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue