tree: drop last paragraph of GPL copyright header
[coreboot.git] / src / vendorcode / amd / agesa / f10 / Makefile.inc
blob1109c08084e745d4c77c62d0ed4f4c6f95c6f819
1 #*****************************************************************************
3 # This file is part of the coreboot project.
5 # Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com>
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; version 2 of the License.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
16 #*****************************************************************************
18 # AGESA V5 Files
19 AGESA_ROOT = src/vendorcode/amd/agesa/f10
21 AGESA_INC  = -I$(src)/mainboard/$(MAINBOARDDIR)
22 AGESA_INC += -I$(AGESA_ROOT)
23 AGESA_INC += -I$(AGESA_ROOT)/../common
24 AGESA_INC += -I$(AGESA_ROOT)/Include
25 AGESA_INC += -I$(AGESA_ROOT)/Lib
26 AGESA_INC += -I$(AGESA_ROOT)/Legacy
27 AGESA_INC += -I$(AGESA_ROOT)/Proc/Common
28 AGESA_INC += -I$(AGESA_ROOT)/Proc/HT
29 AGESA_INC += -I$(AGESA_ROOT)/Proc/HT/NbCommon
30 AGESA_INC += -I$(AGESA_ROOT)/Proc/CPU
31 AGESA_INC += -I$(AGESA_ROOT)/Proc/CPU/Feature
32 AGESA_INC += -I$(AGESA_ROOT)/Proc/CPU/Family
33 AGESA_INC += -I$(AGESA_ROOT)/Proc/CPU/Family/0x10
34 AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem
35 AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Feat/IDENDIMM/
36 AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/NB/HY
37 AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Main
38 AGESA_INC += -I$(AGESA_ROOT)/Proc/IDS
39 AGESA_INC += -I$(AGESA_ROOT)/Proc/IDS/Family
40 AGESA_INC += -I$(AGESA_ROOT)/Proc/IDS/Family/0x10
41 AGESA_INC += -I$(AGESA_ROOT)/Proc/Recovery/CPU
42 AGESA_INC += -I$(AGESA_ROOT)/Proc/Recovery/Mem
44 ## AGESA need sse feature ##
45 CFLAGS_x86_32 += -msse3 -fno-zero-initialized-in-bss -fno-strict-aliasing
46 CFLAGS_x86_64 += -msse3 -fno-zero-initialized-in-bss -fno-strict-aliasing
48 export AGESA_ROOT := $(AGESA_ROOT)
49 export AGESA_INC  := $(AGESA_INC)
50 CPPFLAGS_x86_32 += $(AGESA_INC)
51 CPPFLAGS_x86_64 += $(AGESA_INC)
52 #######################################################################
54 classes-y += libagesa
56 ifeq ($(CONFIG_ARCH_ROMSTAGE_X86_32),y)
57 $(eval $(call create_class_compiler,libagesa,x86_32))
58 else
59 $(eval $(call create_class_compiler,libagesa,x86_64))
60 endif
62 #libagesa-y += Proc/CPU/Family/0x10/F10IoCstate.c
63 #libagesa-y += Proc/CPU/Feature/cpuIoCstate.c
64 #libagesa-y += Proc/Mem/NB/ON/mnprotoon.c
66 libagesa-y  = Proc/CPU/Family/0x10/RevD/F10MicrocodePatch010000c4.c
67 libagesa-y += Proc/CPU/Family/0x10/RevD/HY/F10HyInitEarlyTable.c
68 libagesa-y += Proc/CPU/cpuInitEarlyTable.c
69 libagesa-y += Proc/CPU/cahalt.c
70 libagesa-y += Proc/CPU/Feature/cpuC6State.c
71 libagesa-y += Proc/Mem/Main/mm.c
72 libagesa-y += Proc/CPU/Family/0x10/cpuCommonF10Utilities.c
73 libagesa-y += Proc/CPU/Family/0x10/RevD/HY/F10HyEquivalenceTable.c
74 libagesa-y += Proc/Mem/Tech/mttml.c
75 libagesa-y += Proc/Mem/Tech/DDR3/mtrci3.c
76 libagesa-y += Proc/CPU/Feature/cpuCacheInit.c
77 libagesa-y += Proc/Mem/Tech/mttdimbt.c
78 libagesa-y += Proc/Mem/Tech/DDR3/mtsdi3.c
79 libagesa-y += Proc/Mem/Tech/mthdi.c
80 libagesa-y += Proc/Mem/NB/mnfeat.c
81 libagesa-y += Proc/Mem/Main/mmStandardTraining.c
82 libagesa-y += Proc/CPU/cpuBist.c
83 libagesa-y += Proc/Recovery/Mem/mrdef.c
84 libagesa-y += Proc/Mem/Main/mmParallelTraining.c
85 libagesa-y += Proc/Mem/Feat/LVDDR3/mflvddr3.c
86 libagesa-y += Proc/CPU/Family/0x10/cpuF10PowerPlane.c
87 libagesa-y += Proc/Mem/NB/mnreg.c
88 #libagesa-y += Proc/Common/AmdInitReset.c
89 #libagesa-y += Proc/Recovery/HT/htInitReset.c
90 libagesa-y += Proc/Mem/Feat/CHINTLV/mfchi.c
91 libagesa-y += Proc/Mem/Tech/mt.c
92 libagesa-y += Proc/Mem/NB/mnflow.c
93 libagesa-y += Proc/IDS/Debug/IdsDebug.c
94 libagesa-y += Proc/CPU/Feature/cpuFeatureLeveling.c
95 libagesa-y += Proc/Mem/Tech/mttoptsrc.c
96 libagesa-y += Proc/Mem/Feat/PARTRN/mfParallelTraining.c
97 libagesa-y += Proc/Mem/Main/mmEcc.c
98 libagesa-y += Legacy/Proc/Dispatcher.c
99 libagesa-y += Proc/Mem/Feat/MEMCLR/mfmemclr.c
100 libagesa-y += Proc/CPU/Feature/cpuDmi.c
101 libagesa-y += Proc/Mem/Tech/mttsrc.c
102 libagesa-y += Proc/Mem/NB/mnmct.c
103 libagesa-y += Proc/HT/htInterfaceNonCoherent.c
104 libagesa-y += Proc/CPU/Feature/cpuSrat.c
105 libagesa-y += Proc/Common/AmdS3LateRestore.c
106 libagesa-y += Proc/CPU/Table.c
107 libagesa-y += Proc/HT/htInterface.c
108 libagesa-y += Proc/IDS/Perf/IdsPerf.c
109 libagesa-y += Lib/amdlib.c
110 libagesa-y += Proc/CPU/Feature/cpuCacheFlushOnHalt.c
111 libagesa-y += Proc/Mem/Main/minit.c
112 libagesa-y += Proc/Mem/Feat/INTLVRN/mfintlvrn.c
113 libagesa-y += Proc/Mem/Feat/IDENDIMM/mfidendimm.c
114 libagesa-y += Proc/Mem/Main/mmflow.c
115 libagesa-y += Proc/Mem/Ardk/ma.c
116 libagesa-y += Proc/Common/CommonInits.c
117 libagesa-y += Proc/CPU/Feature/cpuPstateLeveling.c
118 libagesa-y += Proc/Common/AmdInitPost.c
119 libagesa-y += Proc/CPU/cpuBrandId.c
120 libagesa-y += Proc/Mem/NB/mnphy.c
121 libagesa-y += Proc/Common/AmdInitEnv.c
122 libagesa-y += Proc/Mem/Main/mmConditionalPso.c
124 libagesa-y += Proc/Common/CommonReturns.c
125 libagesa-y += Proc/CPU/cpuPowerMgmt.c
126 libagesa-y += Proc/Common/AmdInitResume.c
127 libagesa-y += Proc/Common/AmdInitEarly.c
128 libagesa-y += Proc/CPU/cpuFamilyTranslation.c
129 libagesa-y += Proc/CPU/cpuPostInit.c
130 libagesa-y += Proc/Mem/NB/mn.c
131 libagesa-y += Proc/CPU/Feature/cpuHwC1e.c
132 libagesa-y += Proc/CPU/cpuLateInit.c
133 libagesa-y += Proc/Common/CreateStruct.c
134 libagesa-y += Proc/CPU/Feature/cpuWhea.c
135 libagesa-y += Proc/Mem/Feat/CSINTLV/mfcsi.c
136 libagesa-y += Proc/Mem/Feat/ECC/mfecc.c
137 libagesa-y += Proc/Mem/Feat/DMI/mfDMI.c
138 libagesa-y += Proc/Common/AmdLateRunApTask.c
139 libagesa-y += Proc/CPU/cpuPowerMgmtMultiSocket.c
140 libagesa-y += Proc/Mem/Main/mmUmaAlloc.c
141 libagesa-y += Proc/CPU/Feature/cpuPstateTables.c
142 libagesa-y += Proc/CPU/cpuPowerMgmtSingleSocket.c
143 libagesa-y += Proc/Mem/Tech/DDR3/mt3.c
144 libagesa-y += Proc/Mem/Feat/EXCLUDIMM/mfdimmexclud.c
145 libagesa-y += Proc/Mem/Main/mmExcludeDimm.c
146 libagesa-y += Proc/HT/htInterfaceGeneral.c
147 libagesa-y += Proc/CPU/S3.c
148 libagesa-y += Proc/CPU/Feature/cpuFeatures.c
149 libagesa-y += Proc/Mem/Ps/mp.c
150 libagesa-y += Proc/Mem/Main/mdef.c
151 libagesa-y += Proc/Mem/Tech/mtthrc.c
152 libagesa-y += Proc/CPU/cpuGeneralServices.c
153 libagesa-y += Proc/HT/htNb.c
154 libagesa-y += Proc/CPU/Feature/cpuSlit.c
155 libagesa-y += Proc/Mem/Feat/ECC/mfemp.c
156 libagesa-y += Proc/Mem/Main/mmNodeInterleave.c
157 libagesa-y += Proc/Mem/Main/mu.c
158 libagesa-y += Proc/CPU/Family/0x10/RevD/HY/F10HyMsrTables.c
159 libagesa-y += Proc/IDS/Control/IdsCtrl.c
160 libagesa-y += Proc/Mem/Tech/mttEdgeDetect.c
161 libagesa-y += Proc/Common/AmdInitLate.c
162 libagesa-y += Proc/HT/htFeat.c
163 libagesa-y += Proc/CPU/Family/0x10/RevD/HY/F10HyLogicalIdTables.c
164 libagesa-y += Legacy/Proc/hobTransfer.c
165 libagesa-y += Proc/CPU/cpuApicUtilities.c
167 #libagesa-y += Proc/Mem/Main/mmMemRestore.c
168 #libagesa-y += Proc/Recovery/Mem/NB/ON/mrnmcton.c
169 #libagesa-y += Proc/Recovery/Mem/NB/OR/mrnprotoor.c
170 #libagesa-y += Proc/Recovery/Mem/mrm.c
171 #libagesa-y += Proc/Recovery/Mem/mruc.c
172 #libagesa-y += Proc/Recovery/CPU/cpuRecovery.c
173 #libagesa-y += Proc/Recovery/HT/htInitRecovery.c
174 #libagesa-y += Proc/Recovery/Mem/NB/mrntrain3.c
175 #libagesa-y += Proc/Recovery/Mem/Tech/DDR3/mrtsdi3.c
176 #libagesa-y += Proc/Recovery/Mem/Tech/DDR3/mrt3.c
177 #libagesa-y += Proc/Recovery/Mem/Tech/DDR3/mrttwl3.c
178 #libagesa-y += Proc/Recovery/Mem/Tech/DDR3/mrtrci3.c
179 #libagesa-y += Proc/Recovery/Mem/NB/mrn.c
180 #libagesa-y += Proc/Recovery/Mem/Tech/mrttpos.c
181 #libagesa-y += Proc/Recovery/Mem/NB/mrnmct.c
182 #libagesa-y += Proc/Recovery/Mem/Tech/DDR3/mrtspd3.c
183 #libagesa-y += Proc/Recovery/Mem/NB/mrndct.c
184 #libagesa-y += Proc/Recovery/Mem/Tech/mrttsrc.c
185 #libagesa-y += Proc/Mem/NB/ON/mnS3on.c
187 libagesa-y += Proc/CPU/cpuEventLog.c
188 libagesa-y += Proc/HT/htInterfaceCoherent.c
189 libagesa-y += Proc/Mem/Main/muc.c
190 libagesa-y += Proc/Mem/Main/mmLvDdr3.c
191 libagesa-y += Proc/CPU/cpuMicrocodePatch.c
192 libagesa-y += Proc/Mem/Tech/mttecc.c
193 libagesa-y += Legacy/Proc/agesaCallouts.c
194 libagesa-y += Proc/Mem/Feat/ODTHERMAL/mfodthermal.c
195 libagesa-y += Proc/Mem/Feat/PARTRN/mfStandardTraining.c
196 libagesa-y += Proc/Mem/NB/mndct.c
197 libagesa-y += Proc/Mem/Main/mmOnlineSpare.c
198 libagesa-y += Proc/CPU/cpuEarlyInit.c
199 libagesa-y += Proc/Mem/Main/merrhdl.c
200 libagesa-y += Proc/Common/AmdS3Save.c
201 libagesa-y += Proc/IDS/Control/IdsLib.c
202 libagesa-y += Proc/Mem/Tech/DDR3/mtspd3.c
203 libagesa-y += Proc/HT/htMain.c
204 libagesa-y += Proc/CPU/cpuWarmReset.c
205 libagesa-y += Proc/Mem/Tech/DDR3/mttwl3.c
206 libagesa-y += Proc/CPU/Feature/cpuPstateGather.c
207 libagesa-y += Proc/Mem/Tech/DDR3/mtot3.c
208 libagesa-y += Proc/Mem/Main/mmMemClr.c
209 libagesa-y += Proc/Mem/Feat/TABLE/mftds.c
210 libagesa-y += Proc/Mem/Feat/S3/mfs3.c
211 libagesa-y += Proc/HT/htNotify.c
212 libagesa-y += Proc/Mem/NB/mnS3.c
213 libagesa-y += Proc/CPU/heapManager.c
214 libagesa-y += Proc/Mem/Tech/DDR3/mttecc3.c
215 libagesa-y += Proc/Common/AmdInitMid.c
216 libagesa-y += Proc/Mem/NB/mntrain3.c
217 libagesa-y += Proc/Common/S3SaveState.c
219 libagesa-y += Proc/Common/S3RestoreState.c
220 libagesa-y += Proc/Mem/Feat/OLSPARE/mfspr.c
221 libagesa-y += Proc/CPU/Feature/cpuMsgBasedC1e.c
222 libagesa-y += Proc/CPU/Feature/cpuCoreLeveling.c
223 libagesa-y += Proc/CPU/Feature/PreserveMailbox.c
225 libagesa-y += Proc/HT/NbCommon/htNbCoherent.c
226 libagesa-y += Proc/HT/NbCommon/htNbNonCoherent.c
227 libagesa-y += Proc/HT/NbCommon/htNbOptimization.c
228 libagesa-y += Proc/HT/NbCommon/htNbUtilities.c
229 libagesa-y += Proc/HT/Fam10/htNbCoherentFam10.c
230 libagesa-y += Proc/HT/Fam10/htNbOptimizationFam10.c
231 libagesa-y += Proc/HT/Fam10/htNbFam10.c
232 libagesa-y += Proc/HT/Fam10/htNbNonCoherentFam10.c
233 libagesa-y += Proc/HT/Fam10/htNbUtilitiesFam10.c
234 libagesa-y += Proc/HT/Fam10/htNbSystemFam10.c
235 libagesa-y += Proc/HT/Features/htFeatDynamicDiscovery.c
236 libagesa-y += Proc/HT/Features/htFeatSets.c
237 libagesa-y += Proc/HT/Features/htFeatGanging.c
238 libagesa-y += Proc/HT/Features/htFeatSublinks.c
239 libagesa-y += Proc/HT/Features/htFeatNoncoherent.c
240 libagesa-y += Proc/HT/Features/htFeatTrafficDistribution.c
241 libagesa-y += Proc/HT/Features/htFeatOptimization.c
242 libagesa-y += Proc/HT/Features/htIds.c
243 libagesa-y += Proc/HT/Features/htFeatRouting.c
245 libagesa-y += Proc/CPU/Family/0x10/cpuF10PciTables.c
246 libagesa-y += Proc/CPU/Family/0x10/cpuF10CacheDefaults.c
247 libagesa-y += Proc/CPU/Family/0x10/cpuF10PowerCheck.c
248 libagesa-y += Proc/CPU/Family/0x10/cpuF10BrandId.c
249 libagesa-y += Proc/CPU/Family/0x10/cpuF10Dmi.c
250 libagesa-y += Proc/CPU/Family/0x10/cpuF10Pstate.c
251 libagesa-y += Proc/CPU/Family/0x10/cpuF10SoftwareThermal.c
252 libagesa-y += Proc/CPU/Family/0x10/cpuF10FeatureLeveling.c
253 libagesa-y += Proc/CPU/Family/0x10/cpuF10Utilities.c
254 libagesa-y += Proc/CPU/Family/0x10/cpuF10WheaInitDataTables.c
255 libagesa-y += Proc/CPU/Family/0x10/cpuF10MsrTables.c
256 libagesa-y += Proc/CPU/Family/0x10/cpuF10CacheFlushOnHalt.c
257 libagesa-y += Proc/CPU/Family/0x10/cpuF10PowerMgmtSystemTables.c
258 libagesa-y += Proc/CPU/Family/0x10/cpuF10EarlyInit.c
259 libagesa-y += Proc/CPU/Family/0x10/cpuF10BrandIdG34.c
261 ##libagesa-y += Proc/CPU/Family/0x10/cpuF10BrandIdAm3.c
262 ##libagesa-y += Proc/CPU/Family/0x10/cpuF10BrandIdAsb2.c
263 ##libagesa-y += Proc/CPU/Family/0x10/cpuF10BrandIdC32.c
264 ##libagesa-y += Proc/CPU/Family/0x10/cpuF10BrandIdFr1207.c
265 ##libagesa-y += Proc/CPU/Family/0x10/cpuF10BrandIdS1g3.c
266 ##libagesa-y += Proc/CPU/Family/0x10/cpuF10BrandIdS1g4.c
268 libagesa-y += Proc/CPU/Family/0x10/F10MultiLinkPciTables.c
269 libagesa-y += Proc/CPU/Family/0x10/cpuF10HtPhyTables.c
270 libagesa-y += Proc/CPU/Family/0x10/RevD/F10RevDUtilities.c
271 libagesa-y += Proc/CPU/Family/0x10/RevD/F10RevDMsgBasedC1e.c
272 libagesa-y += Proc/CPU/Family/0x10/RevD/F10RevDHtAssist.c
273 libagesa-y += Proc/CPU/Family/0x10/RevD/HY/F10HyPciTables.c
274 libagesa-y += Proc/CPU/Family/0x10/RevD/HY/F10HyMicrocodePatchTables.c
275 libagesa-y += Proc/CPU/Family/0x10/RevD/HY/F10HyHtPhyTables.c
277 libagesa-y += Proc/HT/htGraph/htGraph1.c
278 libagesa-y += Proc/HT/htGraph/htGraph6DoubloonUpper.c
279 libagesa-y += Proc/HT/htGraph/htGraph2.c
280 libagesa-y += Proc/HT/htGraph/htGraph6FullyConnected.c
281 libagesa-y += Proc/HT/htGraph/htGraph3Line.c
282 libagesa-y += Proc/HT/htGraph/htGraph6TwinTriangles.c
283 libagesa-y += Proc/HT/htGraph/htGraph3Triangle.c
284 libagesa-y += Proc/HT/htGraph/htGraph6TwistedLadder.c
285 libagesa-y += Proc/HT/htGraph/htGraph4Degenerate.c
286 libagesa-y += Proc/HT/htGraph/htGraph7FullyConnected.c
287 libagesa-y += Proc/HT/htGraph/htGraph4FullyConnected.c
288 libagesa-y += Proc/HT/htGraph/htGraph7TwistedLadder.c
289 libagesa-y += Proc/HT/htGraph/htGraph4Kite.c
290 libagesa-y += Proc/HT/htGraph/htGraph8DoubloonM.c
291 libagesa-y += Proc/HT/htGraph/htGraph4Line.c
292 libagesa-y += Proc/HT/htGraph/htGraph8FullyConnected.c
293 libagesa-y += Proc/HT/htGraph/htGraph4Square.c
294 libagesa-y += Proc/HT/htGraph/htGraph8Ladder.c
295 libagesa-y += Proc/HT/htGraph/htGraph4Star.c
296 libagesa-y += Proc/HT/htGraph/htGraph8TwinFullyFourWays.c
297 libagesa-y += Proc/HT/htGraph/htGraph5FullyConnected.c
298 libagesa-y += Proc/HT/htGraph/htGraph8TwistedLadder.c
299 libagesa-y += Proc/HT/htGraph/htGraph5TwistedLadder.c
300 libagesa-y += Proc/HT/htGraph/htGraph.c
301 libagesa-y += Proc/HT/htGraph/htGraph6DoubloonLower.c
303 libagesa-y += Proc/Mem/Main/HY/mmflowhy.c
304 libagesa-y += Proc/Mem/Feat/NDINTLV/mfndi.c
305 libagesa-y += Proc/Mem/NB/HY/mnS3hy.c
306 libagesa-y += Proc/Mem/NB/HY/mnhy.c
307 libagesa-y += Proc/Mem/NB/HY/mndcthy.c
308 libagesa-y += Proc/Mem/NB/HY/mnflowhy.c
309 libagesa-y += Proc/Mem/NB/HY/mnidendimmhy.c
310 libagesa-y += Proc/Mem/NB/HY/mnmcthy.c
311 libagesa-y += Proc/Mem/NB/HY/mnothy.c
312 libagesa-y += Proc/Mem/NB/HY/mnParTrainHy.c
313 libagesa-y += Proc/Mem/NB/HY/mnphyhy.c
314 libagesa-y += Proc/Mem/NB/HY/mnprotohy.c
315 libagesa-y += Proc/Mem/NB/HY/mnreghy.c
317 libagesa-y += Proc/Mem/Ps/HY/mprhy3.c
318 libagesa-y += Proc/Mem/Ps/HY/mpuhy3.c
319 libagesa-y += Proc/Mem/Ps/HY/mpshy3.c
320 libagesa-y += Proc/Mem/Ardk/HY/marhy3.c
321 libagesa-y += Proc/Mem/Ardk/HY/mauhy3.c
323 libagesa-y += Proc/CPU/Feature/cpuHtAssist.c
324 libagesa-y += Proc/CPU/Family/0x10/F10PmNbCofVidInit.c
325 libagesa-y += Proc/CPU/Family/0x10/F10PmNbPstateInit.c
327 ##C32
328 #libagesa-y += Proc/Mem/Main/C32/mmflowC32.c
330 $(obj)/libagesa.fam10.a: $$(libagesa-objs)
331         @printf "    AGESA        $(subst $(obj)/,,$(@))\n"
332         ar rcs $@ $+
334 romstage-libs  += $(obj)/libagesa.fam10.a
335 ramstage-libs  += $(obj)/libagesa.fam10.a