nb/intel/ironlake: Fix some quickpath init magic
commitfa5ed059eb6fef1aa1681fbc7b38052b2028c1ac
authorAngel Pons <th3fanbus@gmail.com>
Sat, 18 Dec 2021 21:25:07 +0000 (18 22:25 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 24 Feb 2022 01:18:56 +0000 (24 01:18 +0000)
tree6dc67b2015e4f45b3cf842bda771d23ffd0c0848
parente2531ffaa87be5c26005ff986db8492a03f809e3
nb/intel/ironlake: Fix some quickpath init magic

Correct some Quickpath initialisation steps according to findings from
two different Intel reference code binaries as well as MCHBAR register
dump comparisons between vendor firmware and coreboot.

The MSR_TURBO_POWER_CURRENT_LIMIT information comes from EDK2 sources.

Tested on Apple iMac 10,1 (Clarkdale, aka desktop Ironlake), QPI init
now completes successfully instead of causing hangs before raminit.
Also tested on HP ProBook 6550b (Arrandale, aka mobile Ironlake), still
reaches payload (e.g. TianoCore).

Change-Id: Icd0139aa588dc8d948c03132b5c86866d90f3231
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60216
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
src/cpu/intel/model_2065x/model_2065x.h
src/northbridge/intel/ironlake/quickpath.c
src/northbridge/intel/ironlake/raminit.c