Commit 7ee1c47c authored by Angel Pons's avatar Angel Pons Committed by Nico Huber
Browse files

nb/intel/pineview: Correct HICLKGTCTL write



Reference code uses the `0x06` as an or-mask, which makes more sense.

Change-Id: I04e5262d9ab36ae866fccd90255e4a0f85328e85
Signed-off-by: default avatarAngel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51859

Reviewed-by: default avatarPatrick Rudolph <siro@das-labor.org>
Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
parent 73833188
......@@ -2320,7 +2320,7 @@ static void sdram_powersettings(struct sysinfo *s)
MCHBAR8_AND(CISDCTRL + 3, ~0x80);
MCHBAR16_AND(CICGDIS, ~0x1fff);
MCHBAR32_AND(SBCLKGATECTRL, ~0x0001ffff);
MCHBAR16_AND(HICLKGTCTL, ~0x03ff & 0x06);
MCHBAR16_AND_OR(HICLKGTCTL, ~0x03ff, 0x06);
MCHBAR32_AND_OR(HTCLKGTCTL, ~0xffffffff, 0x20);
MCHBAR8_AND(TSMISC, ~1);
MCHBAR8(C0WRDPYN) = s->selected_timings.CAS - 1 + 0x15;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment