nb/intel/sandybridge: Use the MC_BIOS_DATA define

Change-Id: I177f419d2675ebda5c231a257bed8baf56e13291
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38029
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Angel Pons 2019-12-31 14:26:23 +01:00 committed by Felix Held
parent 2a9a49b7ba
commit 3473f76e90
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ static void report_memory_config(void)
addr_decode_ch[1] = MCHBAR32(MAD_DIMM_CH1); addr_decode_ch[1] = MCHBAR32(MAD_DIMM_CH1);
printk(BIOS_DEBUG, "memcfg DDR3 clock %d MHz\n", printk(BIOS_DEBUG, "memcfg DDR3 clock %d MHz\n",
(MCHBAR32(0x5e04) * 13333 * 2 + 50)/100); (MCHBAR32(MC_BIOS_DATA) * 13333 * 2 + 50)/100);
printk(BIOS_DEBUG, "memcfg channel assignment: A: %d, B % d, C % d\n", printk(BIOS_DEBUG, "memcfg channel assignment: A: %d, B % d, C % d\n",
addr_decoder_common & 3, addr_decoder_common & 3,
(addr_decoder_common >> 2) & 3, (addr_decoder_common >> 2) & 3,