summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/sandybridge/raminit_sandy.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-03-21 13:23:32 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-23 19:28:14 +0000
commit89ae6b8fc2901b56dd1839a2d569493ce668a32c (patch)
tree7b537bbf2c38c56cff18f38b85f86b52a7c1da04 /src/northbridge/intel/sandybridge/raminit_sandy.c
parenta6a64183d6c5d535df5e62fad419402cd896f03d (diff)
nb/intel/sandybridge: Use cached CPUID
Now that we have it, we might as well pass it around. Tested on Asus P8Z77-V LX2, still boots fine. Change-Id: Ia5aa2f932321983f11d2f8869aa624832afe9347 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39721 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/intel/sandybridge/raminit_sandy.c')
-rw-r--r--src/northbridge/intel/sandybridge/raminit_sandy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit_sandy.c b/src/northbridge/intel/sandybridge/raminit_sandy.c
index c554c3aa89..a823d50398 100644
--- a/src/northbridge/intel/sandybridge/raminit_sandy.c
+++ b/src/northbridge/intel/sandybridge/raminit_sandy.c
@@ -433,7 +433,7 @@ int try_init_dram_ddr3_snb(ramctr_timing *ctrl, int fast_boot, int s3_resume, in
MCHBAR32(SCHED_CBIT) = 0x10100005;
/* Set up watermarks and starvation counter */
- set_wmm_behavior();
+ set_wmm_behavior(ctrl->cpu);
/* Clear IO reset bit */
MCHBAR32(MC_INIT_STATE_G) &= ~(1 << 5);