audk/IntelFsp2WrapperPkg/Library
Lou, Yun fe5da0927a IntelFsp2WrapperPkg: Remove microcode related PCDs
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3334

IntelFsp2WrapperPkg defines following PCDs:
  PcdCpuMicrocodePatchAddress
  PcdCpuMicrocodePatchRegionSize
  PcdFlashMicrocodeOffset

But the PCD name caused confusion because UefiCpuPkg defines:
  PcdCpuMicrocodePatchAddress
  PcdCpuMicrocodePatchRegionSize

PcdCpuMicrocodePatchAddress in IntelFsp2WrapperPkg means the base
address of the FV that holds the microcode.
PcdCpuMicrocodePatchAddress in UefiCpuPkg means the address of the
microcode.

The relationship between the PCDs is:
IntelFsp2WrapperPkg.PcdCpuMicrocodePatchAddress
 +  IntelFsp2WrapperPkg.PcdFlashMicrocodeOffset
 == UefiCpuPkg.PcdCpuMicrocodePatchAddress

IntelFsp2WrapperPkg.PcdCpuMicrocodePatchRegionSize
 -  IntelFsp2WrapperPkg.PcdFlashMicrocodeOffset
 == UefiCpuPkg.PcdCpuMicrocodePatchRegionSize

To avoid confusion and actually the PCDs in IntelFsp2WrapperPkg
are only used by a sample FSP-T wrapper, this patch removes
the 3 PCDs defined in IntelFsp2WrapperPkg.

The FSP-T wrapper is updated to directly use the ones in UefiCpuPkg.

Signed-off-by: Jason Lou <yun.lou@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2021-05-31 03:14:08 +00:00
..
BaseFspMeasurementLib IntelFsp2WrapperPkg/FspMeasurementLib: Add BaseFspMeasurementLib. 2020-08-26 15:56:11 +00:00
BaseFspWrapperApiLib IntelFsp2WrapperPkg: Fix various typos 2019-12-11 01:42:31 +00:00
BaseFspWrapperApiTestLibNull IntelFsp2WrapperPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:03 -07:00
BaseFspWrapperPlatformLibSample IntelFsp2WrapperPkg: Fix various typos 2019-12-11 01:42:31 +00:00
PeiFspWrapperApiTestLib IntelFsp2WrapperPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:03 -07:00
PeiFspWrapperHobProcessLibSample IntelFsp2WrapperPkg: Fix various typos 2019-12-11 01:42:31 +00:00
SecFspWrapperPlatformSecLibSample IntelFsp2WrapperPkg: Remove microcode related PCDs 2021-05-31 03:14:08 +00:00