nb/intel/sandybridge/raminit: Fix odt stretch
commit19c3dad0ad9fb5e8c20b6c98431601250c029540
authorPatrick Rudolph <siro@das-labor.org>
Sat, 26 Nov 2016 10:37:45 +0000 (26 11:37 +0100)
committerMartin Roth <martinroth@google.com>
Fri, 7 Apr 2017 18:01:17 +0000 (7 20:01 +0200)
tree2066ff1dcdcfa392b13935c30d4f0c2b0b24ad4f
parent77db3e153bca631c542e0f1ea54920bbb9f24ec1
nb/intel/sandybridge/raminit: Fix odt stretch

Move odt stretch into own function.
Apply workaround on SandyBridge C-stepping CPU only.
Apply odt stretch on all other CPU types.
Don't depend on empty DIMM detection, as in case one slot
is empty ref_card_offset is zero.

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