summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-04-01 04:13:26 +1100
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-04-15 17:23:37 +0200
commite07cb65c20bdbb7f51c8e617969a956ec0ac8363 (patch)
tree77ffddfd0da048bf73de7859daf0ff7552a47535
parent00b61460301514ea44d847f6b6617e5f9091a8cb (diff)
downloadcoreboot-e07cb65c20bdbb7f51c8e617969a956ec0ac8363.tar.xz
vendorcode/amd/agesa/fam14: Build as a static library
Following the same reasoning as commit ee905a8 vendorcode/amd/agesa/fam15tn: Build as a static library Since AGESA is stage-independent, we can build it just once, and use the resulting static library in both rom and ram stages. Change-Id: I8b78c462f4963fbb3a40d739196529fffedccb4c Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5441 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r--src/cpu/amd/agesa/family14/Makefile.inc257
-rw-r--r--src/vendorcode/amd/agesa/f14/Makefile.inc262
2 files changed, 261 insertions, 258 deletions
diff --git a/src/cpu/amd/agesa/family14/Makefile.inc b/src/cpu/amd/agesa/family14/Makefile.inc
index 57631b23e1..c3f1ecc782 100644
--- a/src/cpu/amd/agesa/family14/Makefile.inc
+++ b/src/cpu/amd/agesa/family14/Makefile.inc
@@ -20,262 +20,6 @@
ramstage-y += chip_name.c
ramstage-y += model_14_init.c
-AGESA_ROOT = ../../../../vendorcode/amd/agesa/f14
-
-agesa_lib_src = $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxConfig/GfxConfigPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxConfig/GfxConfigEnv.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/Family/0x14/F14NbLclkDpm.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieAlibV1/PcieAlib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieSiliconServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibPciAcc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibHeap.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibCpuAcc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxInitLibV1/GfxCardInfo.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibIoAcc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxInitLibV1/GfxPowerPlayTable.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig/PcieMapTopology.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig/PcieInputParser.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig/PcieConfigData.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieTrainingV1/PcieWorkarounds.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibMemAcc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieTrainingV1/PcieTraining.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxInitLibV1/GfxEnumConnectors.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTimer.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePifServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspmExitLatency.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieWrapperRegAcc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig/PcieConfigLib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortRegAcc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspmBlackList.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePowerMgmt.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspm.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibPci.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieSbLink.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14PerCorePciTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14BrandIdFt1.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/0x14/F14PcieAlib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/F14IoCstate.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuIoCstate.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnprotoon.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/F14MicrocodePatch0500000B.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/F14MicrocodePatch0500001A.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/F14MicrocodePatch05000028.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/F14MicrocodePatch05000101.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/0x14/F14PciePifServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/ON/F14OnInitEarlyTable.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuInitEarlyTable.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/Family/0x14/F14NbLclkNclkRatio.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/Family/0x14/F14NbSmu.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInitAtEnv.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInitAtPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/Feature/NbLclkDpm.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/Feature/NbFuseTable.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/Family/0x14/F14NbPowerGate.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Common/GnbLibFeatures.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14Pstate.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuC6State.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/F14C6State.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmMemRestore.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mm.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuCommonF14Utilities.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/ON/F14OnEquivalenceTable.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mttml.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtrci3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/GnbInitAtReset.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnmcton.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuCacheInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mttdimbt.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtsdi3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mthdi.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/GnbInitAtEarly.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14PowerMgmtSystemTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/0x14/F14PcieWrapperServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mnfeat.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmStandardTraining.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/Fam14/htNbUtilitiesFam14.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuBist.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmParallelTraining.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/LVDDR3/mflvddr3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/0x14/F14PcieComplexConfig.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14PowerPlane.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14LowPowerInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mnreg.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnflowon.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/CHINTLV/mfchi.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxInitAtMidPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14CacheDefaults.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Ps/ON/mpuon3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cahalt.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cahaltasm.S
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mt.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/ON/F14OnMicrocodePatchTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/ON/F14OnPciTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PciePortInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mnflow.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuFeatureLeveling.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mttoptsrc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/PARTRN/mfParallelTraining.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxInitAtPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmEcc.c
-agesa_lib_src += $(AGESA_ROOT)/Legacy/Proc/Dispatcher.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/MEMCLR/mfmemclr.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14WheaInitDataTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuDmi.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mttsrc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mnmct.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/htInterfaceNonCoherent.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnidendimmon.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuSrat.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdS3LateRestore.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Table.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/0x14/F14PcieComplexServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14Utilities.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/htInterface.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxStrapsInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtEarly.c
-agesa_lib_src += $(AGESA_ROOT)/Lib/amdlib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuCacheFlushOnHalt.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuCpb.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/minit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/0x14/F14PciePhyServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/GnbInitAtLate.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnoton.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/INTLVRN/mfintlvrn.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/IDENDIMM/mfidendimm.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmflow.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Ardk/ma.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/CommonInits.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuPstateLeveling.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mndcton.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdInitPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxGmcInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuBrandId.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mnphy.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdInitEnv.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmConditionalPso.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/GnbInitAtPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/CommonReturns.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuPowerMgmt.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdInitResume.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14PowerCheck.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14Dmi.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnregon.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxIntegratedInfoTableInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdInitEarly.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuFamilyTranslation.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuPostInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mn.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxInitAtEnvPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuHwC1e.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuLateInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/CreateStruct.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuWhea.c
-agesa_lib_src += $(AGESA_ROOT)/Lib/helper.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/CSINTLV/mfcsi.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/ECC/mfecc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/DMI/mfDMI.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Ps/ON/mpson3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdLateRunApTask.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuPowerMgmtMultiSocket.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmUmaAlloc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuPstateTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14PciTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuPowerMgmtSingleSocket.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/GnbInitAtMid.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mt3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/EXCLUDIMM/mfdimmexclud.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmExcludeDimm.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInitAtEarlyPost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/htInterfaceGeneral.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/S3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuFeatures.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Ps/mp.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mdef.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mtthrc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuGeneralServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/htNb.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuSlit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/ECC/mfemp.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtLatePost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmNodeInterleave.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/Fam14/htNbFam14.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxConfigData.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/ON/mmflowon.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdInitReset.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14MsrTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInitAtLatePost.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mttEdgeDetect.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxRegisterAcc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdInitLate.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/htFeat.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtReset.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/ON/F14OnLogicalIdTables.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/ON/F14OnCpb.c
-agesa_lib_src += $(AGESA_ROOT)/Legacy/Proc/hobTransfer.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuApicUtilities.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/GnbInitAtEnv.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuEventLog.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/htInterfaceCoherent.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/muc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmLvDdr3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuMicrocodePatch.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/mttecc.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14SoftwareThermal.c
-agesa_lib_src += $(AGESA_ROOT)/Legacy/Proc/agesaCallouts.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnon.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/ODTHERMAL/mfodthermal.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/PARTRN/mfStandardTraining.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mndct.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmOnlineSpare.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuEarlyInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnphyon.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/merrhdl.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdS3Save.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtspd3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Family/0x14/cpuF14BrandId.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/htMain.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/cpuWarmReset.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbConfigData.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mttwl3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/Feature/cpuPstateGather.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtot3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mmMemClr.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Ardk/ON/mauon3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/TABLE/mftds.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Ardk/ON/mason3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Feat/S3/mfs3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/HT/htNotify.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mnS3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/CPU/heapManager.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mttecc3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/ON/mnS3on.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/AmdInitMid.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/NB/mntrain3.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/Family/0x14/F14GfxServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/S3SaveState.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Common/S3RestoreState.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieLateInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PciePortLateInit.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieMiscLib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbSmuLib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtEnv.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/Family/0x14/F14NbServices.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxLib.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/GNB/Nb/NbPowerMgmt.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Recovery/HT/htInitReset.c
-agesa_lib_src += $(AGESA_ROOT)/Proc/Mem/Main/mu.c
-
-romstage-y += $(agesa_lib_src)
-ramstage-y += $(agesa_lib_src)
-
subdirs-y += ../../mtrr
subdirs-y += ../../../x86/tsc
subdirs-y += ../../../x86/lapic
@@ -283,4 +27,3 @@ subdirs-y += ../../../x86/cache
subdirs-y += ../../../x86/mtrr
subdirs-y += ../../../x86/pae
subdirs-y += ../../../x86/smm
-
diff --git a/src/vendorcode/amd/agesa/f14/Makefile.inc b/src/vendorcode/amd/agesa/f14/Makefile.inc
index 6a266ec72d..f4572773c4 100644
--- a/src/vendorcode/amd/agesa/f14/Makefile.inc
+++ b/src/vendorcode/amd/agesa/f14/Makefile.inc
@@ -68,4 +68,264 @@ export AGESA_ROOT := $(AGESA_ROOT)
export AGESA_INC := $(AGESA_INC)
export AGESA_CFLAGS := $(AGESA_CFLAGS)
CC := $(CC) $(AGESA_INC) $(AGESA_CFLAGS)
-####################################################################### \ No newline at end of file
+#######################################################################
+
+classes-y += libagesa
+
+libagesa-y = Proc/GNB/Modules/GnbGfxConfig/GfxConfigPost.c
+libagesa-y += Proc/GNB/Modules/GnbGfxConfig/GfxConfigEnv.c
+libagesa-y += Proc/GNB/Nb/Family/0x14/F14NbLclkDpm.c
+libagesa-y += Proc/GNB/Modules/GnbPcieAlibV1/PcieAlib.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieSiliconServices.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibPciAcc.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibHeap.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibCpuAcc.c
+libagesa-y += Proc/GNB/Modules/GnbGfxInitLibV1/GfxCardInfo.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibIoAcc.c
+libagesa-y += Proc/GNB/Modules/GnbGfxInitLibV1/GfxPowerPlayTable.c
+libagesa-y += Proc/GNB/Modules/GnbPcieConfig/PcieMapTopology.c
+libagesa-y += Proc/GNB/Modules/GnbPcieConfig/PcieInputParser.c
+libagesa-y += Proc/GNB/Modules/GnbPcieConfig/PcieConfigData.c
+libagesa-y += Proc/GNB/Modules/GnbPcieTrainingV1/PcieWorkarounds.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibMemAcc.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c
+libagesa-y += Proc/GNB/Modules/GnbPcieTrainingV1/PcieTraining.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c
+libagesa-y += Proc/GNB/Modules/GnbGfxInitLibV1/GfxEnumConnectors.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieTimer.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePifServices.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspmExitLatency.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieWrapperRegAcc.c
+libagesa-y += Proc/GNB/Modules/GnbPcieConfig/PcieConfigLib.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePortRegAcc.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspmBlackList.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePowerMgmt.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspm.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibPci.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieSbLink.c
+libagesa-y += Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLib.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14PerCorePciTables.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14BrandIdFt1.c
+libagesa-y += Proc/GNB/Nb/NbInitAtPost.c
+libagesa-y += Proc/GNB/PCIe/Family/0x14/F14PcieAlib.c
+libagesa-y += Proc/CPU/Family/0x14/F14IoCstate.c
+libagesa-y += Proc/CPU/Feature/cpuIoCstate.c
+libagesa-y += Proc/Mem/NB/ON/mnprotoon.c
+libagesa-y += Proc/CPU/Family/0x14/F14MicrocodePatch0500000B.c
+libagesa-y += Proc/CPU/Family/0x14/F14MicrocodePatch0500001A.c
+libagesa-y += Proc/CPU/Family/0x14/F14MicrocodePatch05000028.c
+libagesa-y += Proc/CPU/Family/0x14/F14MicrocodePatch05000101.c
+libagesa-y += Proc/GNB/PCIe/Family/0x14/F14PciePifServices.c
+libagesa-y += Proc/CPU/Family/0x14/ON/F14OnInitEarlyTable.c
+libagesa-y += Proc/CPU/cpuInitEarlyTable.c
+libagesa-y += Proc/GNB/Nb/Family/0x14/F14NbLclkNclkRatio.c
+libagesa-y += Proc/GNB/Nb/Family/0x14/F14NbSmu.c
+libagesa-y += Proc/GNB/PCIe/PcieInitAtEnv.c
+libagesa-y += Proc/GNB/PCIe/PcieInitAtPost.c
+libagesa-y += Proc/GNB/Nb/Feature/NbLclkDpm.c
+libagesa-y += Proc/GNB/Nb/Feature/NbFuseTable.c
+libagesa-y += Proc/GNB/Nb/Family/0x14/F14NbPowerGate.c
+libagesa-y += Proc/GNB/Common/GnbLibFeatures.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14Pstate.c
+libagesa-y += Proc/CPU/Feature/cpuC6State.c
+libagesa-y += Proc/CPU/Family/0x14/F14C6State.c
+libagesa-y += Proc/Mem/Main/mmMemRestore.c
+libagesa-y += Proc/Mem/Main/mm.c
+libagesa-y += Proc/CPU/Family/0x14/cpuCommonF14Utilities.c
+libagesa-y += Proc/CPU/Family/0x14/ON/F14OnEquivalenceTable.c
+libagesa-y += Proc/Mem/Tech/mttml.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtrci3.c
+libagesa-y += Proc/GNB/GnbInitAtReset.c
+libagesa-y += Proc/Mem/NB/ON/mnmcton.c
+libagesa-y += Proc/CPU/Feature/cpuCacheInit.c
+libagesa-y += Proc/Mem/Tech/mttdimbt.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtsdi3.c
+libagesa-y += Proc/Mem/Tech/mthdi.c
+libagesa-y += Proc/GNB/GnbInitAtEarly.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14PowerMgmtSystemTables.c
+libagesa-y += Proc/GNB/PCIe/Family/0x14/F14PcieWrapperServices.c
+libagesa-y += Proc/Mem/NB/mnfeat.c
+libagesa-y += Proc/Mem/Main/mmStandardTraining.c
+libagesa-y += Proc/HT/Fam14/htNbUtilitiesFam14.c
+libagesa-y += Proc/CPU/cpuBist.c
+libagesa-y += Proc/Mem/Main/mmParallelTraining.c
+libagesa-y += Proc/Mem/Feat/LVDDR3/mflvddr3.c
+libagesa-y += Proc/GNB/PCIe/Family/0x14/F14PcieComplexConfig.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14PowerPlane.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14LowPowerInit.c
+libagesa-y += Proc/Mem/NB/mnreg.c
+libagesa-y += Proc/Mem/NB/ON/mnflowon.c
+libagesa-y += Proc/Mem/Feat/CHINTLV/mfchi.c
+libagesa-y += Proc/GNB/PCIe/PcieInit.c
+libagesa-y += Proc/GNB/Gfx/GfxInitAtMidPost.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14CacheDefaults.c
+libagesa-y += Proc/Mem/Ps/ON/mpuon3.c
+libagesa-y += Proc/CPU/cahalt.c
+libagesa-y += Proc/CPU/cahaltasm.S
+libagesa-y += Proc/Mem/Tech/mt.c
+libagesa-y += Proc/CPU/Family/0x14/ON/F14OnMicrocodePatchTables.c
+libagesa-y += Proc/CPU/Family/0x14/ON/F14OnPciTables.c
+libagesa-y += Proc/GNB/PCIe/PciePortInit.c
+libagesa-y += Proc/Mem/NB/mnflow.c
+libagesa-y += Proc/CPU/Feature/cpuFeatureLeveling.c
+libagesa-y += Proc/Mem/Tech/mttoptsrc.c
+libagesa-y += Proc/Mem/Feat/PARTRN/mfParallelTraining.c
+libagesa-y += Proc/GNB/Gfx/GfxInitAtPost.c
+libagesa-y += Proc/Mem/Main/mmEcc.c
+libagesa-y += Legacy/Proc/Dispatcher.c
+libagesa-y += Proc/Mem/Feat/MEMCLR/mfmemclr.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14WheaInitDataTables.c
+libagesa-y += Proc/CPU/Feature/cpuDmi.c
+libagesa-y += Proc/Mem/Tech/mttsrc.c
+libagesa-y += Proc/Mem/NB/mnmct.c
+libagesa-y += Proc/HT/htInterfaceNonCoherent.c
+libagesa-y += Proc/Mem/NB/ON/mnidendimmon.c
+libagesa-y += Proc/CPU/Feature/cpuSrat.c
+libagesa-y += Proc/Common/AmdS3LateRestore.c
+libagesa-y += Proc/CPU/Table.c
+libagesa-y += Proc/GNB/PCIe/Family/0x14/F14PcieComplexServices.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14Utilities.c
+libagesa-y += Proc/HT/htInterface.c
+libagesa-y += Proc/GNB/Gfx/GfxStrapsInit.c
+libagesa-y += Proc/GNB/Nb/NbInitAtEarly.c
+libagesa-y += Lib/amdlib.c
+libagesa-y += Proc/CPU/Feature/cpuCacheFlushOnHalt.c
+libagesa-y += Proc/CPU/Feature/cpuCpb.c
+libagesa-y += Proc/Mem/Main/minit.c
+libagesa-y += Proc/GNB/PCIe/Family/0x14/F14PciePhyServices.c
+libagesa-y += Proc/GNB/GnbInitAtLate.c
+libagesa-y += Proc/Mem/NB/ON/mnoton.c
+libagesa-y += Proc/Mem/Feat/INTLVRN/mfintlvrn.c
+libagesa-y += Proc/GNB/Nb/NbInit.c
+libagesa-y += Proc/Mem/Feat/IDENDIMM/mfidendimm.c
+libagesa-y += Proc/Mem/Main/mmflow.c
+libagesa-y += Proc/Mem/Ardk/ma.c
+libagesa-y += Proc/Common/CommonInits.c
+libagesa-y += Proc/CPU/Feature/cpuPstateLeveling.c
+libagesa-y += Proc/Mem/NB/ON/mndcton.c
+libagesa-y += Proc/Common/AmdInitPost.c
+libagesa-y += Proc/GNB/Gfx/GfxGmcInit.c
+libagesa-y += Proc/CPU/cpuBrandId.c
+libagesa-y += Proc/Mem/NB/mnphy.c
+libagesa-y += Proc/Common/AmdInitEnv.c
+libagesa-y += Proc/Mem/Main/mmConditionalPso.c
+libagesa-y += Proc/GNB/GnbInitAtPost.c
+libagesa-y += Proc/Common/CommonReturns.c
+libagesa-y += Proc/CPU/cpuPowerMgmt.c
+libagesa-y += Proc/Common/AmdInitResume.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14PowerCheck.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14Dmi.c
+libagesa-y += Proc/Mem/NB/ON/mnregon.c
+libagesa-y += Proc/GNB/Gfx/GfxIntegratedInfoTableInit.c
+libagesa-y += Proc/Common/AmdInitEarly.c
+libagesa-y += Proc/CPU/cpuFamilyTranslation.c
+libagesa-y += Proc/CPU/cpuPostInit.c
+libagesa-y += Proc/Mem/NB/mn.c
+libagesa-y += Proc/GNB/Gfx/GfxInitAtEnvPost.c
+libagesa-y += Proc/CPU/Feature/cpuHwC1e.c
+libagesa-y += Proc/CPU/cpuLateInit.c
+libagesa-y += Proc/Common/CreateStruct.c
+libagesa-y += Proc/CPU/Feature/cpuWhea.c
+libagesa-y += Lib/helper.c
+libagesa-y += Proc/Mem/Feat/CSINTLV/mfcsi.c
+libagesa-y += Proc/Mem/Feat/ECC/mfecc.c
+libagesa-y += Proc/Mem/Feat/DMI/mfDMI.c
+libagesa-y += Proc/Mem/Ps/ON/mpson3.c
+libagesa-y += Proc/Common/AmdLateRunApTask.c
+libagesa-y += Proc/CPU/cpuPowerMgmtMultiSocket.c
+libagesa-y += Proc/Mem/Main/mmUmaAlloc.c
+libagesa-y += Proc/CPU/Feature/cpuPstateTables.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14PciTables.c
+libagesa-y += Proc/CPU/cpuPowerMgmtSingleSocket.c
+libagesa-y += Proc/GNB/GnbInitAtMid.c
+libagesa-y += Proc/Mem/Tech/DDR3/mt3.c
+libagesa-y += Proc/Mem/Feat/EXCLUDIMM/mfdimmexclud.c
+libagesa-y += Proc/Mem/Main/mmExcludeDimm.c
+libagesa-y += Proc/GNB/PCIe/PcieInitAtEarlyPost.c
+libagesa-y += Proc/HT/htInterfaceGeneral.c
+libagesa-y += Proc/CPU/S3.c
+libagesa-y += Proc/CPU/Feature/cpuFeatures.c
+libagesa-y += Proc/Mem/Ps/mp.c
+libagesa-y += Proc/Mem/Main/mdef.c
+libagesa-y += Proc/Mem/Tech/mtthrc.c
+libagesa-y += Proc/CPU/cpuGeneralServices.c
+libagesa-y += Proc/HT/htNb.c
+libagesa-y += Proc/CPU/Feature/cpuSlit.c
+libagesa-y += Proc/Mem/Feat/ECC/mfemp.c
+libagesa-y += Proc/GNB/Nb/NbInitAtLatePost.c
+libagesa-y += Proc/Mem/Main/mmNodeInterleave.c
+libagesa-y += Proc/HT/Fam14/htNbFam14.c
+libagesa-y += Proc/GNB/Gfx/GfxConfigData.c
+libagesa-y += Proc/Mem/Main/ON/mmflowon.c
+libagesa-y += Proc/Common/AmdInitReset.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14MsrTables.c
+libagesa-y += Proc/GNB/PCIe/PcieInitAtLatePost.c
+libagesa-y += Proc/Mem/Tech/mttEdgeDetect.c
+libagesa-y += Proc/GNB/Gfx/GfxRegisterAcc.c
+libagesa-y += Proc/Common/AmdInitLate.c
+libagesa-y += Proc/HT/htFeat.c
+libagesa-y += Proc/GNB/Nb/NbInitAtReset.c
+libagesa-y += Proc/CPU/Family/0x14/ON/F14OnLogicalIdTables.c
+libagesa-y += Proc/CPU/Family/0x14/ON/F14OnCpb.c
+libagesa-y += Legacy/Proc/hobTransfer.c
+libagesa-y += Proc/CPU/cpuApicUtilities.c
+libagesa-y += Proc/GNB/GnbInitAtEnv.c
+libagesa-y += Proc/CPU/cpuEventLog.c
+libagesa-y += Proc/HT/htInterfaceCoherent.c
+libagesa-y += Proc/Mem/Main/muc.c
+libagesa-y += Proc/Mem/Main/mmLvDdr3.c
+libagesa-y += Proc/CPU/cpuMicrocodePatch.c
+libagesa-y += Proc/Mem/Tech/mttecc.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14SoftwareThermal.c
+libagesa-y += Legacy/Proc/agesaCallouts.c
+libagesa-y += Proc/Mem/NB/ON/mnon.c
+libagesa-y += Proc/Mem/Feat/ODTHERMAL/mfodthermal.c
+libagesa-y += Proc/Mem/Feat/PARTRN/mfStandardTraining.c
+libagesa-y += Proc/Mem/NB/mndct.c
+libagesa-y += Proc/Mem/Main/mmOnlineSpare.c
+libagesa-y += Proc/CPU/cpuEarlyInit.c
+libagesa-y += Proc/Mem/NB/ON/mnphyon.c
+libagesa-y += Proc/Mem/Main/merrhdl.c
+libagesa-y += Proc/Common/AmdS3Save.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtspd3.c
+libagesa-y += Proc/CPU/Family/0x14/cpuF14BrandId.c
+libagesa-y += Proc/HT/htMain.c
+libagesa-y += Proc/CPU/cpuWarmReset.c
+libagesa-y += Proc/GNB/Nb/NbConfigData.c
+libagesa-y += Proc/Mem/Tech/DDR3/mttwl3.c
+libagesa-y += Proc/CPU/Feature/cpuPstateGather.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtot3.c
+libagesa-y += Proc/Mem/Main/mmMemClr.c
+libagesa-y += Proc/Mem/Ardk/ON/mauon3.c
+libagesa-y += Proc/Mem/Feat/TABLE/mftds.c
+libagesa-y += Proc/Mem/Ardk/ON/mason3.c
+libagesa-y += Proc/Mem/Feat/S3/mfs3.c
+libagesa-y += Proc/HT/htNotify.c
+libagesa-y += Proc/Mem/NB/mnS3.c
+libagesa-y += Proc/CPU/heapManager.c
+libagesa-y += Proc/Mem/Tech/DDR3/mttecc3.c
+libagesa-y += Proc/Mem/NB/ON/mnS3on.c
+libagesa-y += Proc/Common/AmdInitMid.c
+libagesa-y += Proc/Mem/NB/mntrain3.c
+libagesa-y += Proc/GNB/Gfx/Family/0x14/F14GfxServices.c
+libagesa-y += Proc/Common/S3SaveState.c
+libagesa-y += Proc/Common/S3RestoreState.c
+libagesa-y += Proc/GNB/PCIe/PcieLateInit.c
+libagesa-y += Proc/GNB/PCIe/PciePortLateInit.c
+libagesa-y += Proc/GNB/PCIe/PcieMiscLib.c
+libagesa-y += Proc/GNB/Nb/NbSmuLib.c
+libagesa-y += Proc/GNB/Nb/NbInitAtEnv.c
+libagesa-y += Proc/GNB/Nb/Family/0x14/F14NbServices.c
+libagesa-y += Proc/GNB/Gfx/GfxLib.c
+libagesa-y += Proc/GNB/Nb/NbPowerMgmt.c
+libagesa-y += Proc/Recovery/HT/htInitReset.c
+libagesa-y += Proc/Mem/Main/mu.c
+
+$(obj)/libagesa.fam14.a: $$(libagesa-objs)
+ @printf " AGESA $(subst $(obj)/,,$(@))\n"
+ ar rcs $@ $+
+
+romstage-libs += $(obj)/libagesa.fam14.a
+ramstage-libs += $(obj)/libagesa.fam14.a