nb/intel/sandybridge/raminit: Fix dual DIMM command rate
commit58d16af91862a964db24b575b9110c767a975916
authorPatrick Rudolph <siro@das-labor.org>
Mon, 19 Jun 2017 17:33:12 +0000 (19 19:33 +0200)
committerMartin Roth <martinroth@google.com>
Thu, 22 Jun 2017 15:21:14 +0000 (22 15:21 +0000)
tree7b3b333dd40f40a14dbae265526156f45022ea81
parentacac02d5d27c74c690353f8a62a3e3cad8947b56
nb/intel/sandybridge/raminit: Fix dual DIMM command rate

On boards that are able to take two DIMMs per channel the
command rate should be 2T. It is possible to use 1T with
load reduced "1T" DIMMs, but it's not clear how to detect
those DIMMs. Raminit might fail for those who do not have
such DIMMS installed.

Hardcode command rate of 2T to make sure raminit works on
dual DIMM per channel boards (currently only desktop boards).

The command rate of 1T is still tested if only 1 DIMM per
channel is present.

Will decrease performance on quad slot mainboards, if two DIMMs
are installed in one channel and previously 1T have been selected.

Tested on ASRock B75 Pro3-M.

Change-Id: I029d01092fd0e11390cebcd94ca6f23bf0ee2cab
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/20270
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
src/northbridge/intel/sandybridge/raminit_common.c