coreboot-kgpe-d16/src/mainboard/asrock/h110m
Angel Pons e1269a7f21 skylake DDR4 boards: Set CaVrefConfig to 2
The `CaVrefConfig` FSP-M UPD describes how the on-die Vref generators
are connected to the DRAM. With the exception of an early Skylake RVP
board (which doesn't have coreboot support), mainboards using DDR3 or
LPDDR3 memory should set `CaVrefConfig` to 0, whereas mainboards with
DDR4 should set `CaVrefConfig` to 2. MRC uses this information during
memory training, so it is important to use the correct value to avoid
any issues, such as increased power usage, system instability or even
boot failures.

However, several Skylake DDR4 mainboards don't set `CaVrefConfig` to 2.
Although they can boot successfully, it's not optimal. For boards that
set `DIMM_SPD_SIZE` to 512 (DDR4 SPD size), set `CaVrefConfig` to 2.

Change-Id: Idab77daff311584b3e3061e9bf107c2fc1b7bdf1
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57262
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
2021-09-17 01:05:20 +00:00
..
acpi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
include soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
board_info.txt
bootblock.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cmos.default
cmos.layout mb/**/cmos.layout: Drop copy-pasted SNB entries on non-SNB 2020-11-24 17:47:15 +00:00
data.vbt
devicetree.cb soc/intel/common: Use CHIPSET_LOCKDOWN_COREBOOT by default 2021-08-28 18:21:26 +00:00
dsdt.asl ACPI: Add top-level ASL 2021-01-27 15:35:13 +00:00
gma-mainboard.ads treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
hda_verb.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig src/*: Specify type of DIMM_SPD_SIZE once 2021-09-03 00:10:33 +00:00
Kconfig.name
mainboard.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Makefile.inc src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
ramstage.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
romstage.c skylake DDR4 boards: Set CaVrefConfig to 2 2021-09-17 01:05:20 +00:00