[ADL] Fix Klockwork issues (#1491)

This patch fixed issues reported by Klockwork

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
This commit is contained in:
Raghava Gudla 2022-02-15 00:27:29 -07:00 committed by GitHub
parent 1ef66916df
commit b843980583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -736,8 +736,8 @@ PlatformUpdateAcpiGnvs (
PchNvs->RpAddress[RpNum] = Data32;
DEBUG ((DEBUG_INFO, "RpAddress[%d] = 0x%08X\n", RpNum, PchNvs->RpAddress[RpNum]));
}
// Need to match with FSP-S UPD
}
for (Index = 0; Index < Length; Index++) {
PchNvs->LtrEnable[Index] = FspsConfig->PcieRpLtrEnable[Index];
PchNvs->PcieLtrMaxSnoopLatency[Index] = FspsConfig->PcieRpLtrMaxSnoopLatency[Index];
PchNvs->PcieLtrMaxNoSnoopLatency[Index] = FspsConfig->PcieRpLtrMaxNoSnoopLatency[Index];

View File

@ -11,7 +11,7 @@
//
// PCIe limits
//
#define PCH_MAX_PCIE_ROOT_PORTS 24
#define PCH_MAX_PCIE_ROOT_PORTS 28
//