[coreboot-gerrit] New patch to review for coreboot: AGESA f12: Build as libagesa.a

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Tue Apr 19 06:36:30 CEST 2016


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14412

-gerrit

commit 99f3b7884180e78f5a5197f0d8c577c91578828a
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Tue Apr 19 00:18:02 2016 +0300

    AGESA f12: Build as libagesa.a
    
    Change-Id: If48fffee1441b6bb012a8d99abb794f7a35efcf6
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
 src/cpu/amd/agesa/family12/Makefile.inc   | 282 -----------------------------
 src/vendorcode/amd/agesa/f12/Makefile.inc | 292 ++++++++++++++++++++++++++++++
 2 files changed, 292 insertions(+), 282 deletions(-)

diff --git a/src/cpu/amd/agesa/family12/Makefile.inc b/src/cpu/amd/agesa/family12/Makefile.inc
index e372fdf..578e178 100644
--- a/src/cpu/amd/agesa/family12/Makefile.inc
+++ b/src/cpu/amd/agesa/family12/Makefile.inc
@@ -33,288 +33,6 @@ ramstage-y += fixme.c
 ramstage-y += chip_name.c
 ramstage-y += model_12_init.c
 
-AGESA_ROOT = ../../../../vendorcode/amd/agesa/f12
-
-agesa_lib_src   = $(AGESA_ROOT)/Legacy/Proc/agesaCallouts.c
-agesa_lib_src  += $(AGESA_ROOT)/Legacy/Proc/Dispatcher.c
-agesa_lib_src  += $(AGESA_ROOT)/Legacy/Proc/hobTransfer.c
-agesa_lib_src  += $(AGESA_ROOT)/Lib/amdlib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdInitEarly.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdInitEnv.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdInitLate.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdInitMid.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdInitPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdInitReset.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdInitResume.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdLateRunApTask.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdS3LateRestore.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/AmdS3Save.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/CommonInits.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/CommonReturns.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/CreateStruct.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/S3RestoreState.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Common/S3SaveState.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cahalt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuApicUtilities.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuBist.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuBrandId.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuEarlyInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuEventLog.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuFamilyTranslation.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuGeneralServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuInitEarlyTable.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuLateInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuMicrocodePatch.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuPostInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuPowerMgmt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuPowerMgmtMultiSocket.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuPowerMgmtSingleSocket.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/cpuWarmReset.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/heapManager.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/S3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Table.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuCommonF12Utilities.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12BrandId.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12BrandIdFm1.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12BrandIdFs1.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12CacheDefaults.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12Dmi.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12EarlyNbPstateInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12MsrTables.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12PciTables.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12PerCorePciTables.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12PowerCheck.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12PowerMgmtSystemTables.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12PowerPlane.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12Pstate.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12SoftwareThermal.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12Utilities.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/cpuF12WheaInitDataTables.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/F12C6State.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/F12Cpb.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/F12IoCstate.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/F12MicrocodePatch03000002.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/F12MicrocodePatch0300000e.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/F12MicrocodePatch0300000f.c
-#agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/LN/F12LnEarlySamples.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/LN/F12LnEquivalenceTable.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/LN/F12LnLogicalIdTables.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Family/0x12/LN/F12LnMicrocodePatchTables.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuC6State.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuCacheFlushOnHalt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuCacheInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuCoreLeveling.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuCpb.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuDmi.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuFeatureLeveling.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuFeatures.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuHwC1e.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuIoCstate.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuL3Features.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuLowPwrPstate.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuPstateGather.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuPstateLeveling.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuPstateTables.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuSlit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuSrat.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuSwC1e.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/cpuWhea.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/CPU/Feature/PreserveMailbox.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/GnbInitAtEarly.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/GnbInitAtEnv.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/GnbInitAtLate.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/GnbInitAtMid.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/GnbInitAtPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/GnbInitAtReset.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Common/GnbLibFeatures.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxConfigData.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxGmcInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxInitAtEnvPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxInitAtMidPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxInitAtPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxIntegratedInfoTableInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxLib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxRegisterAcc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/GfxStrapsInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Gfx/Family/LN/F12GfxServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCableSafe/GnbCableSafe.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibCpuAcc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibHeap.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibIoAcc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibMemAcc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibPci.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibPciAcc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib/GnbLibStall.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxConfig/GfxConfigEnv.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxConfig/GfxConfigPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxInitLibV1/GfxCardInfo.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxInitLibV1/GfxEnumConnectors.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxInitLibV1/GfxPowerPlayTable.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxInitLibV1/GnbGfxInitLibV1.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieAlibV1/PcieAlib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig/PcieConfigData.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig/PcieConfigLib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig/PcieInputParser.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig/PcieMapTopology.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspm.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspmBlackList.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspmExitLatency.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePhyServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePifServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortRegAcc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PciePowerMgmt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieSiliconServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTimer.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1/PcieWrapperRegAcc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieTrainingV1/PcieTraining.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieTrainingV1/PcieWorkarounds.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbSbLib/GnbSbLib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Modules/GnbSbLib/GnbSbPcie.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbConfigData.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtEarly.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtEnv.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtLatePost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbInitAtReset.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbPowerMgmt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/NbSmuLib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/Family/LN/F12NbLclkDpm.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/Family/LN/F12NbPowerGate.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/Family/LN/F12NbServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/Family/LN/F12NbSmu.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/Feature/NbFuseTable.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/Nb/Feature/NbLclkDpm.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInitAtEarlyPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInitAtEnv.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInitAtLatePost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieInitAtPost.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/PcieLateInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/PciePortInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/PciePortLateInit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/LN/F12PcieAlib.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/LN/F12PcieComplexConfig.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/LN/F12PcieComplexServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/LN/F12PciePhyServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/LN/F12PciePifServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/Family/LN/F12PcieWrapperServices.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/GNB/PCIe/Feature/PciePowerGate.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/htFeat.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/htInterface.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/htInterfaceCoherent.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/htInterfaceGeneral.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/htInterfaceNonCoherent.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/htMain.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/htNb.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/htNotify.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/Fam12/htNbFam12.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/HT/Fam12/htNbUtilitiesFam12.c
-#agesa_lib_src  += $(AGESA_ROOT)/Proc/IDS/Control/IdsCtrl.c
-#agesa_lib_src  += $(AGESA_ROOT)/Proc/IDS/Control/IdsLib.c
-#agesa_lib_src  += $(AGESA_ROOT)/Proc/IDS/Control/IdsNvToCmos.c
-#agesa_lib_src  += $(AGESA_ROOT)/Proc/IDS/Debug/IdsDebug.c
-#agesa_lib_src  += $(AGESA_ROOT)/Proc/IDS/Family/0x12/IdsF12AllService.c
-#agesa_lib_src  += $(AGESA_ROOT)/Proc/IDS/Perf/IdsPerf.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ardk/ma.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ardk/LN/masln3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ardk/LN/mauln3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/CHINTLV/mfchi.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/CSINTLV/mfcsi.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/DMI/mfDMI.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/ECC/mfecc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/ECC/mfemp.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/EXCLUDIMM/mfdimmexclud.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/IDENDIMM/mfidendimm.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/INTLVRN/mfintlvrn.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/LVDDR3/mflvddr3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/MEMCLR/mfmemclr.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/ODTHERMAL/mfodthermal.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/PARTRN/mfParallelTraining.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/PARTRN/mfStandardTraining.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/S3/mfs3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Feat/TABLE/mftds.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mdef.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/merrhdl.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/minit.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mm.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmConditionalPso.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmEcc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmExcludeDimm.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmflow.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmLvDdr3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmMemClr.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmMemRestore.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmNodeInterleave.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmOnlineSpare.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmParallelTraining.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmStandardTraining.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mmUmaAlloc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/mu.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/muc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Main/LN/mmflowln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mn.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mndct.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mnfeat.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mnflow.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mnmct.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mnphy.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mnreg.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mnS3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/mntrain3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mndctln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnflowln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnidendimmln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnmctln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnotln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnphyln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnprotoln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnregln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/NB/LN/mnS3ln.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mp.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mplribt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mplrnlr.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mplrnpr.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mpmaxfreq.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mpmr0.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mpodtpat.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mprc10opspd.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mprc2ibt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mprtt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/mpsao.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/LN/mprln3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/LN/mpsln3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Ps/LN/mpuln3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mthdi.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mttdimbt.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mttecc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mttEdgeDetect.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mtthrc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mtthrcSeedTrain.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mttml.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mttoptsrc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/mttsrc.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mt3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtlrdimm3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtot3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtrci3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtsdi3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mtspd3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mttecc3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Mem/Tech/DDR3/mttwl3.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Recovery/HT/htInitRecovery.c
-agesa_lib_src  += $(AGESA_ROOT)/Proc/Recovery/HT/htInitReset.c
-
-romstage-y += $(agesa_lib_src)
-ramstage-y += $(agesa_lib_src)
-
 subdirs-y += ../../mtrr
 subdirs-y += ../../../x86/tsc
 subdirs-y += ../../../x86/lapic
