[RPL/ADL] L2 CAT not getting enabled when TCC enabled.

FspsUpdUpdateLIb was not enabling FspsUpd->FspsConfig.L2QosEnumerationEn
based on PLATFORM_ADLS, which is no longer used. L2QosEnumerationEn is
present in ADL-P,S,PS, and RPL-S,P FSP UPD, just not ADL-N, so need to
prevent compiling this code for that platform only.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
This commit is contained in:
Bejean Mosher 2022-10-26 11:52:48 -04:00 committed by Guo Dong
parent 5bb0cd48bb
commit 31fe742339
2 changed files with 2 additions and 1 deletions

View File

@ -468,7 +468,7 @@ TccModePostMemConfig (
if (IsPchS ()) {
FspsUpd->FspsConfig.TccMode = 1;
#ifdef PLATFORM_ADLS
#if FixedPcdGet8(PcdAdlNSupport) == 0
FspsUpd->FspsConfig.L2QosEnumerationEn = 1;
#endif
}

View File

@ -49,3 +49,4 @@
[FixedPcd]
gPlatformCommonLibTokenSpaceGuid.PcdTccEnabled
gPlatformAlderLakeTokenSpaceGuid.PcdAdlLpSupport
gPlatformAlderLakeTokenSpaceGuid.PcdAdlNSupport