nb/intel/sandybridge/raminit: Fix normalize_training
Remove cross rank/cross channel dependency. I guess this is a mistake that could lead to instabilities. Tested on Lenovo T430 (Intel IvyBridge). Change-Id: I899db907cd2d2197fd81eda4c4656fb1e570c18f Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/17610 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
7dee97454a
commit
3c8cb97ea7
|
@ -3023,10 +3023,11 @@ int discover_timC_write(ramctr_timing *ctrl)
|
|||
void normalize_training(ramctr_timing * ctrl)
|
||||
{
|
||||
int channel, slotrank, lane;
|
||||
int mat = 0;
|
||||
int mat;
|
||||
|
||||
FOR_ALL_CHANNELS FOR_ALL_POPULATED_RANKS {
|
||||
int delta;
|
||||
mat = 0;
|
||||
FOR_ALL_LANES mat =
|
||||
max(ctrl->timings[channel][slotrank].lanes[lane].timA, mat);
|
||||
printram("normalize %d, %d, %d: mat %d\n",
|
||||
|
|
Loading…
Reference in New Issue