Update AMD F14 Agesa to support Rev C0 cpus
[coreboot.git] / src / vendorcode / amd / agesa / f14 / Proc / GNB / Modules / GnbPcieInitLibV1 / PcieUtilityLib.c
index ef868203ddd6fd3d29282fa79ff6c0f215202b86..00fca7885782a536e046b741507bdd0a1d62aa01 100644 (file)
@@ -303,7 +303,7 @@ PcieUtilGetEngineLaneBitMap (
   if ((IncludeLaneType & LANE_TYPE_DDI_LANES) && Engine->EngineData.EngineType == PcieDdiEngine) {
     if (PcieLibIsEngineAllocated (Engine)) {
       if (IncludeLaneType & (LANE_TYPE_DDI_ALLOCATED | LANE_TYPE_DDI_ALL)) {
-        LaneOffset = PcieUtilGetLoPhyLane (Engine) - PcieEngineGetParentWrapper (Engine)->StartPhyLane;
+        LaneOffset = PcieLibGetLoPhyLane (Engine) - PcieEngineGetParentWrapper (Engine)->StartPhyLane;
         LaneBitmap |= ((1 << PcieConfigGetNumberOfPhyLane (Engine)) - 1) << LaneOffset;
       }
       if (IncludeLaneType & LANE_TYPE_DDI_ACTIVE) {