nb/intel/sandybridge: Add comment to TC_RWP write

Change-Id: I164daa59696f2fe8de3a4b3e7da46c7c723778eb
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48602
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-12-12 13:54:37 +01:00 committed by Felix Held
parent 30791639f8
commit 4d192820cd
1 changed files with 4 additions and 0 deletions

View File

@ -1885,6 +1885,10 @@ int write_training(ramctr_timing *ctrl)
int channel, slotrank; int channel, slotrank;
int err; int err;
/*
* Set the DEC_WRD bit, required for the write flyby algorithm.
* Needs to be done before starting the write training procedure.
*/
FOR_ALL_POPULATED_CHANNELS FOR_ALL_POPULATED_CHANNELS
MCHBAR32_OR(TC_RWP_ch(channel), 1 << 27); MCHBAR32_OR(TC_RWP_ch(channel), 1 << 27);