summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/agesa
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-08-29 10:59:39 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-08-31 04:48:50 +0000
commitbe7634433133cbd43bc6c51b45a63ab035f460ad (patch)
tree3ea902604b9c9c7a1ffa237be4dd68b325de1ea3 /src/vendorcode/amd/agesa
parentfd77d714f968458670ef7a477996ed61af46650b (diff)
downloadcoreboot-be7634433133cbd43bc6c51b45a63ab035f460ad.tar.xz
AGESA f14 vendorcode: Split to Makefile.inc files
Change-Id: I6dbcd23b0ea03b1b965d43346ae1cf7cf1971eb7 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/21260 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/vendorcode/amd/agesa')
-rw-r--r--src/vendorcode/amd/agesa/f14/Legacy/Proc/Makefile.inc3
-rw-r--r--src/vendorcode/amd/agesa/f14/Makefile.inc250
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/Makefile.inc22
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/ON/Makefile.inc6
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/CPU/Feature/Makefile.inc15
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/CPU/Makefile.inc20
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Common/Makefile.inc15
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Common/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Gfx/Family/0x14/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Gfx/Makefile.inc9
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Makefile.inc6
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbCommonLib/Makefile.inc7
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxConfig/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxInitLibV1/Makefile.inc3
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbNbInitLibV1/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieAlibV1/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieConfig/Makefile.inc4
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieInitLibV1/Makefile.inc13
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieTrainingV1/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Family/0x14/Makefile.inc5
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Feature/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Makefile.inc9
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/PCIe/Family/0x14/Makefile.inc6
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/GNB/PCIe/Makefile.inc9
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/HT/Fam14/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/HT/Makefile.inc8
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Ardk/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Ardk/ON/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/CHINTLV/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/CSINTLV/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/DMI/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/ECC/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/EXCLUDIMM/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/IDENDIMM/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/INTLVRN/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/LVDDR3/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/MEMCLR/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/ODTHERMAL/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/PARTRN/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/S3/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/TABLE/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Main/Makefile.inc18
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Main/ON/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/NB/Makefile.inc9
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/NB/ON/Makefile.inc10
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Ps/Makefile.inc1
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Ps/ON/Makefile.inc2
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Tech/DDR3/Makefile.inc7
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Mem/Tech/Makefile.inc9
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Recovery/HT/Makefile.inc1
50 files changed, 250 insertions, 248 deletions
diff --git a/src/vendorcode/amd/agesa/f14/Legacy/Proc/Makefile.inc b/src/vendorcode/amd/agesa/f14/Legacy/Proc/Makefile.inc
new file mode 100644
index 0000000000..80cdf12a7d
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Makefile.inc b/src/vendorcode/amd/agesa/f14/Makefile.inc
index fe8bd1deaa..eab84714ab 100644
--- a/src/vendorcode/amd/agesa/f14/Makefile.inc
+++ b/src/vendorcode/amd/agesa/f14/Makefile.inc
@@ -68,254 +68,8 @@ CPPFLAGS_x86_32 += $(AGESA_INC)
CPPFLAGS_x86_64 += $(AGESA_INC)
#######################################################################
-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/F14MicrocodePatch05000029.c
-libagesa-y += Proc/CPU/Family/0x14/F14MicrocodePatch05000119.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 += 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 += 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
+subdirs-y += Legacy/Proc
+subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc))
$(obj)/libagesa.fam14.a: $$(libagesa-objs)
@printf " AGESA $(subst $(obj)/,,$(@))\n"
diff --git a/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/Makefile.inc
new file mode 100644
index 0000000000..05f7816576
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/Makefile.inc
@@ -0,0 +1,22 @@
+libagesa-y += F14C6State.c
+libagesa-y += F14IoCstate.c
+libagesa-y += F14MicrocodePatch0500000B.c
+libagesa-y += F14MicrocodePatch0500001A.c
+libagesa-y += F14MicrocodePatch05000029.c
+libagesa-y += F14MicrocodePatch05000119.c
+libagesa-y += cpuCommonF14Utilities.c
+libagesa-y += cpuF14BrandId.c
+libagesa-y += cpuF14BrandIdFt1.c
+libagesa-y += cpuF14CacheDefaults.c
+libagesa-y += cpuF14Dmi.c
+libagesa-y += cpuF14LowPowerInit.c
+libagesa-y += cpuF14MsrTables.c
+libagesa-y += cpuF14PciTables.c
+libagesa-y += cpuF14PerCorePciTables.c
+libagesa-y += cpuF14PowerCheck.c
+libagesa-y += cpuF14PowerMgmtSystemTables.c
+libagesa-y += cpuF14PowerPlane.c
+libagesa-y += cpuF14Pstate.c
+libagesa-y += cpuF14SoftwareThermal.c
+libagesa-y += cpuF14Utilities.c
+libagesa-y += cpuF14WheaInitDataTables.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/ON/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/ON/Makefile.inc
new file mode 100644
index 0000000000..37b6645f01
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/ON/Makefile.inc
@@ -0,0 +1,6 @@
+libagesa-y += F14OnCpb.c
+libagesa-y += F14OnEquivalenceTable.c
+libagesa-y += F14OnInitEarlyTable.c
+libagesa-y += F14OnLogicalIdTables.c
+libagesa-y += F14OnMicrocodePatchTables.c
+libagesa-y += F14OnPciTables.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/CPU/Feature/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/CPU/Feature/Makefile.inc
new file mode 100644
index 0000000000..2b8a805cf0
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/CPU/Feature/Makefile.inc
@@ -0,0 +1,15 @@
+libagesa-y += cpuC6State.c
+libagesa-y += cpuCacheFlushOnHalt.c
+libagesa-y += cpuCacheInit.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 += cpuPstateGather.c
+libagesa-y += cpuPstateLeveling.c
+libagesa-y += cpuPstateTables.c
+libagesa-y += cpuSlit.c
+libagesa-y += cpuSrat.c
+libagesa-y += cpuWhea.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/CPU/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/CPU/Makefile.inc
new file mode 100644
index 0000000000..239af76e98
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/CPU/Makefile.inc
@@ -0,0 +1,20 @@
+libagesa-y += S3.c
+libagesa-y += Table.c
+libagesa-y += cahalt.c
+libagesa-y += cahaltasm.S
+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/f14/Proc/Common/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Common/Makefile.inc
new file mode 100644
index 0000000000..957c98f639
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/GNB/Common/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Common/Makefile.inc
new file mode 100644
index 0000000000..bcde69e731
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/Common/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += GnbLibFeatures.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/GNB/Gfx/Family/0x14/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Gfx/Family/0x14/Makefile.inc
new file mode 100644
index 0000000000..d8033ead9c
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/Gfx/Family/0x14/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += F14GfxServices.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/GNB/Gfx/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Gfx/Makefile.inc
new file mode 100644
index 0000000000..3f0dfed1ae
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/GNB/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Makefile.inc
new file mode 100644
index 0000000000..d58d96c2b0
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/GNB/Modules/GnbCommonLib/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbCommonLib/Makefile.inc
new file mode 100644
index 0000000000..7789218010
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbCommonLib/Makefile.inc
@@ -0,0 +1,7 @@
+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
diff --git a/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxConfig/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxConfig/Makefile.inc
new file mode 100644
index 0000000000..ae82cde5aa
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/GNB/Modules/GnbGfxInitLibV1/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxInitLibV1/Makefile.inc
new file mode 100644
index 0000000000..df72f96c6b
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxInitLibV1/Makefile.inc
@@ -0,0 +1,3 @@
+libagesa-y += GfxCardInfo.c
+libagesa-y += GfxEnumConnectors.c
+libagesa-y += GfxPowerPlayTable.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbNbInitLibV1/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbNbInitLibV1/Makefile.inc
new file mode 100644
index 0000000000..9cd32dbe84
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbNbInitLibV1/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += GnbNbInitLibV1.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieAlibV1/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieAlibV1/Makefile.inc
new file mode 100644
index 0000000000..8a251f6208
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieAlibV1/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += PcieAlib.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieConfig/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieConfig/Makefile.inc
new file mode 100644
index 0000000000..d9edf85fae
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/GNB/Modules/GnbPcieInitLibV1/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieInitLibV1/Makefile.inc
new file mode 100644
index 0000000000..29e85229d9
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieInitLibV1/Makefile.inc
@@ -0,0 +1,13 @@
+libagesa-y += PcieAspm.c
+libagesa-y += PcieAspmBlackList.c
+libagesa-y += PcieAspmExitLatency.c
+libagesa-y += PciePifServices.c
+libagesa-y += PciePortRegAcc.c
+libagesa-y += PciePortServices.c
+libagesa-y += PciePowerMgmt.c
+libagesa-y += PcieSbLink.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/f14/Proc/GNB/Modules/GnbPcieTrainingV1/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieTrainingV1/Makefile.inc
new file mode 100644
index 0000000000..5b6b04d092
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/GNB/Nb/Family/0x14/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Family/0x14/Makefile.inc
new file mode 100644
index 0000000000..2994b3dde9
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Family/0x14/Makefile.inc
@@ -0,0 +1,5 @@
+libagesa-y += F14NbLclkDpm.c
+libagesa-y += F14NbLclkNclkRatio.c
+libagesa-y += F14NbPowerGate.c
+libagesa-y += F14NbServices.c
+libagesa-y += F14NbSmu.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Feature/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Feature/Makefile.inc
new file mode 100644
index 0000000000..fca82d5f13
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/GNB/Nb/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Makefile.inc
new file mode 100644
index 0000000000..578c5f857c
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/GNB/PCIe/Family/0x14/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/PCIe/Family/0x14/Makefile.inc
new file mode 100644
index 0000000000..8baaeda399
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/PCIe/Family/0x14/Makefile.inc
@@ -0,0 +1,6 @@
+libagesa-y += F14PcieAlib.c
+libagesa-y += F14PcieComplexConfig.c
+libagesa-y += F14PcieComplexServices.c
+libagesa-y += F14PciePhyServices.c
+libagesa-y += F14PciePifServices.c
+libagesa-y += F14PcieWrapperServices.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/GNB/PCIe/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/GNB/PCIe/Makefile.inc
new file mode 100644
index 0000000000..ad21861c9d
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/GNB/PCIe/Makefile.inc
@@ -0,0 +1,9 @@
+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 += PcieMiscLib.c
+libagesa-y += PciePortInit.c
+libagesa-y += PciePortLateInit.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/HT/Fam14/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/HT/Fam14/Makefile.inc
new file mode 100644
index 0000000000..9f5ebb57e3
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/HT/Fam14/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += htNbFam14.c
+libagesa-y += htNbUtilitiesFam14.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/HT/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/HT/Makefile.inc
new file mode 100644
index 0000000000..f54568a1f1
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/Mem/Ardk/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Ardk/Makefile.inc
new file mode 100644
index 0000000000..3b5087cbcb
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Ardk/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += ma.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Ardk/ON/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Ardk/ON/Makefile.inc
new file mode 100644
index 0000000000..b837528c50
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Ardk/ON/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += mason3.c
+libagesa-y += mauon3.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/CHINTLV/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/CHINTLV/Makefile.inc
new file mode 100644
index 0000000000..6599c4723d
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/CHINTLV/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfchi.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/CSINTLV/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/CSINTLV/Makefile.inc
new file mode 100644
index 0000000000..c7dc75b38c
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/CSINTLV/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfcsi.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/DMI/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/DMI/Makefile.inc
new file mode 100644
index 0000000000..c5c1eac7d8
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/DMI/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfDMI.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/ECC/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/ECC/Makefile.inc
new file mode 100644
index 0000000000..25c0f38607
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/Mem/Feat/EXCLUDIMM/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/EXCLUDIMM/Makefile.inc
new file mode 100644
index 0000000000..31cf348efc
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/EXCLUDIMM/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfdimmexclud.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/IDENDIMM/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/IDENDIMM/Makefile.inc
new file mode 100644
index 0000000000..8f98ec3c1b
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/IDENDIMM/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfidendimm.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/INTLVRN/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/INTLVRN/Makefile.inc
new file mode 100644
index 0000000000..d9fca46951
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/INTLVRN/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfintlvrn.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/LVDDR3/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/LVDDR3/Makefile.inc
new file mode 100644
index 0000000000..436ceb372c
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/LVDDR3/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mflvddr3.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/MEMCLR/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/MEMCLR/Makefile.inc
new file mode 100644
index 0000000000..94d80c7187
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/MEMCLR/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfmemclr.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/ODTHERMAL/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/ODTHERMAL/Makefile.inc
new file mode 100644
index 0000000000..e1b5923668
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/ODTHERMAL/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfodthermal.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/PARTRN/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/PARTRN/Makefile.inc
new file mode 100644
index 0000000000..90c8566627
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/Mem/Feat/S3/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/S3/Makefile.inc
new file mode 100644
index 0000000000..506cda03d7
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/S3/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mfs3.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/TABLE/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/TABLE/Makefile.inc
new file mode 100644
index 0000000000..27dcfe7f00
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Feat/TABLE/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mftds.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Main/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Main/Makefile.inc
new file mode 100644
index 0000000000..4c61d95629
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/Mem/Main/ON/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Main/ON/Makefile.inc
new file mode 100644
index 0000000000..1efece575e
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Main/ON/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mmflowon.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/NB/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/NB/Makefile.inc
new file mode 100644
index 0000000000..eb029c2692
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/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/f14/Proc/Mem/NB/ON/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/NB/ON/Makefile.inc
new file mode 100644
index 0000000000..70fd70f2a3
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/NB/ON/Makefile.inc
@@ -0,0 +1,10 @@
+libagesa-y += mnS3on.c
+libagesa-y += mndcton.c
+libagesa-y += mnflowon.c
+libagesa-y += mnidendimmon.c
+libagesa-y += mnmcton.c
+libagesa-y += mnon.c
+libagesa-y += mnoton.c
+libagesa-y += mnphyon.c
+libagesa-y += mnprotoon.c
+libagesa-y += mnregon.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Ps/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Ps/Makefile.inc
new file mode 100644
index 0000000000..71991016a1
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Ps/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += mp.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Ps/ON/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Ps/ON/Makefile.inc
new file mode 100644
index 0000000000..e9ae68eb43
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Ps/ON/Makefile.inc
@@ -0,0 +1,2 @@
+libagesa-y += mpson3.c
+libagesa-y += mpuon3.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Mem/Tech/DDR3/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Tech/DDR3/Makefile.inc
new file mode 100644
index 0000000000..72844f2def
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Tech/DDR3/Makefile.inc
@@ -0,0 +1,7 @@
+libagesa-y += mt3.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/f14/Proc/Mem/Tech/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Mem/Tech/Makefile.inc
new file mode 100644
index 0000000000..f438d029e0
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Mem/Tech/Makefile.inc
@@ -0,0 +1,9 @@
+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 += mttml.c
+libagesa-y += mttoptsrc.c
+libagesa-y += mttsrc.c
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Recovery/HT/Makefile.inc b/src/vendorcode/amd/agesa/f14/Proc/Recovery/HT/Makefile.inc
new file mode 100644
index 0000000000..854dbebd47
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f14/Proc/Recovery/HT/Makefile.inc
@@ -0,0 +1 @@
+libagesa-y += htInitReset.c