soc/intel/cannonlake: Disable CpuRatio and SaGv in recovery
commit52b5b587f1bc5d23d20959f1cae664038d6a42ea
authorDuncan Laurie <dlaurie@google.com>
Wed, 23 Jan 2019 22:55:47 +0000 (23 14:55 -0800)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 25 Jan 2019 11:22:06 +0000 (25 11:22 +0000)
tree4f4ec6c9d30ec51a825f945a4b6174509c56e88e
parent38e40414d250abfdc7213e6dfa11beb8d7082489
soc/intel/cannonlake: Disable CpuRatio and SaGv in recovery

Disabling CpuRatio UPD for FSP will ensure it does not force a
hard reset to set the CPU Flex Ratio at boot.  This is important
in a recovery mode boot where the SOC will lose power and need
to set the flex ratio again.

Disabling SaGv makes recovery mode training faster and mirrors
the setting that was done on Skylake.

BUG=b:123305400
TEST=reliably enter recovery mode on sarien

Change-Id: Ie9664493a980af9acce82faff81f4c4b1355be73
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/31055
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/soc/intel/cannonlake/romstage/fsp_params.c