diff --git a/src/vendorcode/amd/agesa/f12/Makefile.inc b/src/vendorcode/amd/agesa/f12/Makefile.inc
index e135e2a..30efd4c 100644
--- a/src/vendorcode/amd/agesa/f12/Makefile.inc
+++ b/src/vendorcode/amd/agesa/f12/Makefile.inc
@@ -87,3 +87,295 @@ CPPFLAGS_x86_32 += $(AGESA_INC)
 CPPFLAGS_x86_64 += $(AGESA_INC)
 
 #######################################################################
+
+classes-y += libagesa
+
+ifeq ($(CONFIG_ARCH_ROMSTAGE_X86_32),y)
+$(eval $(call create_class_compiler,libagesa,x86_32))
+else
+$(eval $(call create_class_compiler,libagesa,x86_64))
+endif
+
+libagesa-y  = Legacy/Proc/agesaCallouts.c
+libagesa-y += Legacy/Proc/Dispatcher.c
+libagesa-y += Legacy/Proc/hobTransfer.c
+libagesa-y += Lib/amdlib.c
+libagesa-y += Proc/Common/AmdInitEarly.c
+libagesa-y += Proc/Common/AmdInitEnv.c
+libagesa-y += Proc/Common/AmdInitLate.c
+libagesa-y += Proc/Common/AmdInitMid.c
+libagesa-y += Proc/Common/AmdInitPost.c
+libagesa-y += Proc/Common/AmdInitReset.c
+libagesa-y += Proc/Common/AmdInitResume.c
+libagesa-y += Proc/Common/AmdLateRunApTask.c
+libagesa-y += Proc/Common/AmdS3LateRestore.c
+libagesa-y += Proc/Common/AmdS3Save.c
+libagesa-y += Proc/Common/CommonInits.c
+libagesa-y += Proc/Common/CommonReturns.c
+libagesa-y += Proc/Common/CreateStruct.c
+libagesa-y += Proc/Common/S3RestoreState.c
+libagesa-y += Proc/Common/S3SaveState.c
+libagesa-y += Proc/CPU/cahalt.c
+libagesa-y += Proc/CPU/cpuApicUtilities.c
+libagesa-y += Proc/CPU/cpuBist.c
+libagesa-y += Proc/CPU/cpuBrandId.c
+libagesa-y += Proc/CPU/cpuEarlyInit.c
+libagesa-y += Proc/CPU/cpuEventLog.c
+libagesa-y += Proc/CPU/cpuFamilyTranslation.c
+libagesa-y += Proc/CPU/cpuGeneralServices.c
+libagesa-y += Proc/CPU/cpuInitEarlyTable.c
+libagesa-y += Proc/CPU/cpuLateInit.c
+libagesa-y += Proc/CPU/cpuMicrocodePatch.c
+libagesa-y += Proc/CPU/cpuPostInit.c
+libagesa-y += Proc/CPU/cpuPowerMgmt.c
+libagesa-y += Proc/CPU/cpuPowerMgmtMultiSocket.c
+libagesa-y += Proc/CPU/cpuPowerMgmtSingleSocket.c
+libagesa-y += Proc/CPU/cpuWarmReset.c
+libagesa-y += Proc/CPU/heapManager.c
+libagesa-y += Proc/CPU/S3.c
+libagesa-y += Proc/CPU/Table.c
+libagesa-y += Proc/CPU/Family/0x12/cpuCommonF12Utilities.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12BrandId.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12BrandIdFm1.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12BrandIdFs1.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12CacheDefaults.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12Dmi.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12EarlyNbPstateInit.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12MsrTables.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12PciTables.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12PerCorePciTables.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12PowerCheck.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12PowerMgmtSystemTables.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12PowerPlane.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12Pstate.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12SoftwareThermal.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12Utilities.c
+libagesa-y += Proc/CPU/Family/0x12/cpuF12WheaInitDataTables.c
+libagesa-y += Proc/CPU/Family/0x12/F12C6State.c
+libagesa-y += Proc/CPU/Family/0x12/F12Cpb.c
+libagesa-y += Proc/CPU/Family/0x12/F12IoCstate.c
+libagesa-y += Proc/CPU/Family/0x12/F12MicrocodePatch03000002.c
+libagesa-y += Proc/CPU/Family/0x12/F12MicrocodePatch0300000e.c
+libagesa-y += Proc/CPU/Family/0x12/F12MicrocodePatch0300000f.c
+#libagesa-y += Proc/CPU/Family/0x12/LN/F12LnEarlySamples.c
+libagesa-y += Proc/CPU/Family/0x12/LN/F12LnEquivalenceTable.c
+libagesa-y += Proc/CPU/Family/0x12/LN/F12LnLogicalIdTables.c
+libagesa-y += Proc/CPU/Family/0x12/LN/F12LnMicrocodePatchTables.c
+libagesa-y += Proc/CPU/Feature/cpuC6State.c
+libagesa-y += Proc/CPU/Feature/cpuCacheFlushOnHalt.c
+libagesa-y += Proc/CPU/Feature/cpuCacheInit.c
+libagesa-y += Proc/CPU/Feature/cpuCoreLeveling.c
+libagesa-y += Proc/CPU/Feature/cpuCpb.c
+libagesa-y += Proc/CPU/Feature/cpuDmi.c
+libagesa-y += Proc/CPU/Feature/cpuFeatureLeveling.c
+libagesa-y += Proc/CPU/Feature/cpuFeatures.c
+libagesa-y += Proc/CPU/Feature/cpuHwC1e.c
+libagesa-y += Proc/CPU/Feature/cpuIoCstate.c
+libagesa-y += Proc/CPU/Feature/cpuL3Features.c
+libagesa-y += Proc/CPU/Feature/cpuLowPwrPstate.c
+libagesa-y += Proc/CPU/Feature/cpuPstateGather.c
+libagesa-y += Proc/CPU/Feature/cpuPstateLeveling.c
+libagesa-y += Proc/CPU/Feature/cpuPstateTables.c
+libagesa-y += Proc/CPU/Feature/cpuSlit.c
+libagesa-y += Proc/CPU/Feature/cpuSrat.c
+libagesa-y += Proc/CPU/Feature/cpuSwC1e.c
+libagesa-y += Proc/CPU/Feature/cpuWhea.c
+libagesa-y += Proc/CPU/Feature/PreserveMailbox.c
+libagesa-y += Proc/GNB/GnbInitAtEarly.c
+libagesa-y += Proc/GNB/GnbInitAtEnv.c
+libagesa-y += Proc/GNB/GnbInitAtLate.c
+libagesa-y += Proc/GNB/GnbInitAtMid.c
+libagesa-y += Proc/GNB/GnbInitAtPost.c
+libagesa-y += Proc/GNB/GnbInitAtReset.c
+libagesa-y += Proc/GNB/Common/GnbLibFeatures.c
+libagesa-y += Proc/GNB/Gfx/GfxConfigData.c
+libagesa-y += Proc/GNB/Gfx/GfxGmcInit.c
+libagesa-y += Proc/GNB/Gfx/GfxInitAtEnvPost.c
+libagesa-y += Proc/GNB/Gfx/GfxInitAtMidPost.c
+libagesa-y += Proc/GNB/Gfx/GfxInitAtPost.c
+libagesa-y += Proc/GNB/Gfx/GfxIntegratedInfoTableInit.c
+libagesa-y += Proc/GNB/Gfx/GfxLib.c
+libagesa-y += Proc/GNB/Gfx/GfxRegisterAcc.c
+libagesa-y += Proc/GNB/Gfx/GfxStrapsInit.c
+libagesa-y += Proc/GNB/Gfx/Family/LN/F12GfxServices.c
+libagesa-y += Proc/GNB/Modules/GnbCableSafe/GnbCableSafe.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLib.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibCpuAcc.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibHeap.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibIoAcc.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibMemAcc.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibPci.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibPciAcc.c
+libagesa-y += Proc/GNB/Modules/GnbCommonLib/GnbLibStall.c
+libagesa-y += Proc/GNB/Modules/GnbGfxConfig/GfxConfigEnv.c
+libagesa-y += Proc/GNB/Modules/GnbGfxConfig/GfxConfigPost.c
+libagesa-y += Proc/GNB/Modules/GnbGfxInitLibV1/GfxCardInfo.c
+libagesa-y += Proc/GNB/Modules/GnbGfxInitLibV1/GfxEnumConnectors.c
+libagesa-y += Proc/GNB/Modules/GnbGfxInitLibV1/GfxPowerPlayTable.c
+libagesa-y += Proc/GNB/Modules/GnbGfxInitLibV1/GnbGfxInitLibV1.c
+libagesa-y += Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c
+libagesa-y += Proc/GNB/Modules/GnbPcieAlibV1/PcieAlib.c
+libagesa-y += Proc/GNB/Modules/GnbPcieConfig/PcieConfigData.c
+libagesa-y += Proc/GNB/Modules/GnbPcieConfig/PcieConfigLib.c
+libagesa-y += Proc/GNB/Modules/GnbPcieConfig/PcieInputParser.c
+libagesa-y += Proc/GNB/Modules/GnbPcieConfig/PcieMapTopology.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspm.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspmBlackList.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspmExitLatency.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePhyServices.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePifServices.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePortRegAcc.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PciePowerMgmt.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieSiliconServices.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieTimer.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c
+libagesa-y += Proc/GNB/Modules/GnbPcieInitLibV1/PcieWrapperRegAcc.c
+libagesa-y += Proc/GNB/Modules/GnbPcieTrainingV1/PcieTraining.c
+libagesa-y += Proc/GNB/Modules/GnbPcieTrainingV1/PcieWorkarounds.c
+libagesa-y += Proc/GNB/Modules/GnbSbLib/GnbSbLib.c
+libagesa-y += Proc/GNB/Modules/GnbSbLib/GnbSbPcie.c
+libagesa-y += Proc/GNB/Nb/NbConfigData.c
+libagesa-y += Proc/GNB/Nb/NbInit.c
+libagesa-y += Proc/GNB/Nb/NbInitAtEarly.c
+libagesa-y += Proc/GNB/Nb/NbInitAtEnv.c
+libagesa-y += Proc/GNB/Nb/NbInitAtLatePost.c
+libagesa-y += Proc/GNB/Nb/NbInitAtPost.c
+libagesa-y += Proc/GNB/Nb/NbInitAtReset.c
+libagesa-y += Proc/GNB/Nb/NbPowerMgmt.c
+libagesa-y += Proc/GNB/Nb/NbSmuLib.c
+libagesa-y += Proc/GNB/Nb/Family/LN/F12NbLclkDpm.c
+libagesa-y += Proc/GNB/Nb/Family/LN/F12NbPowerGate.c
+libagesa-y += Proc/GNB/Nb/Family/LN/F12NbServices.c
+libagesa-y += Proc/GNB/Nb/Family/LN/F12NbSmu.c
+libagesa-y += Proc/GNB/Nb/Feature/NbFuseTable.c
+libagesa-y += Proc/GNB/Nb/Feature/NbLclkDpm.c
+libagesa-y += Proc/GNB/PCIe/PcieInit.c
+libagesa-y += Proc/GNB/PCIe/PcieInitAtEarlyPost.c
+libagesa-y += Proc/GNB/PCIe/PcieInitAtEnv.c
+libagesa-y += Proc/GNB/PCIe/PcieInitAtLatePost.c
+libagesa-y += Proc/GNB/PCIe/PcieInitAtPost.c
+libagesa-y += Proc/GNB/PCIe/PcieLateInit.c
+libagesa-y += Proc/GNB/PCIe/PciePortInit.c
+libagesa-y += Proc/GNB/PCIe/PciePortLateInit.c
+libagesa-y += Proc/GNB/PCIe/Family/LN/F12PcieAlib.c
+libagesa-y += Proc/GNB/PCIe/Family/LN/F12PcieComplexConfig.c
+libagesa-y += Proc/GNB/PCIe/Family/LN/F12PcieComplexServices.c
+libagesa-y += Proc/GNB/PCIe/Family/LN/F12PciePhyServices.c
+libagesa-y += Proc/GNB/PCIe/Family/LN/F12PciePifServices.c
+libagesa-y += Proc/GNB/PCIe/Family/LN/F12PcieWrapperServices.c
+libagesa-y += Proc/GNB/PCIe/Feature/PciePowerGate.c
+libagesa-y += Proc/HT/htFeat.c
+libagesa-y += Proc/HT/htInterface.c
+libagesa-y += Proc/HT/htInterfaceCoherent.c
+libagesa-y += Proc/HT/htInterfaceGeneral.c
+libagesa-y += Proc/HT/htInterfaceNonCoherent.c
+libagesa-y += Proc/HT/htMain.c
+libagesa-y += Proc/HT/htNb.c
+libagesa-y += Proc/HT/htNotify.c
+libagesa-y += Proc/HT/Fam12/htNbFam12.c
+libagesa-y += Proc/HT/Fam12/htNbUtilitiesFam12.c
+#libagesa-y += Proc/IDS/Control/IdsCtrl.c
+#libagesa-y += Proc/IDS/Control/IdsLib.c
+#libagesa-y += Proc/IDS/Control/IdsNvToCmos.c
+#libagesa-y += Proc/IDS/Debug/IdsDebug.c
+#libagesa-y += Proc/IDS/Family/0x12/IdsF12AllService.c
+#libagesa-y += Proc/IDS/Perf/IdsPerf.c
+libagesa-y += Proc/Mem/Ardk/ma.c
+libagesa-y += Proc/Mem/Ardk/LN/masln3.c
+libagesa-y += Proc/Mem/Ardk/LN/mauln3.c
+libagesa-y += Proc/Mem/Feat/CHINTLV/mfchi.c
+libagesa-y += Proc/Mem/Feat/CSINTLV/mfcsi.c
+libagesa-y += Proc/Mem/Feat/DMI/mfDMI.c
+libagesa-y += Proc/Mem/Feat/ECC/mfecc.c
+libagesa-y += Proc/Mem/Feat/ECC/mfemp.c
+libagesa-y += Proc/Mem/Feat/EXCLUDIMM/mfdimmexclud.c
+libagesa-y += Proc/Mem/Feat/IDENDIMM/mfidendimm.c
+libagesa-y += Proc/Mem/Feat/INTLVRN/mfintlvrn.c
+libagesa-y += Proc/Mem/Feat/LVDDR3/mflvddr3.c
+libagesa-y += Proc/Mem/Feat/MEMCLR/mfmemclr.c
+libagesa-y += Proc/Mem/Feat/ODTHERMAL/mfodthermal.c
+libagesa-y += Proc/Mem/Feat/PARTRN/mfParallelTraining.c
+libagesa-y += Proc/Mem/Feat/PARTRN/mfStandardTraining.c
+libagesa-y += Proc/Mem/Feat/S3/mfs3.c
+libagesa-y += Proc/Mem/Feat/TABLE/mftds.c
+libagesa-y += Proc/Mem/Main/mdef.c
+libagesa-y += Proc/Mem/Main/merrhdl.c
+libagesa-y += Proc/Mem/Main/minit.c
+libagesa-y += Proc/Mem/Main/mm.c
+libagesa-y += Proc/Mem/Main/mmConditionalPso.c
+libagesa-y += Proc/Mem/Main/mmEcc.c
+libagesa-y += Proc/Mem/Main/mmExcludeDimm.c
+libagesa-y += Proc/Mem/Main/mmflow.c
+libagesa-y += Proc/Mem/Main/mmLvDdr3.c
+libagesa-y += Proc/Mem/Main/mmMemClr.c
+libagesa-y += Proc/Mem/Main/mmMemRestore.c
+libagesa-y += Proc/Mem/Main/mmNodeInterleave.c
+libagesa-y += Proc/Mem/Main/mmOnlineSpare.c
+libagesa-y += Proc/Mem/Main/mmParallelTraining.c
+libagesa-y += Proc/Mem/Main/mmStandardTraining.c
+libagesa-y += Proc/Mem/Main/mmUmaAlloc.c
+libagesa-y += Proc/Mem/Main/mu.c
+libagesa-y += Proc/Mem/Main/muc.c
+libagesa-y += Proc/Mem/Main/LN/mmflowln.c
+libagesa-y += Proc/Mem/NB/mn.c
+libagesa-y += Proc/Mem/NB/mndct.c
+libagesa-y += Proc/Mem/NB/mnfeat.c
+libagesa-y += Proc/Mem/NB/mnflow.c
+libagesa-y += Proc/Mem/NB/mnmct.c
+libagesa-y += Proc/Mem/NB/mnphy.c
+libagesa-y += Proc/Mem/NB/mnreg.c
+libagesa-y += Proc/Mem/NB/mnS3.c
+libagesa-y += Proc/Mem/NB/mntrain3.c
+libagesa-y += Proc/Mem/NB/LN/mndctln.c
+libagesa-y += Proc/Mem/NB/LN/mnflowln.c
+libagesa-y += Proc/Mem/NB/LN/mnidendimmln.c
+libagesa-y += Proc/Mem/NB/LN/mnln.c
+libagesa-y += Proc/Mem/NB/LN/mnmctln.c
+libagesa-y += Proc/Mem/NB/LN/mnotln.c
+libagesa-y += Proc/Mem/NB/LN/mnphyln.c
+libagesa-y += Proc/Mem/NB/LN/mnprotoln.c
+libagesa-y += Proc/Mem/NB/LN/mnregln.c
+libagesa-y += Proc/Mem/NB/LN/mnS3ln.c
+libagesa-y += Proc/Mem/Ps/mp.c
+libagesa-y += Proc/Mem/Ps/mplribt.c
+libagesa-y += Proc/Mem/Ps/mplrnlr.c
+libagesa-y += Proc/Mem/Ps/mplrnpr.c
+libagesa-y += Proc/Mem/Ps/mpmaxfreq.c
+libagesa-y += Proc/Mem/Ps/mpmr0.c
+libagesa-y += Proc/Mem/Ps/mpodtpat.c
+libagesa-y += Proc/Mem/Ps/mprc10opspd.c
+libagesa-y += Proc/Mem/Ps/mprc2ibt.c
+libagesa-y += Proc/Mem/Ps/mprtt.c
+libagesa-y += Proc/Mem/Ps/mpsao.c
+libagesa-y += Proc/Mem/Ps/LN/mprln3.c
+libagesa-y += Proc/Mem/Ps/LN/mpsln3.c
+libagesa-y += Proc/Mem/Ps/LN/mpuln3.c
+libagesa-y += Proc/Mem/Tech/mt.c
+libagesa-y += Proc/Mem/Tech/mthdi.c
+libagesa-y += Proc/Mem/Tech/mttdimbt.c
+libagesa-y += Proc/Mem/Tech/mttecc.c
+libagesa-y += Proc/Mem/Tech/mttEdgeDetect.c
+libagesa-y += Proc/Mem/Tech/mtthrc.c
+libagesa-y += Proc/Mem/Tech/mtthrcSeedTrain.c
+libagesa-y += Proc/Mem/Tech/mttml.c
+libagesa-y += Proc/Mem/Tech/mttoptsrc.c
+libagesa-y += Proc/Mem/Tech/mttsrc.c
+libagesa-y += Proc/Mem/Tech/DDR3/mt3.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtlrdimm3.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtot3.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtrci3.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtsdi3.c
+libagesa-y += Proc/Mem/Tech/DDR3/mtspd3.c
+libagesa-y += Proc/Mem/Tech/DDR3/mttecc3.c
+libagesa-y += Proc/Mem/Tech/DDR3/mttwl3.c
+libagesa-y += Proc/Recovery/HT/htInitRecovery.c
+libagesa-y += Proc/Recovery/HT/htInitReset.c
+
+$(obj)/libagesa.fam12.a: $$(libagesa-objs)
+	@printf "    AGESA        $(subst $(obj)/,,$(@))\n"
+	ar rcs $@ $+
+
+romstage-libs  += $(obj)/libagesa.fam12.a
+ramstage-libs  += $(obj)/libagesa.fam12.a



More information about the coreboot-gerrit mailing list