blob: a32a2ff3a25c9c5e3010cb2329b8b8ceace7d954 [file] [log] [blame]
Soby Mathewd9bdaf22014-08-14 16:19:29 +01001#
Arvind Ram Prakashb2be8b02024-09-06 11:35:56 -05002# Copyright (c) 2014-2025, Arm Limited and Contributors. All rights reserved.
Varun Wadekar92e87082022-03-09 22:04:00 +00003# Copyright (c) 2020-2022, NVIDIA Corporation. All rights reserved.
Soby Mathewd9bdaf22014-08-14 16:19:29 +01004#
dp-arm82cb2c12017-05-03 09:38:09 +01005# SPDX-License-Identifier: BSD-3-Clause
Soby Mathewd9bdaf22014-08-14 16:19:29 +01006#
7
Boyan Karatoteve4447632022-11-17 12:01:29 +00008include ${MAKE_HELPERS_DIRECTORY}$/build_macros.mk
9
Sona Mathewe42abf22024-05-20 13:48:19 -050010# Flag to disable Hardware page aggregation(HPA).
11# This flag is enabled by default.
12WORKAROUND_CVE_2024_5660 ?=1
13CPU_FLAG_LIST += WORKAROUND_CVE_2024_5660
14
Soby Mathew5541bb32014-09-22 14:13:34 +010015# Cortex A57 specific optimisation to skip L1 cache flush when
16# cluster is powered down.
Boyan Karatoteve4447632022-11-17 12:01:29 +000017CPU_FLAG_LIST += SKIP_A57_L1_FLUSH_PWR_DWN
Soby Mathew5541bb32014-09-22 14:13:34 +010018
Sandrine Bailleux54035fc2016-01-13 14:57:38 +000019# Flag to disable the cache non-temporal hint.
20# It is enabled by default.
johpow0183435632022-01-04 16:15:18 -060021A53_DISABLE_NON_TEMPORAL_HINT ?=1
Boyan Karatoteve4447632022-11-17 12:01:29 +000022CPU_FLAG_LIST += A53_DISABLE_NON_TEMPORAL_HINT
Sandrine Bailleux54035fc2016-01-13 14:57:38 +000023
24# Flag to disable the cache non-temporal hint.
25# It is enabled by default.
johpow0183435632022-01-04 16:15:18 -060026A57_DISABLE_NON_TEMPORAL_HINT ?=1
Boyan Karatoteve4447632022-11-17 12:01:29 +000027CPU_FLAG_LIST += A57_DISABLE_NON_TEMPORAL_HINT
Sandrine Bailleux54035fc2016-01-13 14:57:38 +000028
Varun Wadekarcd0ea182018-06-12 16:49:12 -070029# Flag to enable higher performance non-cacheable load forwarding.
30# It is disabled by default.
Boyan Karatoteve4447632022-11-17 12:01:29 +000031CPU_FLAG_LIST += A57_ENABLE_NONCACHEABLE_LOAD_FWD
Varun Wadekarcd0ea182018-06-12 16:49:12 -070032
johpow0183435632022-01-04 16:15:18 -060033WORKAROUND_CVE_2017_5715 ?=1
Boyan Karatoteve4447632022-11-17 12:01:29 +000034CPU_FLAG_LIST += WORKAROUND_CVE_2017_5715
johpow0183435632022-01-04 16:15:18 -060035WORKAROUND_CVE_2018_3639 ?=1
Boyan Karatoteve4447632022-11-17 12:01:29 +000036CPU_FLAG_LIST += WORKAROUND_CVE_2018_3639
37CPU_FLAG_LIST += DYNAMIC_WORKAROUND_CVE_2018_3639
Bipin Ravi1fe4a9d2022-01-18 01:59:06 -060038WORKAROUND_CVE_2022_23960 ?=1
Boyan Karatoteve4447632022-11-17 12:01:29 +000039CPU_FLAG_LIST += WORKAROUND_CVE_2022_23960
Arvind Ram Prakashb2be8b02024-09-06 11:35:56 -050040WORKAROUND_CVE_2024_7881 ?=1
41CPU_FLAG_LIST += WORKAROUND_CVE_2024_7881
Dimitris Papastamosf62ad322017-11-30 14:53:53 +000042
Javier Almansa Sobrino25bbbd22020-10-23 13:22:07 +010043# Flags to indicate internal or external Last level cache
Manish Pandeyf2d6b4e2020-01-24 11:54:44 +000044# By default internal
Boyan Karatoteve4447632022-11-17 12:01:29 +000045CPU_FLAG_LIST += NEOVERSE_Nx_EXTERNAL_LLC
Manish Pandeyf2d6b4e2020-01-24 11:54:44 +000046
Boyan Karatoteve4447632022-11-17 12:01:29 +000047# CPU Errata Build flags.
48# These should be enabled by the platform if the erratum workaround needs to be
49# applied.
Varun Wadekarcd0ea182018-06-12 16:49:12 -070050
Boyan Karatoteve4447632022-11-17 12:01:29 +000051# Flag to apply erratum 794073 workaround when disabling mmu.
52CPU_FLAG_LIST += ERRATA_A9_794073
Soby Mathew5541bb32014-09-22 14:13:34 +010053
Boyan Karatoteve4447632022-11-17 12:01:29 +000054# Flag to apply erratum 816470 workaround during power down. This erratum
55# applies only to revision >= r3p0 of the Cortex A15 cpu.
56CPU_FLAG_LIST += ERRATA_A15_816470
Sandrine Bailleux54035fc2016-01-13 14:57:38 +000057
Boyan Karatoteve4447632022-11-17 12:01:29 +000058# Flag to apply erratum 827671 workaround during reset. This erratum applies
59# only to revision >= r3p0 of the Cortex A15 cpu.
60CPU_FLAG_LIST += ERRATA_A15_827671
Sandrine Bailleux54035fc2016-01-13 14:57:38 +000061
Boyan Karatoteve4447632022-11-17 12:01:29 +000062# Flag to apply erratum 852421 workaround during reset. This erratum applies
63# only to revision <= r1p2 of the Cortex A17 cpu.
64CPU_FLAG_LIST += ERRATA_A17_852421
Soby Mathew5541bb32014-09-22 14:13:34 +010065
Boyan Karatoteve4447632022-11-17 12:01:29 +000066# Flag to apply erratum 852423 workaround during reset. This erratum applies
67# only to revision <= r1p2 of the Cortex A17 cpu.
68CPU_FLAG_LIST += ERRATA_A17_852423
Dimitris Papastamosb8a25bb2018-04-05 14:38:26 +010069
Boyan Karatoteve4447632022-11-17 12:01:29 +000070# Flag to apply erratum 855472 workaround during reset. This erratum applies
71# only to revision r0p0 of the Cortex A35 cpu.
72CPU_FLAG_LIST += ERRATA_A35_855472
Dimitris Papastamosfe007b22018-05-16 11:36:14 +010073
Boyan Karatoteve4447632022-11-17 12:01:29 +000074# Flag to apply erratum 819472 workaround during reset. This erratum applies
75# only to revision <= r0p1 of the Cortex A53 cpu.
76CPU_FLAG_LIST += ERRATA_A53_819472
Bipin Ravi1fe4a9d2022-01-18 01:59:06 -060077
Boyan Karatoteve4447632022-11-17 12:01:29 +000078# Flag to apply erratum 824069 workaround during reset. This erratum applies
79# only to revision <= r0p2 of the Cortex A53 cpu.
80CPU_FLAG_LIST += ERRATA_A53_824069
81
82# Flag to apply erratum 826319 workaround during reset. This erratum applies
83# only to revision <= r0p2 of the Cortex A53 cpu.
84CPU_FLAG_LIST += ERRATA_A53_826319
85
86# Flag to apply erratum 827319 workaround during reset. This erratum applies
87# only to revision <= r0p2 of the Cortex A53 cpu.
88CPU_FLAG_LIST += ERRATA_A53_827319
89
90# Flag to apply erratum 835769 workaround at compile and link time. This
91# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
92# workaround can lead the linker to create "*.stub" sections.
93CPU_FLAG_LIST += ERRATA_A53_835769
94
95# Flag to apply erratum 836870 workaround during reset. This erratum applies
96# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
97# erratum workaround is enabled by default in hardware.
98CPU_FLAG_LIST += ERRATA_A53_836870
99
100# Flag to apply erratum 843419 workaround at link time.
101# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
102# workaround could lead the linker to emit "*.stub" sections which are 4kB
103# aligned.
104CPU_FLAG_LIST += ERRATA_A53_843419
105
106# Flag to apply errata 855873 during reset. This errata applies to all
107# revisions of the Cortex A53 CPU, but this firmware workaround only works
108# for revisions r0p3 and higher. Earlier revisions are taken care
109# of by the rich OS.
110CPU_FLAG_LIST += ERRATA_A53_855873
111
112# Flag to apply erratum 1530924 workaround during reset. This erratum applies
113# to all revisions of Cortex A53 cpu.
114CPU_FLAG_LIST += ERRATA_A53_1530924
115
116# Flag to apply erratum 768277 workaround during reset. This erratum applies
117# only to revision r0p0 of the Cortex A55 cpu.
118CPU_FLAG_LIST += ERRATA_A55_768277
119
120# Flag to apply erratum 778703 workaround during reset. This erratum applies
121# only to revision r0p0 of the Cortex A55 cpu.
122CPU_FLAG_LIST += ERRATA_A55_778703
123
124# Flag to apply erratum 798797 workaround during reset. This erratum applies
125# only to revision r0p0 of the Cortex A55 cpu.
126CPU_FLAG_LIST += ERRATA_A55_798797
127
128# Flag to apply erratum 846532 workaround during reset. This erratum applies
129# only to revision <= r0p1 of the Cortex A55 cpu.
130CPU_FLAG_LIST += ERRATA_A55_846532
131
132# Flag to apply erratum 903758 workaround during reset. This erratum applies
133# only to revision <= r0p1 of the Cortex A55 cpu.
134CPU_FLAG_LIST += ERRATA_A55_903758
135
136# Flag to apply erratum 1221012 workaround during reset. This erratum applies
137# only to revision <= r1p0 of the Cortex A55 cpu.
138CPU_FLAG_LIST += ERRATA_A55_1221012
139
140# Flag to apply erratum 1530923 workaround during reset. This erratum applies
141# to all revisions of Cortex A55 cpu.
142CPU_FLAG_LIST += ERRATA_A55_1530923
143
144# Flag to apply erratum 806969 workaround during reset. This erratum applies
145# only to revision r0p0 of the Cortex A57 cpu.
146CPU_FLAG_LIST += ERRATA_A57_806969
147
148# Flag to apply erratum 813419 workaround during reset. This erratum applies
149# only to revision r0p0 of the Cortex A57 cpu.
150CPU_FLAG_LIST += ERRATA_A57_813419
151
152# Flag to apply erratum 813420 workaround during reset. This erratum applies
153# only to revision r0p0 of the Cortex A57 cpu.
154CPU_FLAG_LIST += ERRATA_A57_813420
155
156# Flag to apply erratum 814670 workaround during reset. This erratum applies
157# only to revision r0p0 of the Cortex A57 cpu.
158CPU_FLAG_LIST += ERRATA_A57_814670
159
160# Flag to apply erratum 817169 workaround during power down. This erratum
161# applies only to revision <= r0p1 of the Cortex A57 cpu.
162CPU_FLAG_LIST += ERRATA_A57_817169
163
164# Flag to apply erratum 826974 workaround during reset. This erratum applies
165# only to revision <= r1p1 of the Cortex A57 cpu.
166CPU_FLAG_LIST += ERRATA_A57_826974
167
168# Flag to apply erratum 826977 workaround during reset. This erratum applies
169# only to revision <= r1p1 of the Cortex A57 cpu.
170CPU_FLAG_LIST += ERRATA_A57_826977
171
172# Flag to apply erratum 828024 workaround during reset. This erratum applies
173# only to revision <= r1p1 of the Cortex A57 cpu.
174CPU_FLAG_LIST += ERRATA_A57_828024
175
176# Flag to apply erratum 829520 workaround during reset. This erratum applies
177# only to revision <= r1p2 of the Cortex A57 cpu.
178CPU_FLAG_LIST += ERRATA_A57_829520
179
180# Flag to apply erratum 833471 workaround during reset. This erratum applies
181# only to revision <= r1p2 of the Cortex A57 cpu.
182CPU_FLAG_LIST += ERRATA_A57_833471
183
184# Flag to apply erratum 855972 workaround during reset. This erratum applies
185# only to revision <= r1p3 of the Cortex A57 cpu.
186CPU_FLAG_LIST += ERRATA_A57_859972
187
188# Flag to apply erratum 1319537 workaround during reset. This erratum applies
189# to all revisions of Cortex A57 cpu.
190CPU_FLAG_LIST += ERRATA_A57_1319537
191
192# Flag to apply erratum 855971 workaround during reset. This erratum applies
193# only to revision <= r0p3 of the Cortex A72 cpu.
194CPU_FLAG_LIST += ERRATA_A72_859971
195
196# Flag to apply erratum 1319367 workaround during reset. This erratum applies
197# to all revisions of Cortex A72 cpu.
198CPU_FLAG_LIST += ERRATA_A72_1319367
199
200# Flag to apply erratum 852427 workaround during reset. This erratum applies
201# only to revision r0p0 of the Cortex A73 cpu.
202CPU_FLAG_LIST += ERRATA_A73_852427
203
204# Flag to apply erratum 855423 workaround during reset. This erratum applies
205# only to revision <= r0p1 of the Cortex A73 cpu.
206CPU_FLAG_LIST += ERRATA_A73_855423
207
208# Flag to apply erratum 764081 workaround during reset. This erratum applies
209# only to revision <= r0p0 of the Cortex A75 cpu.
210CPU_FLAG_LIST += ERRATA_A75_764081
211
212# Flag to apply erratum 790748 workaround during reset. This erratum applies
213# only to revision <= r0p0 of the Cortex A75 cpu.
214CPU_FLAG_LIST += ERRATA_A75_790748
215
216# Flag to apply erratum 1073348 workaround during reset. This erratum applies
217# only to revision <= r1p0 of the Cortex A76 cpu.
218CPU_FLAG_LIST += ERRATA_A76_1073348
219
220# Flag to apply erratum 1130799 workaround during reset. This erratum applies
221# only to revision <= r2p0 of the Cortex A76 cpu.
222CPU_FLAG_LIST += ERRATA_A76_1130799
223
224# Flag to apply erratum 1220197 workaround during reset. This erratum applies
225# only to revision <= r2p0 of the Cortex A76 cpu.
226CPU_FLAG_LIST += ERRATA_A76_1220197
227
228# Flag to apply erratum 1257314 workaround during reset. This erratum applies
229# only to revision <= r3p0 of the Cortex A76 cpu.
230CPU_FLAG_LIST += ERRATA_A76_1257314
231
232# Flag to apply erratum 1262606 workaround during reset. This erratum applies
233# only to revision <= r3p0 of the Cortex A76 cpu.
234CPU_FLAG_LIST += ERRATA_A76_1262606
235
236# Flag to apply erratum 1262888 workaround during reset. This erratum applies
237# only to revision <= r3p0 of the Cortex A76 cpu.
238CPU_FLAG_LIST += ERRATA_A76_1262888
239
240# Flag to apply erratum 1275112 workaround during reset. This erratum applies
241# only to revision <= r3p0 of the Cortex A76 cpu.
242CPU_FLAG_LIST += ERRATA_A76_1275112
243
244# Flag to apply erratum 1286807 workaround during reset. This erratum applies
245# only to revision <= r3p0 of the Cortex A76 cpu.
246CPU_FLAG_LIST += ERRATA_A76_1286807
247
248# Flag to apply erratum 1791580 workaround during reset. This erratum applies
249# only to revision <= r4p0 of the Cortex A76 cpu.
250CPU_FLAG_LIST += ERRATA_A76_1791580
251
252# Flag to apply erratum 1165522 workaround during reset. This erratum applies
253# to all revisions of Cortex A76 cpu.
254CPU_FLAG_LIST += ERRATA_A76_1165522
255
256# Flag to apply erratum 1868343 workaround during reset. This erratum applies
257# only to revision <= r4p0 of the Cortex A76 cpu.
258CPU_FLAG_LIST += ERRATA_A76_1868343
259
260# Flag to apply erratum 1946160 workaround during reset. This erratum applies
261# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
262CPU_FLAG_LIST += ERRATA_A76_1946160
263
264# Flag to apply erratum 2743102 workaround during powerdown. This erratum
265# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open.
266CPU_FLAG_LIST += ERRATA_A76_2743102
267
268# Flag to apply erratum 1508412 workaround during reset. This erratum applies
269# only to revision <= r1p0 of the Cortex A77 cpu.
270CPU_FLAG_LIST += ERRATA_A77_1508412
271
272# Flag to apply erratum 1925769 workaround during reset. This erratum applies
273# only to revision <= r1p1 of the Cortex A77 cpu.
274CPU_FLAG_LIST += ERRATA_A77_1925769
275
276# Flag to apply erratum 1946167 workaround during reset. This erratum applies
277# only to revision <= r1p1 of the Cortex A77 cpu.
278CPU_FLAG_LIST += ERRATA_A77_1946167
279
280# Flag to apply erratum 1791578 workaround during reset. This erratum applies
281# to revisions r0p0, r1p0, and r1p1, it is still open.
282CPU_FLAG_LIST += ERRATA_A77_1791578
283
284# Flag to apply erratum 2356587 workaround during reset. This erratum applies
285# to revisions r0p0, r1p0, and r1p1, it is still open.
286CPU_FLAG_LIST += ERRATA_A77_2356587
287
288# Flag to apply erratum 1800714 workaround during reset. This erratum applies
289# to revisions <= r1p1 of the Cortex A77 cpu.
290CPU_FLAG_LIST += ERRATA_A77_1800714
291
292# Flag to apply erratum 2743100 workaround during power down. This erratum
293# applies to revisions r0p0, r1p0, and r1p1, it is still open.
294CPU_FLAG_LIST += ERRATA_A77_2743100
295
296# Flag to apply erratum 1688305 workaround during reset. This erratum applies
297# to revisions r0p0 - r1p0 of the A78 cpu.
298CPU_FLAG_LIST += ERRATA_A78_1688305
299
300# Flag to apply erratum 1941498 workaround during reset. This erratum applies
301# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
302CPU_FLAG_LIST += ERRATA_A78_1941498
303
304# Flag to apply erratum 1951500 workaround during reset. This erratum applies
305# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
306# well but there is no workaround for that revision.
307CPU_FLAG_LIST += ERRATA_A78_1951500
308
309# Flag to apply erratum 1821534 workaround during reset. This erratum applies
310# to revisions r0p0 and r1p0 of the A78 cpu.
311CPU_FLAG_LIST += ERRATA_A78_1821534
312
313# Flag to apply erratum 1952683 workaround during reset. This erratum applies
314# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
315CPU_FLAG_LIST += ERRATA_A78_1952683
316
317# Flag to apply erratum 2132060 workaround during reset. This erratum applies
318# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
319CPU_FLAG_LIST += ERRATA_A78_2132060
320
321# Flag to apply erratum 2242635 workaround during reset. This erratum applies
322# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
323# present in r0p0 as well but there is no workaround for that revision.
324CPU_FLAG_LIST += ERRATA_A78_2242635
325
326# Flag to apply erratum 2376745 workaround during reset. This erratum applies
327# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
328CPU_FLAG_LIST += ERRATA_A78_2376745
329
330# Flag to apply erratum 2395406 workaround during reset. This erratum applies
331# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
332CPU_FLAG_LIST += ERRATA_A78_2395406
333
Sona Mathewab062f02023-03-14 16:50:36 -0500334# Flag to apply erratum 2712571 workaround for non-arm interconnect ip. This
335# erratum applies to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu.
336# It is fixed in r1p2.
337CPU_FLAG_LIST += ERRATA_A78_2712571
338
Boyan Karatoteve4447632022-11-17 12:01:29 +0000339# Flag to apply erratum 2742426 workaround during reset. This erratum
340# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
341# open.
342CPU_FLAG_LIST += ERRATA_A78_2742426
343
344# Flag to apply erratum 2772019 workaround during powerdown. This erratum
345# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
346# open.
347CPU_FLAG_LIST += ERRATA_A78_2772019
348
349# Flag to apply erratum 2779479 workaround during reset. This erratum applies
350# to revision r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still open.
351CPU_FLAG_LIST += ERRATA_A78_2779479
352
353# Flag to apply erratum 1941500 workaround during reset. This erratum applies
354# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
355CPU_FLAG_LIST += ERRATA_A78_AE_1941500
356
357# Flag to apply erratum 1951502 workaround during reset. This erratum applies
358# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
359CPU_FLAG_LIST += ERRATA_A78_AE_1951502
360
361# Flag to apply erratum 2376748 workaround during reset. This erratum applies
Sona Mathewc8146192023-10-10 16:48:57 -0500362# to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu. It is still open.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000363CPU_FLAG_LIST += ERRATA_A78_AE_2376748
364
365# Flag to apply erratum 2395408 workaround during reset. This erratum applies
366# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
367CPU_FLAG_LIST += ERRATA_A78_AE_2395408
368
Bipin Ravi672eb212023-03-14 10:04:23 -0500369# Flag to apply erratum 1827430 workaround during reset. This erratum applies
370# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
371CPU_FLAG_LIST += ERRATA_A78C_1827430
372
Bipin Ravib01a59e2023-03-14 11:03:24 -0500373# Flag to apply erratum 1827440 workaround during reset. This erratum applies
374# to revision r0p0 of the A78C cpu. It is fixed in r0p1.
375CPU_FLAG_LIST += ERRATA_A78C_1827440
376
Sona Mathewab062f02023-03-14 16:50:36 -0500377# Flag to apply erratum 2712574 workaround for non-arm interconnect ip. This
378# erratum applies to revisions r0p0, r0p1 and r0p2 of the A78 AE cpu.
379# It is still open.
380CPU_FLAG_LIST += ERRATA_A78_AE_2712574
381
Boyan Karatoteve4447632022-11-17 12:01:29 +0000382# Flag to apply erratum 2132064 workaround during reset. This erratum applies
383# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
384CPU_FLAG_LIST += ERRATA_A78C_2132064
385
386# Flag to apply erratum 2242638 workaround during reset. This erratum applies
387# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
388CPU_FLAG_LIST += ERRATA_A78C_2242638
389
390# Flag to apply erratum 2376749 workaround during reset. This erratum applies
391# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
392CPU_FLAG_LIST += ERRATA_A78C_2376749
393
394# Flag to apply erratum 2395411 workaround during reset. This erratum applies
395# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
396CPU_FLAG_LIST += ERRATA_A78C_2395411
397
Bipin Ravi0e5e9942023-12-20 15:40:44 -0600398# Flag to apply erratum 2683027 workaround during reset. This erratum applies
399# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
400CPU_FLAG_LIST += ERRATA_A78C_2683027
401
Sona Mathewab062f02023-03-14 16:50:36 -0500402# Flag to apply erratum 2712575 workaround for non-arm interconnect ip. This
403# erratum applies to revisions r0p1 and r0p2 of the A78C cpu.
404# It is still open.
405CPU_FLAG_LIST += ERRATA_A78C_2712575
406
Sona Mathew6becda52023-11-14 14:00:48 -0600407# Flag to apply erratum 2743232 workaround during reset. This erratum applies
408# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
409CPU_FLAG_LIST += ERRATA_A78C_2743232
410
Boyan Karatoteve4447632022-11-17 12:01:29 +0000411# Flag to apply erratum 2772121 workaround during powerdown. This erratum
412# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
413CPU_FLAG_LIST += ERRATA_A78C_2772121
414
415# Flag to apply erratum 2779484 workaround during reset. This erratum
416# applies to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
417CPU_FLAG_LIST += ERRATA_A78C_2779484
418
419# Flag to apply erratum 1821534 workaround during reset. This erratum applies
420# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
421CPU_FLAG_LIST += ERRATA_X1_1821534
422
423# Flag to apply erratum 1688305 workaround during reset. This erratum applies
424# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
425CPU_FLAG_LIST += ERRATA_X1_1688305
426
427# Flag to apply erratum 1827429 workaround during reset. This erratum applies
428# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
429CPU_FLAG_LIST += ERRATA_X1_1827429
430
431# Flag to apply T32 CLREX workaround during reset. This erratum applies
432# only to r0p0 and r1p0 of the Neoverse N1 cpu.
433CPU_FLAG_LIST += ERRATA_N1_1043202
434
435# Flag to apply erratum 1073348 workaround during reset. This erratum applies
436# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
437CPU_FLAG_LIST += ERRATA_N1_1073348
438
439# Flag to apply erratum 1130799 workaround during reset. This erratum applies
440# only to revision <= r2p0 of the Neoverse N1 cpu.
441CPU_FLAG_LIST += ERRATA_N1_1130799
442
443# Flag to apply erratum 1165347 workaround during reset. This erratum applies
444# only to revision <= r2p0 of the Neoverse N1 cpu.
445CPU_FLAG_LIST += ERRATA_N1_1165347
446
447# Flag to apply erratum 1207823 workaround during reset. This erratum applies
448# only to revision <= r2p0 of the Neoverse N1 cpu.
449CPU_FLAG_LIST += ERRATA_N1_1207823
450
451# Flag to apply erratum 1220197 workaround during reset. This erratum applies
452# only to revision <= r2p0 of the Neoverse N1 cpu.
453CPU_FLAG_LIST += ERRATA_N1_1220197
454
455# Flag to apply erratum 1257314 workaround during reset. This erratum applies
456# only to revision <= r3p0 of the Neoverse N1 cpu.
457CPU_FLAG_LIST += ERRATA_N1_1257314
458
459# Flag to apply erratum 1262606 workaround during reset. This erratum applies
460# only to revision <= r3p0 of the Neoverse N1 cpu.
461CPU_FLAG_LIST += ERRATA_N1_1262606
462
463# Flag to apply erratum 1262888 workaround during reset. This erratum applies
464# only to revision <= r3p0 of the Neoverse N1 cpu.
465CPU_FLAG_LIST += ERRATA_N1_1262888
466
467# Flag to apply erratum 1275112 workaround during reset. This erratum applies
468# only to revision <= r3p0 of the Neoverse N1 cpu.
469CPU_FLAG_LIST += ERRATA_N1_1275112
470
471# Flag to apply erratum 1315703 workaround during reset. This erratum applies
472# to revisions before r3p1 of the Neoverse N1 cpu.
473CPU_FLAG_LIST += ERRATA_N1_1315703
474
475# Flag to apply erratum 1542419 workaround during reset. This erratum applies
476# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
477CPU_FLAG_LIST += ERRATA_N1_1542419
478
479# Flag to apply erratum 1868343 workaround during reset. This erratum applies
480# to revision <= r4p0 of the Neoverse N1 cpu.
481CPU_FLAG_LIST += ERRATA_N1_1868343
482
483# Flag to apply erratum 1946160 workaround during reset. This erratum applies
484# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
485# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
486CPU_FLAG_LIST += ERRATA_N1_1946160
487
488# Flag to apply erratum 2743102 workaround during powerdown. This erratum
489# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
490CPU_FLAG_LIST += ERRATA_N1_2743102
491
492# Flag to apply erratum 1618635 workaround during reset. This erratum applies
493# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
494CPU_FLAG_LIST += ERRATA_V1_1618635
495
496# Flag to apply erratum 1774420 workaround during reset. This erratum applies
497# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
498CPU_FLAG_LIST += ERRATA_V1_1774420
499
500# Flag to apply erratum 1791573 workaround during reset. This erratum applies
501# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
502CPU_FLAG_LIST += ERRATA_V1_1791573
503
504# Flag to apply erratum 1852267 workaround during reset. This erratum applies
505# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
506CPU_FLAG_LIST += ERRATA_V1_1852267
507
508# Flag to apply erratum 1925756 workaround during reset. This needs to be
509# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
510CPU_FLAG_LIST += ERRATA_V1_1925756
511
512# Flag to apply erratum 1940577 workaround during reset. This erratum applies
513# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
514CPU_FLAG_LIST += ERRATA_V1_1940577
515
516# Flag to apply erratum 1966096 workaround during reset. This erratum applies
517# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
518# exists in r0p0 as well but there is no workaround for that revision.
519CPU_FLAG_LIST += ERRATA_V1_1966096
520
521# Flag to apply erratum 2139242 workaround during reset. This erratum applies
522# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
523CPU_FLAG_LIST += ERRATA_V1_2139242
524
525# Flag to apply erratum 2108267 workaround during reset. This erratum applies
526# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
527CPU_FLAG_LIST += ERRATA_V1_2108267
528
529# Flag to apply erratum 2216392 workaround during reset. This erratum applies
530# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
531# issue exists in r0p0 as well but there is no workaround for that revision.
532CPU_FLAG_LIST += ERRATA_V1_2216392
533
534# Flag to apply erratum 2294912 workaround during reset. This erratum applies
Sona Mathewab2b56d2023-10-16 15:12:30 -0500535# to revisions r0p0, r1p0, and r1p1 and r1p2 of the Neoverse V1 cpu and is still open.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000536CPU_FLAG_LIST += ERRATA_V1_2294912
537
Sona Mathew25cf2842023-11-07 13:46:15 -0600538# Flag to apply erratum 2348377 workaround during reset. This erratum applies
539# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is fixed in r1p2.
540CPU_FLAG_LIST += ERRATA_V1_2348377
541
Boyan Karatoteve4447632022-11-17 12:01:29 +0000542# Flag to apply erratum 2372203 workaround during reset. This erratum applies
543# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
544CPU_FLAG_LIST += ERRATA_V1_2372203
545
Sona Mathewab062f02023-03-14 16:50:36 -0500546# Flag to apply erratum 2701953 workaround to non-arm interconnect ip. This
547# erratum applies to revisions r0p0, r1p0, r1p1 of the Neoverse V1 cpu,
548# it is fixed in r1p2.
549CPU_FLAG_LIST += ERRATA_V1_2701953
550
Boyan Karatoteve4447632022-11-17 12:01:29 +0000551# Flag to apply erratum 2743093 workaround during powerdown. This erratum
552# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
553# still open.
554CPU_FLAG_LIST += ERRATA_V1_2743093
555
556# Flag to apply erratum 2743233 workaround during powerdown. This erratum
557# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
558# still open.
559CPU_FLAG_LIST += ERRATA_V1_2743233
560
561# Flag to apply erratum 2779461 workaround during powerdown. This erratum
562# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
563# still open.
564CPU_FLAG_LIST += ERRATA_V1_2779461
565
Govindraj Rajaf9429c22025-02-07 14:31:39 -0600566# Flag to apply erratum 2970647 workaround during reset. This erratum applies
567# to revisions r0p0 of the Neoverse V3 cpu and is fixed in r0p1.
568CPU_FLAG_LIST += ERRATA_V3_2970647
569
Govindraj Rajafc497732025-01-21 19:20:29 -0600570# Flag to apply erratum 3701767 workaround during context save/restore of
571# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 and r0p2 of
572# the Neoverse V3 cpu and is still open.
573CPU_FLAG_LIST += ERRATA_V3_3701767
574
Boyan Karatoteve4447632022-11-17 12:01:29 +0000575# Flag to apply erratum 1987031 workaround during reset. This erratum applies
576# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
577CPU_FLAG_LIST += ERRATA_A710_1987031
578
579# Flag to apply erratum 2081180 workaround during reset. This erratum applies
580# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
581CPU_FLAG_LIST += ERRATA_A710_2081180
582
583# Flag to apply erratum 2083908 workaround during reset. This erratum applies
584# to revision r2p0 of the Cortex-A710 cpu and is still open.
585CPU_FLAG_LIST += ERRATA_A710_2083908
586
587# Flag to apply erratum 2058056 workaround during reset. This erratum applies
Sona Mathew2bf79392023-10-10 13:51:45 -0500588# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
589# open.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000590CPU_FLAG_LIST += ERRATA_A710_2058056
591
592# Flag to apply erratum 2055002 workaround during reset. This erratum applies
593# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
594CPU_FLAG_LIST += ERRATA_A710_2055002
595
596# Flag to apply erratum 2017096 workaround during reset. This erratum applies
597# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
598CPU_FLAG_LIST += ERRATA_A710_2017096
599
600# Flag to apply erratum 2267065 workaround during reset. This erratum applies
601# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
602CPU_FLAG_LIST += ERRATA_A710_2267065
603
604# Flag to apply erratum 2136059 workaround during reset. This erratum applies
605# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
606CPU_FLAG_LIST += ERRATA_A710_2136059
607
608# Flag to apply erratum 2147715 workaround during reset. This erratum applies
609# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
610CPU_FLAG_LIST += ERRATA_A710_2147715
611
612# Flag to apply erratum 2216384 workaround during reset. This erratum applies
613# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
614CPU_FLAG_LIST += ERRATA_A710_2216384
615
616# Flag to apply erratum 2282622 workaround during reset. This erratum applies
617# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
618# open.
619CPU_FLAG_LIST += ERRATA_A710_2282622
620
621# Flag to apply erratum 2291219 workaround during reset. This erratum applies
622# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
623CPU_FLAG_LIST += ERRATA_A710_2291219
624
625# Flag to apply erratum 2008768 workaround during reset. This erratum applies
626# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
627CPU_FLAG_LIST += ERRATA_A710_2008768
628
629# Flag to apply erratum 2371105 workaround during reset. This erratum applies
630# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
631CPU_FLAG_LIST += ERRATA_A710_2371105
632
Sona Mathewab062f02023-03-14 16:50:36 -0500633# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
634# erratum applies to revision r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu
635# and is still open.
636CPU_FLAG_LIST += ERRATA_A710_2701952
637
Bipin Ravid7bc2cb2023-10-17 07:55:55 -0500638# Flag to apply erratum 2742423 workaround during reset. This erratum applies
639# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
640# open.
641CPU_FLAG_LIST += ERRATA_A710_2742423
642
Boyan Karatoteve4447632022-11-17 12:01:29 +0000643# Flag to apply erratum 2768515 workaround during power down. This erratum
644# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
645# still open.
646CPU_FLAG_LIST += ERRATA_A710_2768515
647
Sona Mathewe27b8ec2023-12-08 20:52:17 -0600648# Flag to apply erratum 2778471 workaround during reset. This erratum applies
649# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-A710 cpu and is still
650# open.
651CPU_FLAG_LIST += ERRATA_A710_2778471
652
Govindraj Raja8f709372025-01-21 12:32:14 -0600653# Flag to apply erratum 3701772 workaround during context save/restore of
654# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0, r2p1
655# of the Cortex-A710 cpu and is still open.
656CPU_FLAG_LIST += ERRATA_A710_3701772
657
Boyan Karatoteve4447632022-11-17 12:01:29 +0000658# Flag to apply erratum 2002655 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500659# to revisions r0p0 of the Neoverse-N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000660CPU_FLAG_LIST += ERRATA_N2_2002655
661
Bipin Ravi74bfe312023-08-29 13:59:09 -0500662# Flag to apply erratum 2009478 workaround during powerdown. This erratum
663# applies to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
664CPU_FLAG_LIST += ERRATA_N2_2009478
665
Boyan Karatoteve4447632022-11-17 12:01:29 +0000666# Flag to apply erratum 2067956 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500667# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000668CPU_FLAG_LIST += ERRATA_N2_2067956
669
670# Flag to apply erratum 2025414 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500671# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000672CPU_FLAG_LIST += ERRATA_N2_2025414
673
674# Flag to apply erratum 2189731 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500675# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000676CPU_FLAG_LIST += ERRATA_N2_2189731
677
678# Flag to apply erratum 2138956 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500679# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000680CPU_FLAG_LIST += ERRATA_N2_2138956
681
682# Flag to apply erratum 2138953 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500683# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000684CPU_FLAG_LIST += ERRATA_N2_2138953
685
686# Flag to apply erratum 2242415 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500687# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000688CPU_FLAG_LIST += ERRATA_N2_2242415
689
690# Flag to apply erratum 2138958 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500691# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000692CPU_FLAG_LIST += ERRATA_N2_2138958
693
694# Flag to apply erratum 2242400 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500695# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000696CPU_FLAG_LIST += ERRATA_N2_2242400
697
698# Flag to apply erratum 2280757 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500699# to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000700CPU_FLAG_LIST += ERRATA_N2_2280757
701
Bipin Ravi68085ad2023-10-17 06:21:15 -0500702# Flag to apply erratum 2326639 workaroud during powerdown. This erratum
Boyan Karatoteve4447632022-11-17 12:01:29 +0000703# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
704CPU_FLAG_LIST += ERRATA_N2_2326639
705
Bipin Ravi68085ad2023-10-17 06:21:15 -0500706# Flag to apply erratum 2340933 workaroud during reset. This erratum
707# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
708CPU_FLAG_LIST += ERRATA_N2_2340933
709
Bipin Ravi6cb8be12023-10-17 05:56:01 -0500710# Flag to apply erratum 2346952 workaround during reset. This erratum applies
711# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
712CPU_FLAG_LIST += ERRATA_N2_2346952
713
Boyan Karatoteve4447632022-11-17 12:01:29 +0000714# Flag to apply erratum 2376738 workaround during reset. This erratum applies
Arvind Ram Prakashd6d34b32023-06-29 16:17:23 -0500715# to revision r0p0, r0p1, r0p2, r0p3 of the Neoverse N2 cpu and is still open.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000716CPU_FLAG_LIST += ERRATA_N2_2376738
717
718# Flag to apply erratum 2388450 workaround during reset. This erratum applies
719# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
720CPU_FLAG_LIST += ERRATA_N2_2388450
721
Sona Mathewab062f02023-03-14 16:50:36 -0500722# Flag to apply erratum 2728475 workaround for non-arm interconnect ip. This
723# erratum applies to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in
724# r0p3.
725CPU_FLAG_LIST += ERRATA_N2_2728475
726
Arvind Ram Prakasheb440352023-07-05 17:24:23 -0500727# Flag to apply erratum 2743014 workaround during reset. This erratum applies
728# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
729CPU_FLAG_LIST += ERRATA_N2_2743014
730
Boyan Karatoteve4447632022-11-17 12:01:29 +0000731# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
732# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
733CPU_FLAG_LIST += ERRATA_N2_2743089
734
Arvind Ram Prakash12d28062023-07-17 14:46:14 -0500735# Flag to apply erratum 2779511 workaround during reset. This erratum applies
736# to r0p0, r0p1, r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
737CPU_FLAG_LIST += ERRATA_N2_2779511
738
Govindraj Raja1d175782025-01-21 18:56:25 -0600739# Flag to apply erratum 3701773 workaround during context save/restore of
740# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
741# of the Neoverse N2 cpu and is still open.
742CPU_FLAG_LIST += ERRATA_N2_3701773
743
Govindraj Rajae2a5da12025-01-21 19:03:34 -0600744# Flag to apply erratum 3699563 workaround during context save/restore of
745# ICH_VMCR_EL2 reg. This erratum applies to revision r0p0 of the Neoverse N3
746# cpu and is still open.
747CPU_FLAG_LIST += ERRATA_N3_3699563
748
Boyan Karatoteve4447632022-11-17 12:01:29 +0000749# Flag to apply erratum 2002765 workaround during reset. This erratum applies
750# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
751CPU_FLAG_LIST += ERRATA_X2_2002765
752
753# Flag to apply erratum 2058056 workaround during reset. This erratum applies
Sona Mathew8ae66d62023-10-16 13:33:18 -0500754# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000755CPU_FLAG_LIST += ERRATA_X2_2058056
756
757# Flag to apply erratum 2083908 workaround during reset. This erratum applies
758# to revision r2p0 of the Cortex-X2 cpu and is still open.
759CPU_FLAG_LIST += ERRATA_X2_2083908
760
761# Flag to apply erratum 2017096 workaround during reset. This erratum applies
762# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
763# r2p1.
764CPU_FLAG_LIST += ERRATA_X2_2017096
765
766# Flag to apply erratum 2081180 workaround during reset. This erratum applies
767# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
768# r2p1.
769CPU_FLAG_LIST += ERRATA_X2_2081180
770
771# Flag to apply erratum 2216384 workaround during reset. This erratum applies
772# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
773# r2p1.
774CPU_FLAG_LIST += ERRATA_X2_2216384
775
776# Flag to apply erratum 2147715 workaround during reset. This erratum applies
777# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
778CPU_FLAG_LIST += ERRATA_X2_2147715
779
780# Flag to apply erratum 2282622 workaround during reset. This erratum applies
781# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still
782# open.
783CPU_FLAG_LIST += ERRATA_X2_2282622
784
785# Flag to apply erratum 2371105 workaround during reset. This erratum applies
786# to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1.
787CPU_FLAG_LIST += ERRATA_X2_2371105
788
Sona Mathewab062f02023-03-14 16:50:36 -0500789# Flag to apply erratum 2701952 workaround for non-arm interconnect ip. This
790# erratum applies to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-x2 cpu
791# and is still open.
792CPU_FLAG_LIST += ERRATA_X2_2701952
793
Bipin Ravife06e112023-10-17 09:11:19 -0500794# Flag to apply erratum 2742423 workaround during reset. This erratum applies
795# to revisions r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still open.
796CPU_FLAG_LIST += ERRATA_X2_2742423
797
Boyan Karatoteve4447632022-11-17 12:01:29 +0000798# Flag to apply erratum 2768515 workaround during power down. This erratum
799# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
800# still open.
801CPU_FLAG_LIST += ERRATA_X2_2768515
802
Sona Mathewb312fa02023-12-09 13:09:30 -0600803# Flag to apply erratum 2778471 workaround during reset. This erratum applies
804# to revisions r0p0, r1p0, r2p0, r2p1 of the Cortex-X2 cpu and it is still open.
805CPU_FLAG_LIST += ERRATA_X2_2778471
806
Govindraj Raja3e9433d2025-01-21 18:02:51 -0600807# Flag to apply erratum 3701772 workaround during context save/restore of
808# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r2p0 and r2p1
809# of the Cortex-X2 cpu and is still open.
810CPU_FLAG_LIST += ERRATA_X2_3701772
811
Sona Mathew24543162023-10-03 17:09:09 -0500812# Flag to apply erratum 2070301 workaround on reset. This erratum applies
813# to revisions r0p0, r1p0, r1p1 and r1p2 of the Cortex-X3 cpu and is
814# still open.
815CPU_FLAG_LIST += ERRATA_X3_2070301
816
Bipin Ravi7c227dc2023-12-20 14:53:37 -0600817# Flag to apply erratum 2266875 workaround during reset. This erratum applies
818# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
819CPU_FLAG_LIST += ERRATA_X3_2266875
820
Bipin Ravi744f07a2023-12-20 14:32:02 -0600821# Flag to apply erratum 2302506 workaround during reset. This erratum applies
822# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
823CPU_FLAG_LIST += ERRATA_X3_2302506
824
Boyan Karatoteve4447632022-11-17 12:01:29 +0000825# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
826# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
827CPU_FLAG_LIST += ERRATA_X3_2313909
828
Bipin Ravi5f8f7452024-02-27 15:13:17 -0600829# Flag to apply erratum 2372204 workaround during reset. This erratum applies
830# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
831CPU_FLAG_LIST += ERRATA_X3_2372204
832
Boyan Karatoteve4447632022-11-17 12:01:29 +0000833# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
Sona Mathew635c83e2024-03-15 11:07:33 -0500834# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
Boyan Karatoteve4447632022-11-17 12:01:29 +0000835CPU_FLAG_LIST += ERRATA_X3_2615812
836
Bipin Ravi84fcd042024-01-25 15:38:46 -0600837# Flag to apply erratum 2641945 workaround on reset. This erratum applies
838# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
839CPU_FLAG_LIST += ERRATA_X3_2641945
840
Sona Mathewa234f542024-02-21 15:07:30 -0600841# Flag to apply erratum 2701951 workaround for non-arm interconnect ip.
842# This erratum applies to revisions r0p0, r1p0, and r1p1. Its is fixed in r1p2.
843CPU_FLAG_LIST += ERRATA_X3_2701951
844
Sona Mathew5b0e4432023-09-05 14:10:03 -0500845# Flag to apply erratum 2742421 workaround on reset. This erratum applies
846# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
847CPU_FLAG_LIST += ERRATA_X3_2742421
848
Harrison Mutai88a8cd02023-12-12 11:17:19 +0000849# Flag to apply erratum 2743088 workaround on powerdown. This erratum applies
850# to revisions r0p0, r1p0 and r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
851CPU_FLAG_LIST += ERRATA_X3_2743088
852
Govindraj Raja1852f602025-01-21 18:12:35 -0600853# Flag to apply erratum 3701769 workaround during context save/restore of
854# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p1 and r1p2
855# of the Cortex-X3 cpu and is still open.
856CPU_FLAG_LIST += ERRATA_X3_3701769
857
Sona Mathew402b9a92023-11-06 13:48:22 -0600858# Flag to apply erratum 2779509 workaround on reset. This erratum applies
859# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is fixed in r1p2.
860CPU_FLAG_LIST += ERRATA_X3_2779509
861
Sona Mathewd466c5d2024-03-01 13:36:21 -0600862# Flag to apply erratum 2701112 workaround for platforms that do not use an
863# Arm interconnect IP. This erratum applies to revisions r0p0 of the Cortex-X4
864# cpu and is fixed in r0p1.
865CPU_FLAG_LIST += ERRATA_X4_2701112
866
Arvind Ram Prakash47010ae2024-08-05 16:04:37 -0500867# Flag to apply erratum 2726228 workaround during warmboot. This erratum
868# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
869CPU_FLAG_LIST += ERRATA_X4_2726228
870
Bipin Ravi3609b0a2024-04-10 15:33:21 -0500871# Flag to apply erratum 2740089 workaround during powerdown. This erratum
872# applies to all revisions <= r0p1 of the Cortex-X4 cpu, it is fixed in r0p2.
873CPU_FLAG_LIST += ERRATA_X4_2740089
874
Sona Mathew200931d2024-04-05 16:27:07 -0500875# Flag to apply erratum 2763018 workaround on reset. This erratum applies
876# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
877CPU_FLAG_LIST += ERRATA_X4_2763018
878
Sona Mathew582b9502024-07-16 14:34:42 -0500879# Flag to apply erratum 2816013 workaround on reset. This erratum applies
880# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
881CPU_FLAG_LIST += ERRATA_X4_2816013
882
Arvind Ram Prakash23b59a32024-08-26 17:04:27 -0500883# Flag to apply erratum 2897503 workaround on reset. This erratum applies
884# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
885CPU_FLAG_LIST += ERRATA_X4_2897503
886
Arvind Ram Prakash196984e2024-11-27 15:02:32 -0600887# Flag to apply erratum 2923985 workaround on reset. This erratum applies
888# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
889CPU_FLAG_LIST += ERRATA_X4_2923985
890
Govindraj Raja4c939362025-02-07 14:21:14 -0600891# Flag to apply erratum 2957258 workaround to avoid incorrect virtualization of
892# MPIDR_EL1/VMPIDR_EL2 and MIDR_EL1/VPIDR_EL2 when reading in EL2/EL3. This
893# erratum applies to revisions r0p0, r0p1 of the Cortex-X4 cpu. It is fixed
894# in r0p2.
895CPU_FLAG_LIST += ERRATA_X4_2957258
896
Ryan Everett34a4f242024-05-21 11:56:37 +0100897# Flag to apply erratum 3076789 workaround on reset. This erratum applies
898# to revisions r0p0 and r0p1 of the Cortex-X4 cpu. It is fixed in r0p2.
899CPU_FLAG_LIST += ERRATA_X4_3076789
900
Govindraj Rajadb3048d2025-01-21 18:24:57 -0600901# Flag to apply erratum 3701758 workaround during context save/restore of
902# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 and r0p3
903# of the Cortex-X4 cpu and is still open.
904CPU_FLAG_LIST += ERRATA_X4_3701758
905
Govindraj Raja1e0fca12025-02-07 15:17:09 -0600906# Flag to apply erratum 2963999 workaround during reset. This erratum applies
907# to revisions r0p0 of the Cortex-X925 cpu and is fixed in r0p1.
908CPU_FLAG_LIST += ERRATA_X925_2963999
909
Govindraj Rajac8a6cc02025-01-21 18:38:56 -0600910# Flag to apply erratum 3701747 workaround during context save/restore of
911# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of the
912# Cortex-X925 cpu and is still open.
913CPU_FLAG_LIST += ERRATA_X925_3701747
914
Boyan Karatoteve4447632022-11-17 12:01:29 +0000915# Flag to apply erratum 1922240 workaround during reset. This erratum applies
916# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
917CPU_FLAG_LIST += ERRATA_A510_1922240
918
919# Flag to apply erratum 2288014 workaround during reset. This erratum applies
920# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
921# fixed in r1p1.
922CPU_FLAG_LIST += ERRATA_A510_2288014
923
924# Flag to apply erratum 2042739 workaround during reset. This erratum applies
925# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
926CPU_FLAG_LIST += ERRATA_A510_2042739
927
928# Flag to apply erratum 2041909 workaround during reset. This erratum applies
929# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
930# present in r0p0 and r0p1 but there is no workaround for those revisions.
931CPU_FLAG_LIST += ERRATA_A510_2041909
932
Sona Mathew6e864752023-10-12 12:04:53 -0500933# Flag to aply erratum 2080326 workaround during reset. This erratum applies
934# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
935# also present in r0p0 and r0p1 but there is no workaround for those revisions.
936CPU_FLAG_LIST += ERRATA_A510_2080326
937
Boyan Karatoteve4447632022-11-17 12:01:29 +0000938# Flag to apply erratum 2250311 workaround during reset. This erratum applies
939# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
940CPU_FLAG_LIST += ERRATA_A510_2250311
941
942# Flag to apply erratum 2218950 workaround during reset. This erratum applies
943# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
944CPU_FLAG_LIST += ERRATA_A510_2218950
945
946# Flag to apply erratum 2172148 workaround during reset. This erratum applies
947# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
948CPU_FLAG_LIST += ERRATA_A510_2172148
949
950# Flag to apply erratum 2347730 workaround during reset. This erratum applies
951# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
952# and is fixed in r1p2.
953CPU_FLAG_LIST += ERRATA_A510_2347730
954
955# Flag to apply erratum 2371937 workaround during reset. This erratum applies
956# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
957CPU_FLAG_LIST += ERRATA_A510_2371937
958
959# Flag to apply erratum 2666669 workaround during reset. This erratum applies
960# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
961CPU_FLAG_LIST += ERRATA_A510_2666669
962
963# Flag to apply erratum 2684597 workaround during powerdown. This erratum
964# applies to revision r0p0, r0p1, r0p2, r0p3, r1p0, r1p1 and r1p2 of the
965# Cortex-A510 cpu and is fixed in r1p3.
966CPU_FLAG_LIST += ERRATA_A510_2684597
967
Sona Mathew4a9ed7a2023-12-09 20:44:56 -0600968# Flag to apply erratum 2630792 workaround during reset. This erratum applies
969# to revisions r0p0, r0p1 of the Cortex-A520 cpu and is still open.
970CPU_FLAG_LIST += ERRATA_A520_2630792
971
Arvind Ram Prakash8d45e302023-12-08 20:19:58 -0600972# Flag to apply erratum 2858100 workaround during reset. This erratum
973# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is still open.
974CPU_FLAG_LIST += ERRATA_A520_2858100
975
Arvind Ram Prakash47010ae2024-08-05 16:04:37 -0500976# Flag to apply erratum 2938996 workaround during reset. This erratum
977# applies to revision r0p0 and r0p1 of the Cortex-A520 cpu and is fixed in r0p2.
978CPU_FLAG_LIST += ERRATA_A520_2938996
979
Bipin Ravi8852fb52023-09-18 16:34:13 -0500980# Flag to apply erratum 2331132 workaround during reset. This erratum applies
981# to revisions r0p0, r0p1 and r0p2. It is still open.
982CPU_FLAG_LIST += ERRATA_V2_2331132
983
Bipin Ravif98185e2023-10-17 19:42:15 -0500984# Flag to apply erratum 2618597 workaround during reset. This erratum applies
985# to revisions r0p0 and r0p1. It is fixed in r0p2.
986CPU_FLAG_LIST += ERRATA_V2_2618597
987
Bipin Ravid36d1672023-10-17 18:35:55 -0500988# Flag to apply erratum 2662553 workaround during reset. This erratum applies
989# to revisions r0p0 and r0p1. It is fixed in r0p2.
990CPU_FLAG_LIST += ERRATA_V2_2662553
991
Sona Mathewab062f02023-03-14 16:50:36 -0500992# Flag to apply erratum 2719103 workaround for non-arm interconnect ip. This
993# erratum applies to revisions r0p0, rop1. Fixed in r0p2.
994CPU_FLAG_LIST += ERRATA_V2_2719103
995
Bipin Ravib0114022023-09-18 17:27:29 -0500996# Flag to apply erratum 2719105 workaround during reset. This erratum applies
997# to revisions r0p0 and r0p1. It is fixed in r0p2.
998CPU_FLAG_LIST += ERRATA_V2_2719105
999
Bipin Ravi58dd1532023-09-18 19:54:41 -05001000# Flag to apply erratum 2743011 workaround during reset. This erratum applies
1001# to revisions r0p0 and r0p1. It is fixed in r0p2.
1002CPU_FLAG_LIST += ERRATA_V2_2743011
1003
Bipin Raviff342642023-09-18 19:28:32 -05001004# Flag to apply erratum 2779510 workaround during reset. This erratum applies
1005# to revisions r0p0 and r0p1. It is fixed in r0p2.
1006CPU_FLAG_LIST += ERRATA_V2_2779510
1007
Moritz Fischer40c81ed2023-07-06 00:01:23 +00001008# Flag to apply erratum 2801372 workaround for all configurations.
1009# This erratum applies to revisions r0p0, r0p1. Fixed in r0p2.
1010CPU_FLAG_LIST += ERRATA_V2_2801372
1011
Bipin Ravi940ebbe2024-02-27 17:49:12 -06001012# Flag to apply erratum 2331818 workaround during reset. This erratum applies
1013# to revisions r0p0 and r1p0. It is fixed in r1p1.
1014CPU_FLAG_LIST += ERRATA_A715_2331818
1015
Harrison Mutai3e3ff292024-01-02 16:55:44 +00001016# Flag to apply erratum 2344187 workaround during reset. This erratum applies
1017# to revisions r0p0, and r1p0. It is fixed in r1p1.
1018CPU_FLAG_LIST += ERRATA_A715_2344187
1019
Sona Mathewb59307e2024-02-20 16:59:45 -06001020# Flag to apply erratum 2413290 workaround during reset. This erratum applies
1021# only to revision r1p0. It is fixed in r1p1.
1022CPU_FLAG_LIST += ERRATA_A715_2413290
1023
Bipin Ravi04c60d52024-02-27 17:34:05 -06001024# Flag to apply erratum 2420947 workaround during reset. This erratum applies
1025# only to revision r1p0. It is fixed in r1p1.
1026CPU_FLAG_LIST += ERRATA_A715_2420947
1027
Bipin Ravi301698e2024-02-27 17:14:22 -06001028# Flag to apply erratum 2429384 workaround during reset. This erratum applies
1029# to revision r1p0. There is no workaround for r0p0. It is fixed in r1p1.
1030CPU_FLAG_LIST += ERRATA_A715_2429384
1031
Bipin Ravi26249512024-01-25 16:18:20 -06001032# Flag to apply erratum 2561034 workaround during reset. This erratum applies
1033# only to revision r1p0. It is fixed in r1p1.
1034CPU_FLAG_LIST += ERRATA_A715_2561034
1035
Bipin Ravi1edbf2a2024-04-10 15:06:11 -05001036# Flag to apply erratum 2728106 workaround during reset. This erratum applies
1037# only to revision r0p0, r1p0 and r1p1. It is fixed in r1p2.
1038CPU_FLAG_LIST += ERRATA_A715_2728106
1039
John Powelle270eea2025-02-11 11:22:14 -06001040# Flag to apply erratum 2804830 workaround during reset. This erratum applies
1041# to revisions r0p0, r1p0, r1p1 and r1p2. It is fixed in r1p3.
1042CPU_FLAG_LIST += ERRATA_A715_2804830
1043
Govindraj Raja857cfc22025-01-21 17:00:11 -06001044# Flag to apply erratum 3699560 workaround during context save/restore of
1045# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r1p0, r1p2, r1p3
1046# of the Cortex-A715 cpu and is still open.
1047CPU_FLAG_LIST += ERRATA_A715_3699560
1048
Arvind Ram Prakasha93c69b2024-07-19 15:59:17 -05001049# Flag to apply erratum 2792132 workaround during reset. This erratum applies
1050# to revisions r0p0 and r0p1. It is fixed in r0p2.
1051CPU_FLAG_LIST += ERRATA_A720_2792132
1052
Sona Mathew9d393432024-07-19 18:09:20 -05001053# Flag to apply erratum 2844092 workaround during reset. This erratum applies
1054# to revisions r0p0 and r0p1. It is fixed in r0p2.
1055CPU_FLAG_LIST += ERRATA_A720_2844092
1056
Bipin Ravibaf14742024-03-14 16:52:21 -05001057# Flag to apply erratum 2926083 workaround during reset. This erratum applies
1058# to revisions r0p0 and r0p1. It is fixed in r0p2.
1059CPU_FLAG_LIST += ERRATA_A720_2926083
1060
Bipin Ravi03636f22024-03-12 10:29:16 -05001061# Flag to apply erratum 2940794 workaround during reset. This erratum applies
1062# to revisions r0p0 and r0p1. It is fixed in r0p2.
1063CPU_FLAG_LIST += ERRATA_A720_2940794
1064
Govindraj Raja36b53f92025-01-21 17:12:33 -06001065# Flag to apply erratum 3699561 workaround during context save/restore of
1066# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1, r0p2 of
1067# the Cortex-A720 cpu and is still open.
1068CPU_FLAG_LIST += ERRATA_A720_3699561
1069
Govindraj Raja17b8a8a2025-02-04 16:20:35 +01001070# Flag to apply erratum 3699564 workaround during context save/restore of
1071# ICH_VMCR_EL2 reg. This erratum applies to revisions r0p0, r0p1 of
1072# the Cortex-A725 cpu and is fixed in r0p2
1073CPU_FLAG_LIST += ERRATA_A725_3699564
1074
Boyan Karatoteve4447632022-11-17 12:01:29 +00001075# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
1076# Applying the workaround results in higher DSU power consumption on idle.
1077CPU_FLAG_LIST += ERRATA_DSU_798953
1078
1079# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
Govindraj Raja36b53f92025-01-21 17:12:33 -06001080# the ACP interface and revision < r0p0. Applying the workaround results in
Boyan Karatoteve4447632022-11-17 12:01:29 +00001081# higher DSU power consumption on idle.
1082CPU_FLAG_LIST += ERRATA_DSU_936184
1083
1084# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
1085# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
1086# results in higher DSU power consumption on idle.
1087CPU_FLAG_LIST += ERRATA_DSU_2313941
Manish Pandeyf2d6b4e2020-01-24 11:54:44 +00001088
Dimitris Papastamosfe007b22018-05-16 11:36:14 +01001089ifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
johpow0183435632022-01-04 16:15:18 -06001090 ifeq (${WORKAROUND_CVE_2018_3639},0)
1091 $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1")
1092 endif
Dimitris Papastamosfe007b22018-05-16 11:36:14 +01001093endif
1094
Boyan Karatoteve4447632022-11-17 12:01:29 +00001095# process all flags
Yann Gautierb9e252a2025-02-12 14:05:14 +01001096ifeq (${ENABLE_ERRATA_ALL},1)
1097$(eval $(call default_ones, $(CPU_FLAG_LIST)))
1098else
Boyan Karatoteve4447632022-11-17 12:01:29 +00001099$(eval $(call default_zeros, $(CPU_FLAG_LIST)))
Yann Gautierb9e252a2025-02-12 14:05:14 +01001100endif
Boyan Karatoteve4447632022-11-17 12:01:29 +00001101$(eval $(call add_defines, $(CPU_FLAG_LIST)))
1102$(eval $(call assert_booleans, $(CPU_FLAG_LIST)))
Bipin Ravi7e3273e2021-12-22 14:35:21 -06001103
Douglas Raillarda94cc372017-06-19 15:38:02 +01001104# Errata build flags
1105ifneq (${ERRATA_A53_843419},0)
Douglas Raillardc2b88062017-06-22 14:44:48 +01001106TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419
Douglas Raillarda94cc372017-06-19 15:38:02 +01001107endif
1108
1109ifneq (${ERRATA_A53_835769},0)
1110TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769
Douglas Raillardc2b88062017-06-22 14:44:48 +01001111TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769
Douglas Raillarda94cc372017-06-19 15:38:02 +01001112endif
Manish V Badarkhee1c49332020-08-03 18:43:14 +01001113
1114ifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \
1115 ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1116ERRATA_SPECULATIVE_AT := 1
1117else
1118ERRATA_SPECULATIVE_AT := 0
1119endif