mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: 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).
BUG=none
BRANCH=none
TEST=none
Change-Id: I9983d6c92b2729c602f4de1a593bd250e1fc80e4
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 3c8cb97ea7
Original-Change-Id: I899db907cd2d2197fd81eda4c4656fb1e570c18f
Original-Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Original-Reviewed-on: https://review.coreboot.org/17610
Original-Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Original-Tested-by: build bot (Jenkins)
Reviewed-on: https://chromium-review.googlesource.com/472706
This commit is contained in:
parent
bfcd91ee1c
commit
b7a905b22a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue