soc/intel/{apl,cnl,dnv,skl}: Skip ucode loading by FSP-T
commit24ab1c5db6a48f27d1541f8f356127a14111358e
authorSubrata Banik <subrata.banik@intel.com>
Mon, 25 Nov 2019 06:27:28 +0000 (25 11:57 +0530)
committerSubrata Banik <subrata.banik@intel.com>
Tue, 26 Nov 2019 11:55:10 +0000 (26 11:55 +0000)
treec063631796d2955bd3821802fb2cf457b12e6574
parent0d2dbcab5f08329567c2acbf54bcb7bd9ad5a8f6
soc/intel/{apl,cnl,dnv,skl}: Skip ucode loading by FSP-T

It is a requirement for Firmware to have Firmware Interface Table (FIT),
which contains pointers to each microcode update.
The microcode update is loaded for all logical processors before reset vector.

FSPT_UPD.MicrocodeRegionBase and FSPT_UPD.MicrocodeRegionLength are
input parameters to TempRamInit API.
If these values are 0, FSP will not attempt to update microcode.

Since Gen-4 all IA-SoC has FIT loading ucode even before cpu reset in place
hence skipping FSP-T loading ucode after CPU reset options.

Also removed unused kconfig CONFIG_CPU_MICROCODE_CBFS_LOC and
CONFIG_CPU_MICROCODE_CBFS_LEN

Change-Id: I3a406fa0e2e62e3363c2960e173dc5f5f5ca0455
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37187
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: David Guckian
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/cpu/Makefile.inc
src/drivers/intel/fsp2_0/Kconfig
src/soc/intel/apollolake/fspcar.c
src/soc/intel/cannonlake/bootblock/bootblock.c
src/soc/intel/denverton_ns/Kconfig
src/soc/intel/denverton_ns/bootblock/bootblock.c
src/soc/intel/skylake/fspcar.c