summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/amd/agesa/f12/Legacy/Proc/Makefile.inc3
-rw-r--r--src/vendorcode/amd/agesa/f12/Makefile.inc277
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/LN/Makefile.inc3
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/Makefile.inc23
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/CPU/Feature/Makefile.inc20
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/CPU/Makefile.inc19
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Common/Makefile.inc15
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Common/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Gfx/Family/LN/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Gfx/Makefile.inc9
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Makefile.inc6
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbCableSafe/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbCommonLib/Makefile.inc8
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbGfxConfig/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbGfxInitLibV1/Makefile.inc4
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbNbInitLibV1/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieAlibV1/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieConfig/Makefile.inc4
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieInitLibV1/Makefile.inc13
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieTrainingV1/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbSbLib/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Family/LN/Makefile.inc4
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Feature/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Makefile.inc9
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Family/LN/Makefile.inc6
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Feature/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Makefile.inc8
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/HT/Fam12/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/HT/Makefile.inc8
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Ardk/LN/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Ardk/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/CHINTLV/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/CSINTLV/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/DMI/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/ECC/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/EXCLUDIMM/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/IDENDIMM/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/INTLVRN/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/LVDDR3/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/MEMCLR/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/ODTHERMAL/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/PARTRN/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/S3/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/TABLE/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Main/LN/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Main/Makefile.inc18
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/NB/LN/Makefile.inc10
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/NB/Makefile.inc9
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Ps/LN/Makefile.inc3
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Ps/Makefile.inc11
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/DDR3/Makefile.inc8
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/Makefile.inc10
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/Recovery/HT/Makefile.inc2
53 files changed, 270 insertions, 275 deletions
diff --git a/src/vendorcode/amd/agesa/f12/Legacy/Proc/Makefile.inc b/src/vendorcode/amd/agesa/f12/Legacy/Proc/Makefile.inc
new file mode 100644
index 0000000000..80cdf12a7d
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Legacy/Proc/Makefile.inc
@@ -0,0 +1,3 @@
+libagesa-y += Dispatcher.c
+libagesa-y += agesaCallouts.c
+libagesa-y += hobTransfer.c
diff --git a/src/vendorcode/amd/agesa/f12/Makefile.inc b/src/vendorcode/amd/agesa/f12/Makefile.inc
index 53d2075f96..4f5e86cc04 100644
--- a/src/vendorcode/amd/agesa/f12/Makefile.inc
+++ b/src/vendorcode/amd/agesa/f12/Makefile.inc
@@ -86,281 +86,8 @@ CPPFLAGS_x86_64 += $(AGESA_INC)
#######################################################################
-libagesa-y += Legacy/Proc/agesaCallouts.c
-libagesa-y += Legacy/Proc/Dispatcher.c
-libagesa-y += Legacy/Proc/hobTransfer.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
+subdirs-y += Legacy/Proc
+subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc))
$(obj)/libagesa.fam12.a: $$(libagesa-objs)
@printf " AGESA $(subst $(obj)/,,$(@))\n"
diff --git a/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/LN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/LN/Makefile.inc
new file mode 100644
index 0000000000..b08f0a4499
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/LN/Makefile.inc
@@ -0,0 +1,3 @@
+libagesa-y += F12LnEquivalenceTable.c
+libagesa-y += F12LnLogicalIdTables.c
+libagesa-y += F12LnMicrocodePatchTables.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/Makefile.inc
new file mode 100644
index 0000000000..740b96ad31
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/Makefile.inc
@@ -0,0 +1,23 @@
+libagesa-y += F12C6State.c
+libagesa-y += F12Cpb.c
+libagesa-y += F12IoCstate.c
+libagesa-y += F12MicrocodePatch03000002.c
+libagesa-y += F12MicrocodePatch0300000e.c
+libagesa-y += F12MicrocodePatch0300000f.c
+libagesa-y += cpuCommonF12Utilities.c
+libagesa-y += cpuF12BrandId.c
+libagesa-y += cpuF12BrandIdFm1.c
+libagesa-y += cpuF12BrandIdFs1.c
+libagesa-y += cpuF12CacheDefaults.c
+libagesa-y += cpuF12Dmi.c
+libagesa-y += cpuF12EarlyNbPstateInit.c
+libagesa-y += cpuF12MsrTables.c
+libagesa-y += cpuF12PciTables.c
+libagesa-y += cpuF12PerCorePciTables.c
+libagesa-y += cpuF12PowerCheck.c
+libagesa-y += cpuF12PowerMgmtSystemTables.c
+libagesa-y += cpuF12PowerPlane.c
+libagesa-y += cpuF12Pstate.c
+libagesa-y += cpuF12SoftwareThermal.c
+libagesa-y += cpuF12Utilities.c
+libagesa-y += cpuF12WheaInitDataTables.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/CPU/Feature/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/CPU/Feature/Makefile.inc
new file mode 100644
index 0000000000..56d9f3c5bb
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/CPU/Feature/Makefile.inc
@@ -0,0 +1,20 @@
+libagesa-y += PreserveMailbox.c
+libagesa-y += cpuC6State.c
+libagesa-y += cpuCacheFlushOnHalt.c
+libagesa-y += cpuCacheInit.c
+libagesa-y += cpuCoreLeveling.c
+libagesa-y += cpuCpb.c
+libagesa-y += cpuDmi.c
+libagesa-y += cpuFeatureLeveling.c
+libagesa-y += cpuFeatures.c
+libagesa-y += cpuHwC1e.c
+libagesa-y += cpuIoCstate.c
+libagesa-y += cpuL3Features.c
+libagesa-y += cpuLowPwrPstate.c
+libagesa-y += cpuPstateGather.c
+libagesa-y += cpuPstateLeveling.c
+libagesa-y += cpuPstateTables.c
+libagesa-y += cpuSlit.c
+libagesa-y += cpuSrat.c
+libagesa-y += cpuSwC1e.c
+libagesa-y += cpuWhea.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/CPU/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/CPU/Makefile.inc
new file mode 100644
index 0000000000..6e270a2fb7
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/CPU/Makefile.inc
@@ -0,0 +1,19 @@
+libagesa-y += S3.c
+libagesa-y += Table.c
+libagesa-y += cahalt.c
+libagesa-y += cpuApicUtilities.c
+libagesa-y += cpuBist.c
+libagesa-y += cpuBrandId.c
+libagesa-y += cpuEarlyInit.c
+libagesa-y += cpuEventLog.c
+libagesa-y += cpuFamilyTranslation.c
+libagesa-y += cpuGeneralServices.c
+libagesa-y += cpuInitEarlyTable.c
+libagesa-y += cpuLateInit.c
+libagesa-y += cpuMicrocodePatch.c
+libagesa-y += cpuPostInit.c
+libagesa-y += cpuPowerMgmt.c
+libagesa-y += cpuPowerMgmtMultiSocket.c
+libagesa-y += cpuPowerMgmtSingleSocket.c
+libagesa-y += cpuWarmReset.c
+libagesa-y += heapManager.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Common/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Common/Makefile.inc
new file mode 100644
index 0000000000..957c98f639
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Common/Makefile.inc
@@ -0,0 +1,15 @@
+libagesa-y += AmdInitEarly.c
+libagesa-y += AmdInitEnv.c
+libagesa-y += AmdInitLate.c
+libagesa-y += AmdInitMid.c
+libagesa-y += AmdInitPost.c
+libagesa-y += AmdInitReset.c
+libagesa-y += AmdInitResume.c
+libagesa-y += AmdLateRunApTask.c
+libagesa-y += AmdS3LateRestore.c
+libagesa-y += AmdS3Save.c
+libagesa-y += CommonInits.c
+libagesa-y += CommonReturns.c
+libagesa-y += CreateStruct.c
+libagesa-y += S3RestoreState.c
+libagesa-y += S3SaveState.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Common/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Common/Makefile.inc
new file mode 100644
index 0000000000..bcde69e731
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Common/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += GnbLibFeatures.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Gfx/Family/LN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Gfx/Family/LN/Makefile.inc
new file mode 100644
index 0000000000..8b815d8f86
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Gfx/Family/LN/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += F12GfxServices.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Gfx/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Gfx/Makefile.inc
new file mode 100644
index 0000000000..3f0dfed1ae
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Gfx/Makefile.inc
@@ -0,0 +1,9 @@
+libagesa-y += GfxConfigData.c
+libagesa-y += GfxGmcInit.c
+libagesa-y += GfxInitAtEnvPost.c
+libagesa-y += GfxInitAtMidPost.c
+libagesa-y += GfxInitAtPost.c
+libagesa-y += GfxIntegratedInfoTableInit.c
+libagesa-y += GfxLib.c
+libagesa-y += GfxRegisterAcc.c
+libagesa-y += GfxStrapsInit.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Makefile.inc
new file mode 100644
index 0000000000..d58d96c2b0
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Makefile.inc
@@ -0,0 +1,6 @@
+libagesa-y += GnbInitAtEarly.c
+libagesa-y += GnbInitAtEnv.c
+libagesa-y += GnbInitAtLate.c
+libagesa-y += GnbInitAtMid.c
+libagesa-y += GnbInitAtPost.c
+libagesa-y += GnbInitAtReset.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbCableSafe/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbCableSafe/Makefile.inc
new file mode 100644
index 0000000000..57b6c6a3a0
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbCableSafe/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += GnbCableSafe.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbCommonLib/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbCommonLib/Makefile.inc
new file mode 100644
index 0000000000..8965cbed69
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbCommonLib/Makefile.inc
@@ -0,0 +1,8 @@
+libagesa-y += GnbLib.c
+libagesa-y += GnbLibCpuAcc.c
+libagesa-y += GnbLibHeap.c
+libagesa-y += GnbLibIoAcc.c
+libagesa-y += GnbLibMemAcc.c
+libagesa-y += GnbLibPci.c
+libagesa-y += GnbLibPciAcc.c
+libagesa-y += GnbLibStall.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbGfxConfig/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbGfxConfig/Makefile.inc
new file mode 100644
index 0000000000..ae82cde5aa
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbGfxConfig/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += GfxConfigEnv.c
+libagesa-y += GfxConfigPost.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbGfxInitLibV1/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbGfxInitLibV1/Makefile.inc
new file mode 100644
index 0000000000..9611e8df29
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbGfxInitLibV1/Makefile.inc
@@ -0,0 +1,4 @@
+libagesa-y += GfxCardInfo.c
+libagesa-y += GfxEnumConnectors.c
+libagesa-y += GfxPowerPlayTable.c
+libagesa-y += GnbGfxInitLibV1.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbNbInitLibV1/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbNbInitLibV1/Makefile.inc
new file mode 100644
index 0000000000..9cd32dbe84
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbNbInitLibV1/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += GnbNbInitLibV1.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieAlibV1/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieAlibV1/Makefile.inc
new file mode 100644
index 0000000000..8a251f6208
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieAlibV1/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += PcieAlib.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieConfig/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieConfig/Makefile.inc
new file mode 100644
index 0000000000..d9edf85fae
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieConfig/Makefile.inc
@@ -0,0 +1,4 @@
+libagesa-y += PcieConfigData.c
+libagesa-y += PcieConfigLib.c
+libagesa-y += PcieInputParser.c
+libagesa-y += PcieMapTopology.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieInitLibV1/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieInitLibV1/Makefile.inc
new file mode 100644
index 0000000000..a182555014
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieInitLibV1/Makefile.inc
@@ -0,0 +1,13 @@
+libagesa-y += PcieAspm.c
+libagesa-y += PcieAspmBlackList.c
+libagesa-y += PcieAspmExitLatency.c
+libagesa-y += PciePhyServices.c
+libagesa-y += PciePifServices.c
+libagesa-y += PciePortRegAcc.c
+libagesa-y += PciePortServices.c
+libagesa-y += PciePowerMgmt.c
+libagesa-y += PcieSiliconServices.c
+libagesa-y += PcieTimer.c
+libagesa-y += PcieTopologyServices.c
+libagesa-y += PcieUtilityLib.c
+libagesa-y += PcieWrapperRegAcc.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieTrainingV1/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieTrainingV1/Makefile.inc
new file mode 100644
index 0000000000..5b6b04d092
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbPcieTrainingV1/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += PcieTraining.c
+libagesa-y += PcieWorkarounds.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbSbLib/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbSbLib/Makefile.inc
new file mode 100644
index 0000000000..e5434c2041
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Modules/GnbSbLib/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += GnbSbLib.c
+libagesa-y += GnbSbPcie.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Family/LN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Family/LN/Makefile.inc
new file mode 100644
index 0000000000..477451e560
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Family/LN/Makefile.inc
@@ -0,0 +1,4 @@
+libagesa-y += F12NbLclkDpm.c
+libagesa-y += F12NbPowerGate.c
+libagesa-y += F12NbServices.c
+libagesa-y += F12NbSmu.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Feature/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Feature/Makefile.inc
new file mode 100644
index 0000000000..fca82d5f13
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Feature/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += NbFuseTable.c
+libagesa-y += NbLclkDpm.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Makefile.inc
new file mode 100644
index 0000000000..578c5f857c
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/Nb/Makefile.inc
@@ -0,0 +1,9 @@
+libagesa-y += NbConfigData.c
+libagesa-y += NbInit.c
+libagesa-y += NbInitAtEarly.c
+libagesa-y += NbInitAtEnv.c
+libagesa-y += NbInitAtLatePost.c
+libagesa-y += NbInitAtPost.c
+libagesa-y += NbInitAtReset.c
+libagesa-y += NbPowerMgmt.c
+libagesa-y += NbSmuLib.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Family/LN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Family/LN/Makefile.inc
new file mode 100644
index 0000000000..5f43859207
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Family/LN/Makefile.inc
@@ -0,0 +1,6 @@
+libagesa-y += F12PcieAlib.c
+libagesa-y += F12PcieComplexConfig.c
+libagesa-y += F12PcieComplexServices.c
+libagesa-y += F12PciePhyServices.c
+libagesa-y += F12PciePifServices.c
+libagesa-y += F12PcieWrapperServices.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Feature/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Feature/Makefile.inc
new file mode 100644
index 0000000000..3df4e4b6ed
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Feature/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += PciePowerGate.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Makefile.inc
new file mode 100644
index 0000000000..4da756ed9e
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/GNB/PCIe/Makefile.inc
@@ -0,0 +1,8 @@
+libagesa-y += PcieInit.c
+libagesa-y += PcieInitAtEarlyPost.c
+libagesa-y += PcieInitAtEnv.c
+libagesa-y += PcieInitAtLatePost.c
+libagesa-y += PcieInitAtPost.c
+libagesa-y += PcieLateInit.c
+libagesa-y += PciePortInit.c
+libagesa-y += PciePortLateInit.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/HT/Fam12/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/HT/Fam12/Makefile.inc
new file mode 100644
index 0000000000..3393a31432
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/HT/Fam12/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += htNbFam12.c
+libagesa-y += htNbUtilitiesFam12.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/HT/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/HT/Makefile.inc
new file mode 100644
index 0000000000..f54568a1f1
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/HT/Makefile.inc
@@ -0,0 +1,8 @@
+libagesa-y += htFeat.c
+libagesa-y += htInterface.c
+libagesa-y += htInterfaceCoherent.c
+libagesa-y += htInterfaceGeneral.c
+libagesa-y += htInterfaceNonCoherent.c
+libagesa-y += htMain.c
+libagesa-y += htNb.c
+libagesa-y += htNotify.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Ardk/LN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Ardk/LN/Makefile.inc
new file mode 100644
index 0000000000..809efdf2b1
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Ardk/LN/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += masln3.c
+libagesa-y += mauln3.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Ardk/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Ardk/Makefile.inc
new file mode 100644
index 0000000000..3b5087cbcb
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Ardk/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += ma.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/CHINTLV/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/CHINTLV/Makefile.inc
new file mode 100644
index 0000000000..6599c4723d
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/CHINTLV/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfchi.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/CSINTLV/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/CSINTLV/Makefile.inc
new file mode 100644
index 0000000000..c7dc75b38c
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/CSINTLV/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfcsi.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/DMI/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/DMI/Makefile.inc
new file mode 100644
index 0000000000..c5c1eac7d8
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/DMI/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfDMI.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/ECC/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/ECC/Makefile.inc
new file mode 100644
index 0000000000..25c0f38607
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/ECC/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += mfecc.c
+libagesa-y += mfemp.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/EXCLUDIMM/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/EXCLUDIMM/Makefile.inc
new file mode 100644
index 0000000000..31cf348efc
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/EXCLUDIMM/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfdimmexclud.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/IDENDIMM/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/IDENDIMM/Makefile.inc
new file mode 100644
index 0000000000..8f98ec3c1b
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/IDENDIMM/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfidendimm.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/INTLVRN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/INTLVRN/Makefile.inc
new file mode 100644
index 0000000000..d9fca46951
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/INTLVRN/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfintlvrn.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/LVDDR3/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/LVDDR3/Makefile.inc
new file mode 100644
index 0000000000..436ceb372c
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/LVDDR3/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mflvddr3.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/MEMCLR/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/MEMCLR/Makefile.inc
new file mode 100644
index 0000000000..94d80c7187
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/MEMCLR/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfmemclr.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/ODTHERMAL/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/ODTHERMAL/Makefile.inc
new file mode 100644
index 0000000000..e1b5923668
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/ODTHERMAL/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfodthermal.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/PARTRN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/PARTRN/Makefile.inc
new file mode 100644
index 0000000000..90c8566627
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/PARTRN/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += mfParallelTraining.c
+libagesa-y += mfStandardTraining.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/S3/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/S3/Makefile.inc
new file mode 100644
index 0000000000..506cda03d7
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/S3/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfs3.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/TABLE/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/TABLE/Makefile.inc
new file mode 100644
index 0000000000..27dcfe7f00
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Feat/TABLE/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mftds.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Main/LN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Main/LN/Makefile.inc
new file mode 100644
index 0000000000..ebcfe3c423
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Main/LN/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mmflowln.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Main/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Main/Makefile.inc
new file mode 100644
index 0000000000..4c61d95629
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Main/Makefile.inc
@@ -0,0 +1,18 @@
+libagesa-y += mdef.c
+libagesa-y += merrhdl.c
+libagesa-y += minit.c
+libagesa-y += mm.c
+libagesa-y += mmConditionalPso.c
+libagesa-y += mmEcc.c
+libagesa-y += mmExcludeDimm.c
+libagesa-y += mmLvDdr3.c
+libagesa-y += mmMemClr.c
+libagesa-y += mmMemRestore.c
+libagesa-y += mmNodeInterleave.c
+libagesa-y += mmOnlineSpare.c
+libagesa-y += mmParallelTraining.c
+libagesa-y += mmStandardTraining.c
+libagesa-y += mmUmaAlloc.c
+libagesa-y += mmflow.c
+libagesa-y += mu.c
+libagesa-y += muc.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/NB/LN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/NB/LN/Makefile.inc
new file mode 100644
index 0000000000..2c6cb498d7
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/NB/LN/Makefile.inc
@@ -0,0 +1,10 @@
+libagesa-y += mnS3ln.c
+libagesa-y += mndctln.c
+libagesa-y += mnflowln.c
+libagesa-y += mnidendimmln.c
+libagesa-y += mnln.c
+libagesa-y += mnmctln.c
+libagesa-y += mnotln.c
+libagesa-y += mnphyln.c
+libagesa-y += mnprotoln.c
+libagesa-y += mnregln.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/NB/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/NB/Makefile.inc
new file mode 100644
index 0000000000..eb029c2692
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/NB/Makefile.inc
@@ -0,0 +1,9 @@
+libagesa-y += mn.c
+libagesa-y += mnS3.c
+libagesa-y += mndct.c
+libagesa-y += mnfeat.c
+libagesa-y += mnflow.c
+libagesa-y += mnmct.c
+libagesa-y += mnphy.c
+libagesa-y += mnreg.c
+libagesa-y += mntrain3.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Ps/LN/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Ps/LN/Makefile.inc
new file mode 100644
index 0000000000..9283b173be
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Ps/LN/Makefile.inc
@@ -0,0 +1,3 @@
+libagesa-y += mprln3.c
+libagesa-y += mpsln3.c
+libagesa-y += mpuln3.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Ps/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Ps/Makefile.inc
new file mode 100644
index 0000000000..5f2e596093
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Ps/Makefile.inc
@@ -0,0 +1,11 @@
+libagesa-y += mp.c
+libagesa-y += mplribt.c
+libagesa-y += mplrnlr.c
+libagesa-y += mplrnpr.c
+libagesa-y += mpmaxfreq.c
+libagesa-y += mpmr0.c
+libagesa-y += mpodtpat.c
+libagesa-y += mprc10opspd.c
+libagesa-y += mprc2ibt.c
+libagesa-y += mprtt.c
+libagesa-y += mpsao.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/DDR3/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/DDR3/Makefile.inc
new file mode 100644
index 0000000000..e2af37d663
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/DDR3/Makefile.inc
@@ -0,0 +1,8 @@
+libagesa-y += mt3.c
+libagesa-y += mtlrdimm3.c
+libagesa-y += mtot3.c
+libagesa-y += mtrci3.c
+libagesa-y += mtsdi3.c
+libagesa-y += mtspd3.c
+libagesa-y += mttecc3.c
+libagesa-y += mttwl3.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/Makefile.inc
new file mode 100644
index 0000000000..fa6a130a16
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Mem/Tech/Makefile.inc
@@ -0,0 +1,10 @@
+libagesa-y += mt.c
+libagesa-y += mthdi.c
+libagesa-y += mttEdgeDetect.c
+libagesa-y += mttdimbt.c
+libagesa-y += mttecc.c
+libagesa-y += mtthrc.c
+libagesa-y += mtthrcSeedTrain.c
+libagesa-y += mttml.c
+libagesa-y += mttoptsrc.c
+libagesa-y += mttsrc.c
diff --git a/src/vendorcode/amd/agesa/f12/Proc/Recovery/HT/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/Recovery/HT/Makefile.inc
new file mode 100644
index 0000000000..26207664d7
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/Recovery/HT/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += htInitRecovery.c
+libagesa-y += htInitReset.c