blob: a1126fa34c4bdfe7dd6760067bc65b6505be7718 [file] [log] [blame]
Soby Mathew802f8652014-08-14 16:19:29 +01001#
Bipin Ravi7dccf8f2022-12-22 14:19:59 -06002# Copyright (c) 2014-2023, Arm Limited and Contributors. All rights reserved.
Varun Wadekar9030a6c2022-03-09 22:04:00 +00003# Copyright (c) 2020-2022, NVIDIA Corporation. All rights reserved.
Soby Mathew802f8652014-08-14 16:19:29 +01004#
dp-armfa3cf0b2017-05-03 09:38:09 +01005# SPDX-License-Identifier: BSD-3-Clause
Soby Mathew802f8652014-08-14 16:19:29 +01006#
7
Soby Mathew937488b2014-09-22 14:13:34 +01008# Cortex A57 specific optimisation to skip L1 cache flush when
9# cluster is powered down.
johpow01de7b5242022-01-04 16:15:18 -060010SKIP_A57_L1_FLUSH_PWR_DWN ?=0
Soby Mathew937488b2014-09-22 14:13:34 +010011
Sandrine Bailleuxd4817592016-01-13 14:57:38 +000012# Flag to disable the cache non-temporal hint.
13# It is enabled by default.
johpow01de7b5242022-01-04 16:15:18 -060014A53_DISABLE_NON_TEMPORAL_HINT ?=1
Sandrine Bailleuxd4817592016-01-13 14:57:38 +000015
16# Flag to disable the cache non-temporal hint.
17# It is enabled by default.
johpow01de7b5242022-01-04 16:15:18 -060018A57_DISABLE_NON_TEMPORAL_HINT ?=1
Sandrine Bailleuxd4817592016-01-13 14:57:38 +000019
Varun Wadekar5ee3abc2018-06-12 16:49:12 -070020# Flag to enable higher performance non-cacheable load forwarding.
21# It is disabled by default.
22A57_ENABLE_NONCACHEABLE_LOAD_FWD ?= 0
23
johpow01de7b5242022-01-04 16:15:18 -060024WORKAROUND_CVE_2017_5715 ?=1
25WORKAROUND_CVE_2018_3639 ?=1
Dimitris Papastamosba51d9e2018-05-16 11:36:14 +010026DYNAMIC_WORKAROUND_CVE_2018_3639 ?=0
Bipin Ravi86499742022-01-18 01:59:06 -060027WORKAROUND_CVE_2022_23960 ?=1
Dimitris Papastamos446f7f12017-11-30 14:53:53 +000028
Javier Almansa Sobrino9faad3c2020-10-23 13:22:07 +010029# Flags to indicate internal or external Last level cache
Manish Pandey3880a362020-01-24 11:54:44 +000030# By default internal
johpow01de7b5242022-01-04 16:15:18 -060031NEOVERSE_Nx_EXTERNAL_LLC ?=0
Manish Pandey3880a362020-01-24 11:54:44 +000032
Varun Wadekar5ee3abc2018-06-12 16:49:12 -070033# Process A57_ENABLE_NONCACHEABLE_LOAD_FWD flag
34$(eval $(call assert_boolean,A57_ENABLE_NONCACHEABLE_LOAD_FWD))
35$(eval $(call add_define,A57_ENABLE_NONCACHEABLE_LOAD_FWD))
36
Soby Mathew937488b2014-09-22 14:13:34 +010037# Process SKIP_A57_L1_FLUSH_PWR_DWN flag
38$(eval $(call assert_boolean,SKIP_A57_L1_FLUSH_PWR_DWN))
39$(eval $(call add_define,SKIP_A57_L1_FLUSH_PWR_DWN))
40
Sandrine Bailleuxd4817592016-01-13 14:57:38 +000041# Process A53_DISABLE_NON_TEMPORAL_HINT flag
42$(eval $(call assert_boolean,A53_DISABLE_NON_TEMPORAL_HINT))
43$(eval $(call add_define,A53_DISABLE_NON_TEMPORAL_HINT))
44
45# Process A57_DISABLE_NON_TEMPORAL_HINT flag
46$(eval $(call assert_boolean,A57_DISABLE_NON_TEMPORAL_HINT))
47$(eval $(call add_define,A57_DISABLE_NON_TEMPORAL_HINT))
48
Dimitris Papastamos446f7f12017-11-30 14:53:53 +000049# Process WORKAROUND_CVE_2017_5715 flag
50$(eval $(call assert_boolean,WORKAROUND_CVE_2017_5715))
51$(eval $(call add_define,WORKAROUND_CVE_2017_5715))
Soby Mathew937488b2014-09-22 14:13:34 +010052
Dimitris Papastamose6625ec2018-04-05 14:38:26 +010053# Process WORKAROUND_CVE_2018_3639 flag
54$(eval $(call assert_boolean,WORKAROUND_CVE_2018_3639))
55$(eval $(call add_define,WORKAROUND_CVE_2018_3639))
56
Dimitris Papastamosba51d9e2018-05-16 11:36:14 +010057$(eval $(call assert_boolean,DYNAMIC_WORKAROUND_CVE_2018_3639))
58$(eval $(call add_define,DYNAMIC_WORKAROUND_CVE_2018_3639))
59
Bipin Ravi86499742022-01-18 01:59:06 -060060# Process WORKAROUND_CVE_2022_23960 flag
61$(eval $(call assert_boolean,WORKAROUND_CVE_2022_23960))
62$(eval $(call add_define,WORKAROUND_CVE_2022_23960))
63
Javier Almansa Sobrino9faad3c2020-10-23 13:22:07 +010064$(eval $(call assert_boolean,NEOVERSE_Nx_EXTERNAL_LLC))
65$(eval $(call add_define,NEOVERSE_Nx_EXTERNAL_LLC))
Manish Pandey3880a362020-01-24 11:54:44 +000066
Dimitris Papastamosba51d9e2018-05-16 11:36:14 +010067ifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
johpow01de7b5242022-01-04 16:15:18 -060068 ifeq (${WORKAROUND_CVE_2018_3639},0)
69 $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1")
70 endif
Dimitris Papastamosba51d9e2018-05-16 11:36:14 +010071endif
72
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +010073# CPU Errata Build flags.
74# These should be enabled by the platform if the erratum workaround needs to be
75# applied.
Soby Mathew802f8652014-08-14 16:19:29 +010076
Joel Hutton26d16762019-04-10 12:52:52 +010077# Flag to apply erratum 794073 workaround when disabling mmu.
78ERRATA_A9_794073 ?=0
79
Ambroise Vincentd4a51eb2019-03-04 16:56:26 +000080# Flag to apply erratum 816470 workaround during power down. This erratum
81# applies only to revision >= r3p0 of the Cortex A15 cpu.
82ERRATA_A15_816470 ?=0
83
Ambroise Vincent68b38122019-03-05 09:54:21 +000084# Flag to apply erratum 827671 workaround during reset. This erratum applies
85# only to revision >= r3p0 of the Cortex A15 cpu.
86ERRATA_A15_827671 ?=0
87
Ambroise Vincent8cf9eef2019-02-28 16:23:53 +000088# Flag to apply erratum 852421 workaround during reset. This erratum applies
89# only to revision <= r1p2 of the Cortex A17 cpu.
90ERRATA_A17_852421 ?=0
91
Ambroise Vincentfa5c9512019-03-04 13:20:56 +000092# Flag to apply erratum 852423 workaround during reset. This erratum applies
93# only to revision <= r1p2 of the Cortex A17 cpu.
94ERRATA_A17_852423 ?=0
95
Louis Mayencourt8a061272019-04-05 16:25:25 +010096# Flag to apply erratum 855472 workaround during reset. This erratum applies
97# only to revision r0p0 of the Cortex A35 cpu.
98ERRATA_A35_855472 ?=0
99
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +0000100# Flag to apply erratum 819472 workaround during reset. This erratum applies
101# only to revision <= r0p1 of the Cortex A53 cpu.
102ERRATA_A53_819472 ?=0
103
104# Flag to apply erratum 824069 workaround during reset. This erratum applies
105# only to revision <= r0p2 of the Cortex A53 cpu.
106ERRATA_A53_824069 ?=0
107
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +0100108# Flag to apply erratum 826319 workaround during reset. This erratum applies
109# only to revision <= r0p2 of the Cortex A53 cpu.
developer4fceaca2015-07-29 20:55:31 +0800110ERRATA_A53_826319 ?=0
111
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +0000112# Flag to apply erratum 827319 workaround during reset. This erratum applies
113# only to revision <= r0p2 of the Cortex A53 cpu.
114ERRATA_A53_827319 ?=0
115
johpow01de7b5242022-01-04 16:15:18 -0600116# Flag to apply erratum 835769 workaround at compile and link time. This
Douglas Raillardd56fb042017-06-19 15:38:02 +0100117# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
118# workaround can lead the linker to create "*.stub" sections.
119ERRATA_A53_835769 ?=0
120
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +0100121# Flag to apply erratum 836870 workaround during reset. This erratum applies
122# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
Douglas Raillardc847f662017-02-15 17:38:43 +0000123# erratum workaround is enabled by default in hardware.
developer4fceaca2015-07-29 20:55:31 +0800124ERRATA_A53_836870 ?=0
125
Douglas Raillardd56fb042017-06-19 15:38:02 +0100126# Flag to apply erratum 843419 workaround at link time.
127# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
128# workaround could lead the linker to emit "*.stub" sections which are 4kB
129# aligned.
130ERRATA_A53_843419 ?=0
131
Andre Przywara00eefd92016-10-06 16:54:53 +0100132# Flag to apply errata 855873 during reset. This errata applies to all
133# revisions of the Cortex A53 CPU, but this firmware workaround only works
134# for revisions r0p3 and higher. Earlier revisions are taken care
135# of by the rich OS.
136ERRATA_A53_855873 ?=0
137
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100138# Flag to apply erratum 1530924 workaround during reset. This erratum applies
139# to all revisions of Cortex A53 cpu.
140ERRATA_A53_1530924 ?=0
141
Ambroise Vincent7927fa02019-02-21 16:20:43 +0000142# Flag to apply erratum 768277 workaround during reset. This erratum applies
143# only to revision r0p0 of the Cortex A55 cpu.
144ERRATA_A55_768277 ?=0
145
Ambroise Vincent6f319602019-02-21 16:25:37 +0000146# Flag to apply erratum 778703 workaround during reset. This erratum applies
147# only to revision r0p0 of the Cortex A55 cpu.
148ERRATA_A55_778703 ?=0
149
Ambroise Vincent6a77f052019-02-21 16:27:34 +0000150# Flag to apply erratum 798797 workaround during reset. This erratum applies
151# only to revision r0p0 of the Cortex A55 cpu.
152ERRATA_A55_798797 ?=0
153
Ambroise Vincentdd961f72019-02-21 16:29:16 +0000154# Flag to apply erratum 846532 workaround during reset. This erratum applies
155# only to revision <= r0p1 of the Cortex A55 cpu.
156ERRATA_A55_846532 ?=0
157
Ambroise Vincenta1d64462019-02-21 16:29:50 +0000158# Flag to apply erratum 903758 workaround during reset. This erratum applies
159# only to revision <= r0p1 of the Cortex A55 cpu.
160ERRATA_A55_903758 ?=0
161
Ambroise Vincentb72fe7a2019-05-28 09:52:48 +0100162# Flag to apply erratum 1221012 workaround during reset. This erratum applies
163# only to revision <= r1p0 of the Cortex A55 cpu.
164ERRATA_A55_1221012 ?=0
165
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100166# Flag to apply erratum 1530923 workaround during reset. This erratum applies
167# to all revisions of Cortex A55 cpu.
168ERRATA_A55_1530923 ?=0
169
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +0100170# Flag to apply erratum 806969 workaround during reset. This erratum applies
171# only to revision r0p0 of the Cortex A57 cpu.
Soby Mathew802f8652014-08-14 16:19:29 +0100172ERRATA_A57_806969 ?=0
173
Antonio Nino Diaz3f13c352017-02-24 11:39:22 +0000174# Flag to apply erratum 813419 workaround during reset. This erratum applies
175# only to revision r0p0 of the Cortex A57 cpu.
176ERRATA_A57_813419 ?=0
177
johpow01de7b5242022-01-04 16:15:18 -0600178# Flag to apply erratum 813420 workaround during reset. This erratum applies
Sandrine Bailleuxafa8a782016-04-14 12:59:42 +0100179# only to revision r0p0 of the Cortex A57 cpu.
Soby Mathew802f8652014-08-14 16:19:29 +0100180ERRATA_A57_813420 ?=0
181
johpow01de7b5242022-01-04 16:15:18 -0600182# Flag to apply erratum 814670 workaround during reset. This erratum applies
Ambroise Vincent1b0db762019-02-21 16:35:07 +0000183# only to revision r0p0 of the Cortex A57 cpu.
184ERRATA_A57_814670 ?=0
185
Ambroise Vincentaa2c0292019-02-21 16:35:49 +0000186# Flag to apply erratum 817169 workaround during power down. This erratum
187# applies only to revision <= r0p1 of the Cortex A57 cpu.
188ERRATA_A57_817169 ?=0
189
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100190# Flag to apply erratum 826974 workaround during reset. This erratum applies
191# only to revision <= r1p1 of the Cortex A57 cpu.
192ERRATA_A57_826974 ?=0
193
Sandrine Bailleuxadcbd552016-04-14 14:24:13 +0100194# Flag to apply erratum 826977 workaround during reset. This erratum applies
195# only to revision <= r1p1 of the Cortex A57 cpu.
196ERRATA_A57_826977 ?=0
197
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100198# Flag to apply erratum 828024 workaround during reset. This erratum applies
199# only to revision <= r1p1 of the Cortex A57 cpu.
200ERRATA_A57_828024 ?=0
201
Sandrine Bailleux48cbe852016-04-14 14:18:07 +0100202# Flag to apply erratum 829520 workaround during reset. This erratum applies
203# only to revision <= r1p2 of the Cortex A57 cpu.
204ERRATA_A57_829520 ?=0
205
Sandrine Bailleux143ef1a2016-04-21 11:10:52 +0100206# Flag to apply erratum 833471 workaround during reset. This erratum applies
207# only to revision <= r1p2 of the Cortex A57 cpu.
208ERRATA_A57_833471 ?=0
209
Eleanor Bonnici0c9bd272017-08-02 16:35:04 +0100210# Flag to apply erratum 855972 workaround during reset. This erratum applies
211# only to revision <= r1p3 of the Cortex A57 cpu.
212ERRATA_A57_859972 ?=0
213
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100214# Flag to apply erratum 1319537 workaround during reset. This erratum applies
215# to all revisions of Cortex A57 cpu.
216ERRATA_A57_1319537 ?=0
217
Eleanor Bonnicic3b4ca12017-08-02 18:33:41 +0100218# Flag to apply erratum 855971 workaround during reset. This erratum applies
219# only to revision <= r0p3 of the Cortex A72 cpu.
220ERRATA_A72_859971 ?=0
221
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100222# Flag to apply erratum 1319367 workaround during reset. This erratum applies
223# to all revisions of Cortex A72 cpu.
224ERRATA_A72_1319367 ?=0
225
Louis Mayencourtd69722c2019-02-27 14:24:16 +0000226# Flag to apply erratum 852427 workaround during reset. This erratum applies
227# only to revision r0p0 of the Cortex A73 cpu.
228ERRATA_A73_852427 ?=0
229
Louis Mayencourt4405de62019-02-21 16:38:16 +0000230# Flag to apply erratum 855423 workaround during reset. This erratum applies
231# only to revision <= r0p1 of the Cortex A73 cpu.
232ERRATA_A73_855423 ?=0
233
Louis Mayencourt78a0aed2019-02-20 12:11:41 +0000234# Flag to apply erratum 764081 workaround during reset. This erratum applies
235# only to revision <= r0p0 of the Cortex A75 cpu.
236ERRATA_A75_764081 ?=0
237
Louis Mayencourt8d868702019-02-25 14:57:57 +0000238# Flag to apply erratum 790748 workaround during reset. This erratum applies
239# only to revision <= r0p0 of the Cortex A75 cpu.
240ERRATA_A75_790748 ?=0
241
Louis Mayencourt59fa2182019-02-25 15:17:44 +0000242# Flag to apply erratum 1073348 workaround during reset. This erratum applies
243# only to revision <= r1p0 of the Cortex A76 cpu.
244ERRATA_A76_1073348 ?=0
245
Louis Mayencourt09924472019-02-21 17:35:07 +0000246# Flag to apply erratum 1130799 workaround during reset. This erratum applies
247# only to revision <= r2p0 of the Cortex A76 cpu.
248ERRATA_A76_1130799 ?=0
249
Louis Mayencourtadda9d42019-02-25 11:37:38 +0000250# Flag to apply erratum 1220197 workaround during reset. This erratum applies
251# only to revision <= r2p0 of the Cortex A76 cpu.
252ERRATA_A76_1220197 ?=0
253
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100254# Flag to apply erratum 1257314 workaround during reset. This erratum applies
255# only to revision <= r3p0 of the Cortex A76 cpu.
256ERRATA_A76_1257314 ?=0
257
258# Flag to apply erratum 1262606 workaround during reset. This erratum applies
259# only to revision <= r3p0 of the Cortex A76 cpu.
260ERRATA_A76_1262606 ?=0
261
262# Flag to apply erratum 1262888 workaround during reset. This erratum applies
263# only to revision <= r3p0 of the Cortex A76 cpu.
264ERRATA_A76_1262888 ?=0
265
266# Flag to apply erratum 1275112 workaround during reset. This erratum applies
267# only to revision <= r3p0 of the Cortex A76 cpu.
268ERRATA_A76_1275112 ?=0
269
Soby Mathew16d006b2019-05-03 13:17:56 +0100270# Flag to apply erratum 1286807 workaround during reset. This erratum applies
271# only to revision <= r3p0 of the Cortex A76 cpu.
272ERRATA_A76_1286807 ?=0
273
johpow019603f982020-05-29 14:17:38 -0500274# Flag to apply erratum 1791580 workaround during reset. This erratum applies
275# only to revision <= r4p0 of the Cortex A76 cpu.
276ERRATA_A76_1791580 ?=0
277
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100278# Flag to apply erratum 1165522 workaround during reset. This erratum applies
279# to all revisions of Cortex A76 cpu.
280ERRATA_A76_1165522 ?=0
281
johpow0181365e32020-09-29 17:19:09 -0500282# Flag to apply erratum 1868343 workaround during reset. This erratum applies
283# only to revision <= r4p0 of the Cortex A76 cpu.
284ERRATA_A76_1868343 ?=0
285
johpow013e34e922020-12-15 19:02:18 -0600286# Flag to apply erratum 1946160 workaround during reset. This erratum applies
287# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
288ERRATA_A76_1946160 ?=0
289
Bipin Ravi23e29e42022-11-02 16:50:03 -0500290# Flag to apply erratum 2743102 workaround during powerdown. This erratum
291# applies to all revisions <= r4p1 of the Cortex A76 cpu and is still open.
292ERRATA_A76_2743102 ?=0
293
laurenw-arm99ad9762020-07-14 14:18:34 -0500294# Flag to apply erratum 1508412 workaround during reset. This erratum applies
295# only to revision <= r1p0 of the Cortex A77 cpu.
296ERRATA_A77_1508412 ?=0
297
johpow01a2fa12c2020-09-10 13:39:26 -0500298# Flag to apply erratum 1925769 workaround during reset. This erratum applies
299# only to revision <= r1p1 of the Cortex A77 cpu.
300ERRATA_A77_1925769 ?=0
301
laurenw-armf5dbbef2021-03-23 13:09:35 -0500302# Flag to apply erratum 1946167 workaround during reset. This erratum applies
303# only to revision <= r1p1 of the Cortex A77 cpu.
304ERRATA_A77_1946167 ?=0
305
johpow01eb146102021-05-03 13:37:13 -0500306# Flag to apply erratum 1791578 workaround during reset. This erratum applies
307# to revisions r0p0, r1p0, and r1p1, it is still open.
308ERRATA_A77_1791578 ?=0
309
Bipin Ravi8e916622022-06-08 15:27:00 -0500310# Flag to apply erratum 2356587 workaround during reset. This erratum applies
311# to revisions r0p0, r1p0, and r1p1, it is still open.
312ERRATA_A77_2356587 ?=0
313
Boyan Karatoteve5cf16b2022-09-27 10:37:54 +0100314# Flag to apply erratum 1800714 workaround during reset. This erratum applies
315# to revisions <= r1p1 of the Cortex A77 cpu.
316ERRATA_A77_1800714 ?=0
317
Boyan Karatotevaaf5d292022-11-01 11:22:12 +0000318# Flag to apply erratum 2743100 workaround during power down. This erratum
319# applies to revisions r0p0, r1p0, and r1p1, it is still open.
320ERRATA_A77_2743100 ?=0
321
Madhukar Pappireddy4efede72019-12-18 15:56:27 -0600322# Flag to apply erratum 1688305 workaround during reset. This erratum applies
Jimmy Brisson3571fb92020-06-01 10:18:22 -0500323# to revisions r0p0 - r1p0 of the A78 cpu.
324ERRATA_A78_1688305 ?=0
Madhukar Pappireddy4efede72019-12-18 15:56:27 -0600325
johpow019131eb82020-10-06 17:55:25 -0500326# Flag to apply erratum 1941498 workaround during reset. This erratum applies
327# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
328ERRATA_A78_1941498 ?=0
329
johpow0185ea43d2020-10-07 15:08:01 -0500330# Flag to apply erratum 1951500 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600331# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
johpow0185ea43d2020-10-07 15:08:01 -0500332# well but there is no workaround for that revision.
333ERRATA_A78_1951500 ?=0
334
johpow01b3e82942021-04-30 18:08:52 -0500335# Flag to apply erratum 1821534 workaround during reset. This erratum applies
336# to revisions r0p0 and r1p0 of the A78 cpu.
337ERRATA_A78_1821534 ?=0
338
nayanpatel-arm80bf7a52021-08-11 13:33:00 -0700339# Flag to apply erratum 1952683 workaround during reset. This erratum applies
340# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
johpow01de7b5242022-01-04 16:15:18 -0600341ERRATA_A78_1952683 ?=0
nayanpatel-arm80bf7a52021-08-11 13:33:00 -0700342
nayanpatel-arm39e08652021-09-28 17:31:50 -0700343# Flag to apply erratum 2132060 workaround during reset. This erratum applies
344# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
johpow01de7b5242022-01-04 16:15:18 -0600345ERRATA_A78_2132060 ?=0
johpow0145c17242021-09-02 17:53:30 -0500346
347# Flag to apply erratum 2242635 workaround during reset. This erratum applies
348# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
349# present in r0p0 as well but there is no workaround for that revision.
350ERRATA_A78_2242635 ?=0
351
John Powell12bc0de2022-05-03 15:22:57 -0500352# Flag to apply erratum 2376745 workaround during reset. This erratum applies
353# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
354ERRATA_A78_2376745 ?=0
355
John Powella93b7e52022-05-03 15:52:11 -0500356# Flag to apply erratum 2395406 workaround during reset. This erratum applies
357# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
358ERRATA_A78_2395406 ?=0
359
Bipin Ravi8f78e0d2022-12-15 14:48:21 -0600360# Flag to apply erratum 2772019 workaround during powerdown. This erratum
361# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the A78 cpu. It is still
362# open.
363ERRATA_A78_2772019 ?=0
364
johpow0145c17242021-09-02 17:53:30 -0500365# Flag to apply erratum 1941500 workaround during reset. This erratum applies
366# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
367ERRATA_A78_AE_1941500 ?=0
368
369# Flag to apply erratum 1951502 workaround during reset. This erratum applies
370# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
371ERRATA_A78_AE_1951502 ?=0
nayanpatel-arm39e08652021-09-28 17:31:50 -0700372
Varun Wadekar9030a6c2022-03-09 22:04:00 +0000373# Flag to apply erratum 2376748 workaround during reset. This erratum applies
374# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
375ERRATA_A78_AE_2376748 ?=0
376
Varun Wadekarac6bf2e2022-03-09 22:20:32 +0000377# Flag to apply erratum 2395408 workaround during reset. This erratum applies
378# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
379ERRATA_A78_AE_2395408 ?=0
380
laurenw-arm4dc18872022-07-12 10:43:52 -0500381# Flag to apply erratum 2132064 workaround during reset. This erratum applies
382# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
383ERRATA_A78C_2132064 ?=0
384
Bipin Ravi9c36e122022-07-15 17:20:16 -0500385# Flag to apply erratum 2242638 workaround during reset. This erratum applies
386# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
387ERRATA_A78C_2242638 ?=0
388
Akram Ahmadfbc1edb2022-09-06 11:23:25 +0100389# Flag to apply erratum 2376749 workaround during reset. This erratum applies
390# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
391ERRATA_A78C_2376749 ?=0
392
Akram Ahmaddbff7cf2022-07-19 14:38:46 +0100393# Flag to apply erratum 2395411 workaround during reset. This erratum applies
394# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
395ERRATA_A78C_2395411 ?=0
396
Bipin Ravie0b52cc2023-01-18 11:03:21 -0600397# Flag to apply erratum 2772121 workaround during powerdown. This erratum
398# applies to revisions r0p0, r0p1 and r0p2 of the A78C cpu. It is still open.
399ERRATA_A78C_2772121 ?=0
400
Okash Khawajabaee3902022-04-21 12:20:21 +0100401# Flag to apply erratum 1821534 workaround during reset. This erratum applies
402# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
403ERRATA_X1_1821534 ?=0
404
405# Flag to apply erratum 1688305 workaround during reset. This erratum applies
406# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
407ERRATA_X1_1688305 ?=0
408
409# Flag to apply erratum 1827429 workaround during reset. This erratum applies
410# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
411ERRATA_X1_1827429 ?=0
412
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +0100413# Flag to apply T32 CLREX workaround during reset. This erratum applies
John Tsichritzis56369c12019-02-19 13:49:06 +0000414# only to r0p0 and r1p0 of the Neoverse N1 cpu.
laurenw-armc0763b62020-01-22 13:30:39 -0600415ERRATA_N1_1043202 ?=0
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +0100416
lauwal01bd555f42019-06-24 11:23:50 -0500417# Flag to apply erratum 1073348 workaround during reset. This erratum applies
418# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
419ERRATA_N1_1073348 ?=0
420
lauwal01363ee3c2019-06-24 11:28:34 -0500421# Flag to apply erratum 1130799 workaround during reset. This erratum applies
422# only to revision <= r2p0 of the Neoverse N1 cpu.
423ERRATA_N1_1130799 ?=0
424
lauwal01f2adb132019-06-24 11:32:40 -0500425# Flag to apply erratum 1165347 workaround during reset. This erratum applies
426# only to revision <= r2p0 of the Neoverse N1 cpu.
427ERRATA_N1_1165347 ?=0
428
lauwal01e1590442019-06-24 11:35:37 -0500429# Flag to apply erratum 1207823 workaround during reset. This erratum applies
430# only to revision <= r2p0 of the Neoverse N1 cpu.
431ERRATA_N1_1207823 ?=0
432
lauwal01197f14c2019-06-24 11:38:53 -0500433# Flag to apply erratum 1220197 workaround during reset. This erratum applies
434# only to revision <= r2p0 of the Neoverse N1 cpu.
435ERRATA_N1_1220197 ?=0
436
lauwal0107c2a232019-06-24 11:42:02 -0500437# Flag to apply erratum 1257314 workaround during reset. This erratum applies
438# only to revision <= r3p0 of the Neoverse N1 cpu.
439ERRATA_N1_1257314 ?=0
440
lauwal0142771af2019-06-24 11:44:58 -0500441# Flag to apply erratum 1262606 workaround during reset. This erratum applies
442# only to revision <= r3p0 of the Neoverse N1 cpu.
443ERRATA_N1_1262606 ?=0
444
lauwal0100396bf2019-06-24 11:47:30 -0500445# Flag to apply erratum 1262888 workaround during reset. This erratum applies
446# only to revision <= r3p0 of the Neoverse N1 cpu.
447ERRATA_N1_1262888 ?=0
448
lauwal01644b6ed2019-06-24 11:49:01 -0500449# Flag to apply erratum 1275112 workaround during reset. This erratum applies
450# only to revision <= r3p0 of the Neoverse N1 cpu.
451ERRATA_N1_1275112 ?=0
452
Andre Przywarab9347402019-05-20 14:57:06 +0100453# Flag to apply erratum 1315703 workaround during reset. This erratum applies
454# to revisions before r3p1 of the Neoverse N1 cpu.
laurenw-armc0763b62020-01-22 13:30:39 -0600455ERRATA_N1_1315703 ?=0
Andre Przywarab9347402019-05-20 14:57:06 +0100456
laurenw-arm94accd32019-08-20 15:51:24 -0500457# Flag to apply erratum 1542419 workaround during reset. This erratum applies
458# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
459ERRATA_N1_1542419 ?=0
460
johpow01e2428fd2020-08-05 12:27:12 -0500461# Flag to apply erratum 1868343 workaround during reset. This erratum applies
462# to revision <= r4p0 of the Neoverse N1 cpu.
463ERRATA_N1_1868343 ?=0
464
johpow01f1a84f52020-10-07 14:33:15 -0500465# Flag to apply erratum 1946160 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600466# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
johpow01f1a84f52020-10-07 14:33:15 -0500467# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
468ERRATA_N1_1946160 ?=0
469
Bipin Ravi9edf2492022-11-02 16:12:01 -0500470# Flag to apply erratum 2743102 workaround during powerdown. This erratum
471# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
472ERRATA_N1_2743102 ?=0
473
Juan Pablo Conde31c93372022-02-28 14:14:44 -0500474# Flag to apply erratum 1618635 workaround during reset. This erratum applies
475# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
476ERRATA_V1_1618635 ?=0
477
johpow01de7b5242022-01-04 16:15:18 -0600478# Flag to apply erratum 1774420 workaround during reset. This erratum applies
laurenw-arm3c86d832021-08-02 13:22:32 -0500479# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
480ERRATA_V1_1774420 ?=0
481
johpow01de7b5242022-01-04 16:15:18 -0600482# Flag to apply erratum 1791573 workaround during reset. This erratum applies
johpow01c73b03c2021-05-03 15:33:39 -0500483# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
484ERRATA_V1_1791573 ?=0
485
johpow01de7b5242022-01-04 16:15:18 -0600486# Flag to apply erratum 1852267 workaround during reset. This erratum applies
laurenw-armb1923e92021-08-02 14:40:08 -0500487# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
488ERRATA_V1_1852267 ?=0
489
johpow01de7b5242022-01-04 16:15:18 -0600490# Flag to apply erratum 1925756 workaround during reset. This needs to be
laurenw-arm6b56f962021-08-02 15:00:15 -0500491# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
492ERRATA_V1_1925756 ?=0
493
johpow0107acb4f2020-10-07 16:38:37 -0500494# Flag to apply erratum 1940577 workaround during reset. This erratum applies
495# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
496ERRATA_V1_1940577 ?=0
497
johpow0197db6752021-08-02 18:59:08 -0500498# Flag to apply erratum 1966096 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600499# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
johpow0197db6752021-08-02 18:59:08 -0500500# exists in r0p0 as well but there is no workaround for that revision.
nayanpatel-armfc26ffe2021-09-28 13:41:03 -0700501ERRATA_V1_1966096 ?=0
johpow0197db6752021-08-02 18:59:08 -0500502
johpow01ad1ca342021-08-03 14:35:20 -0500503# Flag to apply erratum 2139242 workaround during reset. This erratum applies
504# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
nayanpatel-armfc26ffe2021-09-28 13:41:03 -0700505ERRATA_V1_2139242 ?=0
506
507# Flag to apply erratum 2108267 workaround during reset. This erratum applies
508# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
509ERRATA_V1_2108267 ?=0
johpow01ad1ca342021-08-03 14:35:20 -0500510
johpow014de29cb2021-09-02 18:29:17 -0500511# Flag to apply erratum 2216392 workaround during reset. This erratum applies
512# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
513# issue exists in r0p0 as well but there is no workaround for that revision.
514ERRATA_V1_2216392 ?=0
515
Bipin Ravi971938f2022-06-08 16:28:46 -0500516# Flag to apply erratum 2294912 workaround during reset. This erratum applies
517# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
518ERRATA_V1_2294912 ?=0
519
Bipin Ravib4cb31f2022-06-14 17:09:23 -0500520# Flag to apply erratum 2372203 workaround during reset. This erratum applies
521# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
522ERRATA_V1_2372203 ?=0
523
Bipin Ravife4b0c42022-12-15 11:57:53 -0600524# Flag to apply erratum 2743093 workaround during powerdown. This erratum
525# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
526# still open.
527ERRATA_V1_2743093 ?=0
528
nayanpatel-arme55d3252021-08-06 16:39:48 -0700529# Flag to apply erratum 1987031 workaround during reset. This erratum applies
530# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
531ERRATA_A710_1987031 ?=0
532
nayanpatel-arm7597d082021-08-25 17:35:15 -0700533# Flag to apply erratum 2081180 workaround during reset. This erratum applies
534# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
535ERRATA_A710_2081180 ?=0
536
nayanpatel-arm0b338b42021-09-16 15:27:53 -0700537# Flag to apply erratum 2083908 workaround during reset. This erratum applies
538# to revision r2p0 of the Cortex-A710 cpu and is still open.
539ERRATA_A710_2083908 ?=0
540
nayanpatel-armf2dce0e2021-09-22 12:35:03 -0700541# Flag to apply erratum 2058056 workaround during reset. This erratum applies
542# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
543ERRATA_A710_2058056 ?=0
544
johpow01de7b5242022-01-04 16:15:18 -0600545# Flag to apply erratum 2055002 workaround during reset. This erratum applies
546# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
547ERRATA_A710_2055002 ?=0
548
549# Flag to apply erratum 2017096 workaround during reset. This erratum applies
550# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
551ERRATA_A710_2017096 ?=0
552
553# Flag to apply erratum 2267065 workaround during reset. This erratum applies
554# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
555ERRATA_A710_2267065 ?=0
556
557# Flag to apply erratum 2136059 workaround during reset. This erratum applies
558# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
559ERRATA_A710_2136059 ?=0
560
Akram Ahmad1714c1d2022-07-21 15:25:08 +0100561# Flag to apply erratum 2147715 workaround during reset. This erratum applies
562# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
563ERRATA_A710_2147715 ?=0
564
Jayanth Dodderi Chidanandde4f5892022-09-01 22:09:54 +0100565# Flag to apply erratum 2216384 workaround during reset. This erratum applies
566# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
567ERRATA_A710_2216384 ?=0
568
johpow017249fd02022-02-28 18:34:04 -0600569# Flag to apply erratum 2282622 workaround during reset. This erratum applies
Bipin Ravi380c1982022-12-22 13:31:46 -0600570# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
571# open.
johpow017249fd02022-02-28 18:34:04 -0600572ERRATA_A710_2282622 ?=0
573
Boyan Karatotevf8de5352022-10-03 14:21:28 +0100574# Flag to apply erratum 2291219 workaround during reset. This erratum applies
575# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
576ERRATA_A710_2291219 ?=0
577
johpow017d52a8f2022-03-09 16:23:04 -0600578# Flag to apply erratum 2008768 workaround during reset. This erratum applies
579# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
580ERRATA_A710_2008768 ?=0
581
Bipin Ravi77eab292022-07-12 15:53:21 -0500582# Flag to apply erratum 2371105 workaround during reset. This erratum applies
583# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
584ERRATA_A710_2371105 ?=0
585
Bipin Ravief9a1552022-12-07 13:32:35 -0600586# Flag to apply erratum 2768515 workaround during power down. This erratum
587# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
588# still open.
589ERRATA_A710_2768515 ?=0
590
Bipin Ravicc744bf2022-12-07 17:01:26 -0600591# Flag to apply erratum 2002655 workaround during reset. This erratum applies
592# to revisions r0p0 of the Neoverse-N2 cpu, it is still open.
593ERRATA_N2_2002655 ?=0
594
Bipin Ravieb35e852021-03-30 16:08:32 -0500595# Flag to apply erratum 2067956 workaround during reset. This erratum applies
596# to revision r0p0 of the Neoverse N2 cpu and is still open.
597ERRATA_N2_2067956 ?=0
598
Bipin Ravi7f565472021-03-31 10:10:27 -0500599# Flag to apply erratum 2025414 workaround during reset. This erratum applies
600# to revision r0p0 of the Neoverse N2 cpu and is still open.
601ERRATA_N2_2025414 ?=0
602
Bipin Ravi7e030692021-08-30 13:02:51 -0500603# Flag to apply erratum 2189731 workaround during reset. This erratum applies
604# to revision r0p0 of the Neoverse N2 cpu and is still open.
605ERRATA_N2_2189731 ?=0
606
Bipin Ravi0ba631c2021-09-01 01:36:43 -0500607# Flag to apply erratum 2138956 workaround during reset. This erratum applies
608# to revision r0p0 of the Neoverse N2 cpu and is still open.
609ERRATA_N2_2138956 ?=0
610
nayanpatel-armd4c5f9c2021-09-28 09:46:45 -0700611# Flag to apply erratum 2138953 workaround during reset. This erratum applies
612# to revision r0p0 of the Neoverse N2 cpu and is still open.
613ERRATA_N2_2138953 ?=0
614
nayanpatel-arm2f153992021-10-06 15:31:24 -0700615# Flag to apply erratum 2242415 workaround during reset. This erratum applies
616# to revision r0p0 of the Neoverse N2 cpu and is still open.
617ERRATA_N2_2242415 ?=0
618
nayanpatel-arm8e1aa012021-10-20 18:28:58 -0700619# Flag to apply erratum 2138958 workaround during reset. This erratum applies
620# to revision r0p0 of the Neoverse N2 cpu and is still open.
621ERRATA_N2_2138958 ?=0
622
nayanpatel-armfed98132021-10-07 17:59:33 -0700623# Flag to apply erratum 2242400 workaround during reset. This erratum applies
624# to revision r0p0 of the Neoverse N2 cpu and is still open.
625ERRATA_N2_2242400 ?=0
626
nayanpatel-arm45b9f6f2021-10-20 17:30:46 -0700627# Flag to apply erratum 2280757 workaround during reset. This erratum applies
628# to revision r0p0 of the Neoverse N2 cpu and is still open.
629ERRATA_N2_2280757 ?=0
630
Boyan Karatotevd3f8b4d2022-10-03 14:07:08 +0100631# Flag to apply erraturm 2326639 workaroud during powerdown. This erratum
632# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
633ERRATA_N2_2326639 ?=0
634
Akram Ahmadb621bda2022-07-18 12:27:29 +0100635# Flag to apply erratum 2376738 workaround during reset. This erratum applies
636# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
637ERRATA_N2_2376738 ?=0
638
Daniel Boulby1af2b112022-07-06 14:33:13 +0100639# Flag to apply erratum 2388450 workaround during reset. This erratum applies
640# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
641ERRATA_N2_2388450 ?=0
642
Bipin Ravicc744bf2022-12-07 17:01:26 -0600643# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
644# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
645ERRATA_N2_2743089 ?=0
646
johpow010afef362021-12-02 13:25:50 -0600647# Flag to apply erratum 2002765 workaround during reset. This erratum applies
648# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravi2f73d972022-01-20 00:01:04 -0600649ERRATA_X2_2002765 ?=0
johpow010afef362021-12-02 13:25:50 -0600650
johpow01f6c37de2021-12-03 11:27:33 -0600651# Flag to apply erratum 2058056 workaround during reset. This erratum applies
652# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravi2f73d972022-01-20 00:01:04 -0600653ERRATA_X2_2058056 ?=0
johpow01f6c37de2021-12-03 11:27:33 -0600654
johpow0115f10bd2021-12-01 17:40:39 -0600655# Flag to apply erratum 2083908 workaround during reset. This erratum applies
656# to revision r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravi2f73d972022-01-20 00:01:04 -0600657ERRATA_X2_2083908 ?=0
658
659# Flag to apply erratum 2017096 workaround during reset. This erratum applies
660# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
661# r2p1.
662ERRATA_X2_2017096 ?=0
johpow0115f10bd2021-12-01 17:40:39 -0600663
Bipin Ravi9ad54782022-01-20 00:42:05 -0600664# Flag to apply erratum 2081180 workaround during reset. This erratum applies
665# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
666# r2p1.
667ERRATA_X2_2081180 ?=0
668
Bipin Ravi78b72082022-02-06 01:29:31 -0600669# Flag to apply erratum 2216384 workaround during reset. This erratum applies
670# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
671# r2p1.
672ERRATA_X2_2216384 ?=0
673
Bipin Ravic6b65212022-03-08 10:37:43 -0600674# Flag to apply erratum 2147715 workaround during reset. This erratum applies
675# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
676ERRATA_X2_2147715 ?=0
677
Bipin Ravi7dccf8f2022-12-22 14:19:59 -0600678# Flag to apply erratum 2282622 workaround during reset. This erratum applies
679# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is still
680# open.
681ERRATA_X2_2282622 ?=0
682
Bipin Ravi4e315c32022-07-12 17:13:01 -0500683# Flag to apply erratum 2371105 workaround during reset. This erratum applies
684# to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1.
685ERRATA_X2_2371105 ?=0
686
Bipin Ravi86839eb2022-12-07 13:54:02 -0600687# Flag to apply erratum 2768515 workaround during power down. This erratum
688# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
689# still open.
690ERRATA_X2_2768515 ?=0
691
Boyan Karatotev6559dbd2022-10-03 14:18:28 +0100692# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
693# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
694ERRATA_X3_2313909 ?=0
695
Harrison Mutai82dd5ac2022-11-11 14:09:55 +0000696# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
697# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is still open.
698ERRATA_X3_2615812 ?=0
699
johpow01de7b5242022-01-04 16:15:18 -0600700# Flag to apply erratum 1922240 workaround during reset. This erratum applies
701# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
702ERRATA_A510_1922240 ?=0
703
johpow0149f60dd2022-01-06 14:54:49 -0600704# Flag to apply erratum 2288014 workaround during reset. This erratum applies
705# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
706# fixed in r1p1.
707ERRATA_A510_2288014 ?=0
708
johpow018276f252022-01-07 17:12:31 -0600709# Flag to apply erratum 2042739 workaround during reset. This erratum applies
710# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
711ERRATA_A510_2042739 ?=0
712
johpow015a993002022-01-11 17:54:41 -0600713# Flag to apply erratum 2041909 workaround during reset. This erratum applies
714# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
715# present in r0p0 and r0p1 but there is no workaround for those revisions.
716ERRATA_A510_2041909 ?=0
717
johpow013ba9cb22022-02-13 21:00:10 -0600718# Flag to apply erratum 2250311 workaround during reset. This erratum applies
719# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
720ERRATA_A510_2250311 ?=0
721
johpow013ead2952022-02-14 20:19:08 -0600722# Flag to apply erratum 2218950 workaround during reset. This erratum applies
723# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
724ERRATA_A510_2218950 ?=0
725
johpow01ac55c012022-02-15 22:55:22 -0600726# Flag to apply erratum 2172148 workaround during reset. This erratum applies
727# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
728ERRATA_A510_2172148 ?=0
729
Akram Ahmada85254e2022-07-21 14:01:33 +0100730# Flag to apply erratum 2347730 workaround during reset. This erratum applies
731# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
732# and is fixed in r1p2.
733ERRATA_A510_2347730 ?=0
734
Akram Ahmad60accba2022-07-22 16:20:44 +0100735# Flag to apply erratum 2371937 workaround during reset. This erratum applies
736# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
737ERRATA_A510_2371937 ?=0
738
Akram Ahmad89034d62022-09-21 13:59:56 +0100739# Flag to apply erratum 2666669 workaround during reset. This erratum applies
740# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
741ERRATA_A510_2666669 ?=0
742
Louis Mayencourt4498b152019-04-09 16:29:01 +0100743# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
744# Applying the workaround results in higher DSU power consumption on idle.
745ERRATA_DSU_798953 ?=0
746
John Tsichritzis4daa1de2018-07-23 09:11:59 +0100747# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
748# the ACP interface and revision < r2p0. Applying the workaround results in
749# higher DSU power consumption on idle.
750ERRATA_DSU_936184 ?=0
751
Bipin Raviaf40d692021-12-22 14:35:21 -0600752# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
753# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
754# results in higher DSU power consumption on idle.
755ERRATA_DSU_2313941 ?=0
756
Joel Hutton26d16762019-04-10 12:52:52 +0100757# Process ERRATA_A9_794073 flag
758$(eval $(call assert_boolean,ERRATA_A9_794073))
759$(eval $(call add_define,ERRATA_A9_794073))
760
Ambroise Vincentd4a51eb2019-03-04 16:56:26 +0000761# Process ERRATA_A15_816470 flag
762$(eval $(call assert_boolean,ERRATA_A15_816470))
763$(eval $(call add_define,ERRATA_A15_816470))
764
Ambroise Vincent68b38122019-03-05 09:54:21 +0000765# Process ERRATA_A15_827671 flag
766$(eval $(call assert_boolean,ERRATA_A15_827671))
767$(eval $(call add_define,ERRATA_A15_827671))
768
Ambroise Vincent8cf9eef2019-02-28 16:23:53 +0000769# Process ERRATA_A17_852421 flag
770$(eval $(call assert_boolean,ERRATA_A17_852421))
771$(eval $(call add_define,ERRATA_A17_852421))
772
Ambroise Vincentfa5c9512019-03-04 13:20:56 +0000773# Process ERRATA_A17_852423 flag
774$(eval $(call assert_boolean,ERRATA_A17_852423))
775$(eval $(call add_define,ERRATA_A17_852423))
776
Louis Mayencourt8a061272019-04-05 16:25:25 +0100777# Process ERRATA_A35_855472 flag
778$(eval $(call assert_boolean,ERRATA_A35_855472))
779$(eval $(call add_define,ERRATA_A35_855472))
780
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +0000781# Process ERRATA_A53_819472 flag
782$(eval $(call assert_boolean,ERRATA_A53_819472))
783$(eval $(call add_define,ERRATA_A53_819472))
784
785# Process ERRATA_A53_824069 flag
786$(eval $(call assert_boolean,ERRATA_A53_824069))
787$(eval $(call add_define,ERRATA_A53_824069))
788
developer4fceaca2015-07-29 20:55:31 +0800789# Process ERRATA_A53_826319 flag
790$(eval $(call assert_boolean,ERRATA_A53_826319))
791$(eval $(call add_define,ERRATA_A53_826319))
792
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +0000793# Process ERRATA_A53_827319 flag
794$(eval $(call assert_boolean,ERRATA_A53_827319))
795$(eval $(call add_define,ERRATA_A53_827319))
796
Douglas Raillardd56fb042017-06-19 15:38:02 +0100797# Process ERRATA_A53_835769 flag
798$(eval $(call assert_boolean,ERRATA_A53_835769))
799$(eval $(call add_define,ERRATA_A53_835769))
800
developer4fceaca2015-07-29 20:55:31 +0800801# Process ERRATA_A53_836870 flag
802$(eval $(call assert_boolean,ERRATA_A53_836870))
803$(eval $(call add_define,ERRATA_A53_836870))
804
Douglas Raillardd56fb042017-06-19 15:38:02 +0100805# Process ERRATA_A53_843419 flag
806$(eval $(call assert_boolean,ERRATA_A53_843419))
807$(eval $(call add_define,ERRATA_A53_843419))
808
Andre Przywara00eefd92016-10-06 16:54:53 +0100809# Process ERRATA_A53_855873 flag
810$(eval $(call assert_boolean,ERRATA_A53_855873))
811$(eval $(call add_define,ERRATA_A53_855873))
812
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100813# Process ERRATA_A53_1530924 flag
814$(eval $(call assert_boolean,ERRATA_A53_1530924))
815$(eval $(call add_define,ERRATA_A53_1530924))
816
Ambroise Vincent7927fa02019-02-21 16:20:43 +0000817# Process ERRATA_A55_768277 flag
818$(eval $(call assert_boolean,ERRATA_A55_768277))
819$(eval $(call add_define,ERRATA_A55_768277))
820
Ambroise Vincent6f319602019-02-21 16:25:37 +0000821# Process ERRATA_A55_778703 flag
822$(eval $(call assert_boolean,ERRATA_A55_778703))
823$(eval $(call add_define,ERRATA_A55_778703))
824
Ambroise Vincent6a77f052019-02-21 16:27:34 +0000825# Process ERRATA_A55_798797 flag
826$(eval $(call assert_boolean,ERRATA_A55_798797))
827$(eval $(call add_define,ERRATA_A55_798797))
828
Ambroise Vincentdd961f72019-02-21 16:29:16 +0000829# Process ERRATA_A55_846532 flag
830$(eval $(call assert_boolean,ERRATA_A55_846532))
831$(eval $(call add_define,ERRATA_A55_846532))
832
Ambroise Vincenta1d64462019-02-21 16:29:50 +0000833# Process ERRATA_A55_903758 flag
834$(eval $(call assert_boolean,ERRATA_A55_903758))
835$(eval $(call add_define,ERRATA_A55_903758))
836
Ambroise Vincentb72fe7a2019-05-28 09:52:48 +0100837# Process ERRATA_A55_1221012 flag
838$(eval $(call assert_boolean,ERRATA_A55_1221012))
839$(eval $(call add_define,ERRATA_A55_1221012))
840
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100841# Process ERRATA_A55_1530923 flag
842$(eval $(call assert_boolean,ERRATA_A55_1530923))
843$(eval $(call add_define,ERRATA_A55_1530923))
844
Soby Mathew802f8652014-08-14 16:19:29 +0100845# Process ERRATA_A57_806969 flag
846$(eval $(call assert_boolean,ERRATA_A57_806969))
847$(eval $(call add_define,ERRATA_A57_806969))
848
Antonio Nino Diaz3f13c352017-02-24 11:39:22 +0000849# Process ERRATA_A57_813419 flag
850$(eval $(call assert_boolean,ERRATA_A57_813419))
851$(eval $(call add_define,ERRATA_A57_813419))
852
Soby Mathew802f8652014-08-14 16:19:29 +0100853# Process ERRATA_A57_813420 flag
854$(eval $(call assert_boolean,ERRATA_A57_813420))
855$(eval $(call add_define,ERRATA_A57_813420))
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100856
Ambroise Vincent1b0db762019-02-21 16:35:07 +0000857# Process ERRATA_A57_814670 flag
858$(eval $(call assert_boolean,ERRATA_A57_814670))
859$(eval $(call add_define,ERRATA_A57_814670))
860
Ambroise Vincentaa2c0292019-02-21 16:35:49 +0000861# Process ERRATA_A57_817169 flag
862$(eval $(call assert_boolean,ERRATA_A57_817169))
863$(eval $(call add_define,ERRATA_A57_817169))
864
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100865# Process ERRATA_A57_826974 flag
866$(eval $(call assert_boolean,ERRATA_A57_826974))
867$(eval $(call add_define,ERRATA_A57_826974))
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100868
Sandrine Bailleuxadcbd552016-04-14 14:24:13 +0100869# Process ERRATA_A57_826977 flag
870$(eval $(call assert_boolean,ERRATA_A57_826977))
871$(eval $(call add_define,ERRATA_A57_826977))
872
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100873# Process ERRATA_A57_828024 flag
874$(eval $(call assert_boolean,ERRATA_A57_828024))
875$(eval $(call add_define,ERRATA_A57_828024))
Sandrine Bailleux48cbe852016-04-14 14:18:07 +0100876
877# Process ERRATA_A57_829520 flag
878$(eval $(call assert_boolean,ERRATA_A57_829520))
879$(eval $(call add_define,ERRATA_A57_829520))
Sandrine Bailleux143ef1a2016-04-21 11:10:52 +0100880
881# Process ERRATA_A57_833471 flag
882$(eval $(call assert_boolean,ERRATA_A57_833471))
883$(eval $(call add_define,ERRATA_A57_833471))
Douglas Raillardd56fb042017-06-19 15:38:02 +0100884
Eleanor Bonnici0c9bd272017-08-02 16:35:04 +0100885# Process ERRATA_A57_859972 flag
886$(eval $(call assert_boolean,ERRATA_A57_859972))
887$(eval $(call add_define,ERRATA_A57_859972))
888
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100889# Process ERRATA_A57_1319537 flag
890$(eval $(call assert_boolean,ERRATA_A57_1319537))
891$(eval $(call add_define,ERRATA_A57_1319537))
892
Eleanor Bonnicic3b4ca12017-08-02 18:33:41 +0100893# Process ERRATA_A72_859971 flag
894$(eval $(call assert_boolean,ERRATA_A72_859971))
895$(eval $(call add_define,ERRATA_A72_859971))
896
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100897# Process ERRATA_A72_1319367 flag
898$(eval $(call assert_boolean,ERRATA_A72_1319367))
899$(eval $(call add_define,ERRATA_A72_1319367))
900
Louis Mayencourtd69722c2019-02-27 14:24:16 +0000901# Process ERRATA_A73_852427 flag
902$(eval $(call assert_boolean,ERRATA_A73_852427))
903$(eval $(call add_define,ERRATA_A73_852427))
904
Louis Mayencourt4405de62019-02-21 16:38:16 +0000905# Process ERRATA_A73_855423 flag
906$(eval $(call assert_boolean,ERRATA_A73_855423))
907$(eval $(call add_define,ERRATA_A73_855423))
908
Louis Mayencourt78a0aed2019-02-20 12:11:41 +0000909# Process ERRATA_A75_764081 flag
910$(eval $(call assert_boolean,ERRATA_A75_764081))
911$(eval $(call add_define,ERRATA_A75_764081))
912
Louis Mayencourt8d868702019-02-25 14:57:57 +0000913# Process ERRATA_A75_790748 flag
914$(eval $(call assert_boolean,ERRATA_A75_790748))
915$(eval $(call add_define,ERRATA_A75_790748))
916
Louis Mayencourt59fa2182019-02-25 15:17:44 +0000917# Process ERRATA_A76_1073348 flag
918$(eval $(call assert_boolean,ERRATA_A76_1073348))
919$(eval $(call add_define,ERRATA_A76_1073348))
920
Louis Mayencourt09924472019-02-21 17:35:07 +0000921# Process ERRATA_A76_1130799 flag
922$(eval $(call assert_boolean,ERRATA_A76_1130799))
923$(eval $(call add_define,ERRATA_A76_1130799))
924
Louis Mayencourtadda9d42019-02-25 11:37:38 +0000925# Process ERRATA_A76_1220197 flag
926$(eval $(call assert_boolean,ERRATA_A76_1220197))
927$(eval $(call add_define,ERRATA_A76_1220197))
928
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100929# Process ERRATA_A76_1257314 flag
930$(eval $(call assert_boolean,ERRATA_A76_1257314))
931$(eval $(call add_define,ERRATA_A76_1257314))
932
933# Process ERRATA_A76_1262606 flag
934$(eval $(call assert_boolean,ERRATA_A76_1262606))
935$(eval $(call add_define,ERRATA_A76_1262606))
936
937# Process ERRATA_A76_1262888 flag
938$(eval $(call assert_boolean,ERRATA_A76_1262888))
939$(eval $(call add_define,ERRATA_A76_1262888))
940
941# Process ERRATA_A76_1275112 flag
942$(eval $(call assert_boolean,ERRATA_A76_1275112))
943$(eval $(call add_define,ERRATA_A76_1275112))
944
Soby Mathew16d006b2019-05-03 13:17:56 +0100945# Process ERRATA_A76_1286807 flag
946$(eval $(call assert_boolean,ERRATA_A76_1286807))
947$(eval $(call add_define,ERRATA_A76_1286807))
948
johpow019603f982020-05-29 14:17:38 -0500949# Process ERRATA_A76_1791580 flag
950$(eval $(call assert_boolean,ERRATA_A76_1791580))
951$(eval $(call add_define,ERRATA_A76_1791580))
952
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100953# Process ERRATA_A76_1165522 flag
954$(eval $(call assert_boolean,ERRATA_A76_1165522))
955$(eval $(call add_define,ERRATA_A76_1165522))
956
johpow0181365e32020-09-29 17:19:09 -0500957# Process ERRATA_A76_1868343 flag
958$(eval $(call assert_boolean,ERRATA_A76_1868343))
959$(eval $(call add_define,ERRATA_A76_1868343))
960
johpow013e34e922020-12-15 19:02:18 -0600961# Process ERRATA_A76_1946160 flag
962$(eval $(call assert_boolean,ERRATA_A76_1946160))
963$(eval $(call add_define,ERRATA_A76_1946160))
964
Bipin Ravi23e29e42022-11-02 16:50:03 -0500965# Process ERRATA_A76_2743102 flag
966$(eval $(call assert_boolean,ERRATA_A76_2743102))
967$(eval $(call add_define,ERRATA_A76_2743102))
968
laurenw-arm99ad9762020-07-14 14:18:34 -0500969# Process ERRATA_A77_1508412 flag
970$(eval $(call assert_boolean,ERRATA_A77_1508412))
971$(eval $(call add_define,ERRATA_A77_1508412))
972
johpow01a2fa12c2020-09-10 13:39:26 -0500973# Process ERRATA_A77_1925769 flag
974$(eval $(call assert_boolean,ERRATA_A77_1925769))
975$(eval $(call add_define,ERRATA_A77_1925769))
976
laurenw-armf5dbbef2021-03-23 13:09:35 -0500977# Process ERRATA_A77_1946167 flag
978$(eval $(call assert_boolean,ERRATA_A77_1946167))
979$(eval $(call add_define,ERRATA_A77_1946167))
980
johpow01eb146102021-05-03 13:37:13 -0500981# Process ERRATA_A77_1791578 flag
982$(eval $(call assert_boolean,ERRATA_A77_1791578))
983$(eval $(call add_define,ERRATA_A77_1791578))
984
Bipin Ravi8e916622022-06-08 15:27:00 -0500985# Process ERRATA_A77_2356587 flag
986$(eval $(call assert_boolean,ERRATA_A77_2356587))
987$(eval $(call add_define,ERRATA_A77_2356587))
988
Boyan Karatoteve5cf16b2022-09-27 10:37:54 +0100989# Process ERRATA_A77_1800714 flag
990$(eval $(call assert_boolean,ERRATA_A77_1800714))
991$(eval $(call add_define,ERRATA_A77_1800714))
992
Boyan Karatotevaaf5d292022-11-01 11:22:12 +0000993# Process ERRATA_A77_2743100 flag
994$(eval $(call assert_boolean,ERRATA_A77_2743100))
995$(eval $(call add_define,ERRATA_A77_2743100))
996
Jimmy Brisson3571fb92020-06-01 10:18:22 -0500997# Process ERRATA_A78_1688305 flag
998$(eval $(call assert_boolean,ERRATA_A78_1688305))
999$(eval $(call add_define,ERRATA_A78_1688305))
Madhukar Pappireddy4efede72019-12-18 15:56:27 -06001000
johpow019131eb82020-10-06 17:55:25 -05001001# Process ERRATA_A78_1941498 flag
1002$(eval $(call assert_boolean,ERRATA_A78_1941498))
1003$(eval $(call add_define,ERRATA_A78_1941498))
1004
johpow0185ea43d2020-10-07 15:08:01 -05001005# Process ERRATA_A78_1951500 flag
1006$(eval $(call assert_boolean,ERRATA_A78_1951500))
1007$(eval $(call add_define,ERRATA_A78_1951500))
1008
johpow01b3e82942021-04-30 18:08:52 -05001009# Process ERRATA_A78_1821534 flag
1010$(eval $(call assert_boolean,ERRATA_A78_1821534))
1011$(eval $(call add_define,ERRATA_A78_1821534))
1012
nayanpatel-arm80bf7a52021-08-11 13:33:00 -07001013# Process ERRATA_A78_1952683 flag
1014$(eval $(call assert_boolean,ERRATA_A78_1952683))
1015$(eval $(call add_define,ERRATA_A78_1952683))
1016
nayanpatel-arm39e08652021-09-28 17:31:50 -07001017# Process ERRATA_A78_2132060 flag
1018$(eval $(call assert_boolean,ERRATA_A78_2132060))
1019$(eval $(call add_define,ERRATA_A78_2132060))
1020
johpow0145c17242021-09-02 17:53:30 -05001021# Process ERRATA_A78_2242635 flag
1022$(eval $(call assert_boolean,ERRATA_A78_2242635))
1023$(eval $(call add_define,ERRATA_A78_2242635))
1024
John Powell12bc0de2022-05-03 15:22:57 -05001025# Process ERRATA_A78_2376745 flag
1026$(eval $(call assert_boolean,ERRATA_A78_2376745))
1027$(eval $(call add_define,ERRATA_A78_2376745))
1028
John Powella93b7e52022-05-03 15:52:11 -05001029# Process ERRATA_A78_2395406 flag
1030$(eval $(call assert_boolean,ERRATA_A78_2395406))
1031$(eval $(call add_define,ERRATA_A78_2395406))
1032
Bipin Ravi8f78e0d2022-12-15 14:48:21 -06001033# Process ERRATA_A78_2772019 flag
1034$(eval $(call assert_boolean,ERRATA_A78_2772019))
1035$(eval $(call add_define,ERRATA_A78_2772019))
1036
johpow0145c17242021-09-02 17:53:30 -05001037# Process ERRATA_A78_AE_1941500 flag
1038$(eval $(call assert_boolean,ERRATA_A78_AE_1941500))
1039$(eval $(call add_define,ERRATA_A78_AE_1941500))
1040
1041# Process ERRATA_A78_AE_1951502 flag
1042$(eval $(call assert_boolean,ERRATA_A78_AE_1951502))
1043$(eval $(call add_define,ERRATA_A78_AE_1951502))
1044
Varun Wadekar9030a6c2022-03-09 22:04:00 +00001045# Process ERRATA_A78_AE_2376748 flag
1046$(eval $(call assert_boolean,ERRATA_A78_AE_2376748))
1047$(eval $(call add_define,ERRATA_A78_AE_2376748))
1048
Varun Wadekarac6bf2e2022-03-09 22:20:32 +00001049# Process ERRATA_A78_AE_2395408 flag
1050$(eval $(call assert_boolean,ERRATA_A78_AE_2395408))
1051$(eval $(call add_define,ERRATA_A78_AE_2395408))
1052
laurenw-arm4dc18872022-07-12 10:43:52 -05001053# Process ERRATA_A78C_2132064 flag
1054$(eval $(call assert_boolean,ERRATA_A78C_2132064))
1055$(eval $(call add_define,ERRATA_A78C_2132064))
1056
Bipin Ravi9c36e122022-07-15 17:20:16 -05001057# Process ERRATA_A78C_2242638 flag
1058$(eval $(call assert_boolean,ERRATA_A78C_2242638))
1059$(eval $(call add_define,ERRATA_A78C_2242638))
1060
Akram Ahmadfbc1edb2022-09-06 11:23:25 +01001061# Process ERRATA_A78C_2376749 flag
1062$(eval $(call assert_boolean,ERRATA_A78C_2376749))
1063$(eval $(call add_define,ERRATA_A78C_2376749))
1064
Akram Ahmaddbff7cf2022-07-19 14:38:46 +01001065# Process ERRATA_A78C_2395411 flag
1066$(eval $(call assert_boolean,ERRATA_A78C_2395411))
1067$(eval $(call add_define,ERRATA_A78C_2395411))
1068
Bipin Ravie0b52cc2023-01-18 11:03:21 -06001069# Process ERRATA_A78C_2772121 flag
1070$(eval $(call assert_boolean,ERRATA_A78C_2772121))
1071$(eval $(call add_define,ERRATA_A78C_2772121))
1072
Okash Khawajabaee3902022-04-21 12:20:21 +01001073# Process ERRATA_X1_1821534 flag
1074$(eval $(call assert_boolean,ERRATA_X1_1821534))
1075$(eval $(call add_define,ERRATA_X1_1821534))
1076
1077# Process ERRATA_X1_1688305 flag
1078$(eval $(call assert_boolean,ERRATA_X1_1688305))
1079$(eval $(call add_define,ERRATA_X1_1688305))
1080
1081# Process ERRATA_X1_1827429 flag
1082$(eval $(call assert_boolean,ERRATA_X1_1827429))
1083$(eval $(call add_define,ERRATA_X1_1827429))
1084
John Tsichritzis56369c12019-02-19 13:49:06 +00001085# Process ERRATA_N1_1043202 flag
1086$(eval $(call assert_boolean,ERRATA_N1_1043202))
1087$(eval $(call add_define,ERRATA_N1_1043202))
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +01001088
lauwal01bd555f42019-06-24 11:23:50 -05001089# Process ERRATA_N1_1073348 flag
1090$(eval $(call assert_boolean,ERRATA_N1_1073348))
1091$(eval $(call add_define,ERRATA_N1_1073348))
1092
lauwal01363ee3c2019-06-24 11:28:34 -05001093# Process ERRATA_N1_1130799 flag
1094$(eval $(call assert_boolean,ERRATA_N1_1130799))
1095$(eval $(call add_define,ERRATA_N1_1130799))
1096
lauwal01f2adb132019-06-24 11:32:40 -05001097# Process ERRATA_N1_1165347 flag
1098$(eval $(call assert_boolean,ERRATA_N1_1165347))
1099$(eval $(call add_define,ERRATA_N1_1165347))
1100
lauwal01e1590442019-06-24 11:35:37 -05001101# Process ERRATA_N1_1207823 flag
1102$(eval $(call assert_boolean,ERRATA_N1_1207823))
1103$(eval $(call add_define,ERRATA_N1_1207823))
1104
lauwal01197f14c2019-06-24 11:38:53 -05001105# Process ERRATA_N1_1220197 flag
1106$(eval $(call assert_boolean,ERRATA_N1_1220197))
1107$(eval $(call add_define,ERRATA_N1_1220197))
1108
lauwal0107c2a232019-06-24 11:42:02 -05001109# Process ERRATA_N1_1257314 flag
1110$(eval $(call assert_boolean,ERRATA_N1_1257314))
1111$(eval $(call add_define,ERRATA_N1_1257314))
1112
lauwal0142771af2019-06-24 11:44:58 -05001113# Process ERRATA_N1_1262606 flag
1114$(eval $(call assert_boolean,ERRATA_N1_1262606))
1115$(eval $(call add_define,ERRATA_N1_1262606))
1116
lauwal0100396bf2019-06-24 11:47:30 -05001117# Process ERRATA_N1_1262888 flag
1118$(eval $(call assert_boolean,ERRATA_N1_1262888))
1119$(eval $(call add_define,ERRATA_N1_1262888))
1120
lauwal01644b6ed2019-06-24 11:49:01 -05001121# Process ERRATA_N1_1275112 flag
1122$(eval $(call assert_boolean,ERRATA_N1_1275112))
1123$(eval $(call add_define,ERRATA_N1_1275112))
1124
Andre Przywarab9347402019-05-20 14:57:06 +01001125# Process ERRATA_N1_1315703 flag
1126$(eval $(call assert_boolean,ERRATA_N1_1315703))
1127$(eval $(call add_define,ERRATA_N1_1315703))
1128
laurenw-arm94accd32019-08-20 15:51:24 -05001129# Process ERRATA_N1_1542419 flag
1130$(eval $(call assert_boolean,ERRATA_N1_1542419))
1131$(eval $(call add_define,ERRATA_N1_1542419))
1132
johpow01e2428fd2020-08-05 12:27:12 -05001133# Process ERRATA_N1_1868343 flag
1134$(eval $(call assert_boolean,ERRATA_N1_1868343))
1135$(eval $(call add_define,ERRATA_N1_1868343))
1136
johpow01f1a84f52020-10-07 14:33:15 -05001137# Process ERRATA_N1_1946160 flag
1138$(eval $(call assert_boolean,ERRATA_N1_1946160))
1139$(eval $(call add_define,ERRATA_N1_1946160))
1140
Bipin Ravi9edf2492022-11-02 16:12:01 -05001141# Process ERRATA_N1_2743102 flag
1142$(eval $(call assert_boolean,ERRATA_N1_2743102))
1143$(eval $(call add_define,ERRATA_N1_2743102))
nayanpatel-arm277581e2021-08-06 17:46:10 -07001144
Juan Pablo Conde31c93372022-02-28 14:14:44 -05001145# Process ERRATA_V1_1618635 flag
1146$(eval $(call assert_boolean,ERRATA_V1_1618635))
1147$(eval $(call add_define,ERRATA_V1_1618635))
1148
laurenw-arm3c86d832021-08-02 13:22:32 -05001149# Process ERRATA_V1_1774420 flag
1150$(eval $(call assert_boolean,ERRATA_V1_1774420))
1151$(eval $(call add_define,ERRATA_V1_1774420))
1152
johpow01c73b03c2021-05-03 15:33:39 -05001153# Process ERRATA_V1_1791573 flag
1154$(eval $(call assert_boolean,ERRATA_V1_1791573))
1155$(eval $(call add_define,ERRATA_V1_1791573))
1156
laurenw-armb1923e92021-08-02 14:40:08 -05001157# Process ERRATA_V1_1852267 flag
1158$(eval $(call assert_boolean,ERRATA_V1_1852267))
1159$(eval $(call add_define,ERRATA_V1_1852267))
1160
laurenw-arm6b56f962021-08-02 15:00:15 -05001161# Process ERRATA_V1_1925756 flag
1162$(eval $(call assert_boolean,ERRATA_V1_1925756))
1163$(eval $(call add_define,ERRATA_V1_1925756))
1164
johpow0107acb4f2020-10-07 16:38:37 -05001165# Process ERRATA_V1_1940577 flag
1166$(eval $(call assert_boolean,ERRATA_V1_1940577))
1167$(eval $(call add_define,ERRATA_V1_1940577))
1168
johpow0197db6752021-08-02 18:59:08 -05001169# Process ERRATA_V1_1966096 flag
1170$(eval $(call assert_boolean,ERRATA_V1_1966096))
1171$(eval $(call add_define,ERRATA_V1_1966096))
1172
johpow01ad1ca342021-08-03 14:35:20 -05001173# Process ERRATA_V1_2139242 flag
1174$(eval $(call assert_boolean,ERRATA_V1_2139242))
1175$(eval $(call add_define,ERRATA_V1_2139242))
1176
nayanpatel-armfc26ffe2021-09-28 13:41:03 -07001177# Process ERRATA_V1_2108267 flag
1178$(eval $(call assert_boolean,ERRATA_V1_2108267))
1179$(eval $(call add_define,ERRATA_V1_2108267))
1180
johpow014de29cb2021-09-02 18:29:17 -05001181# Process ERRATA_V1_2216392 flag
1182$(eval $(call assert_boolean,ERRATA_V1_2216392))
1183$(eval $(call add_define,ERRATA_V1_2216392))
1184
Bipin Ravi971938f2022-06-08 16:28:46 -05001185# Process ERRATA_V1_2294912 flag
1186$(eval $(call assert_boolean,ERRATA_V1_2294912))
1187$(eval $(call add_define,ERRATA_V1_2294912))
1188
Bipin Ravib4cb31f2022-06-14 17:09:23 -05001189# Process ERRATA_V1_2372203 flag
1190$(eval $(call assert_boolean,ERRATA_V1_2372203))
1191$(eval $(call add_define,ERRATA_V1_2372203))
1192
Bipin Ravife4b0c42022-12-15 11:57:53 -06001193# Process ERRATA_V1_2743093 flag
1194$(eval $(call assert_boolean,ERRATA_V1_2743093))
1195$(eval $(call add_define,ERRATA_V1_2743093))
1196
nayanpatel-arme55d3252021-08-06 16:39:48 -07001197# Process ERRATA_A710_1987031 flag
1198$(eval $(call assert_boolean,ERRATA_A710_1987031))
1199$(eval $(call add_define,ERRATA_A710_1987031))
1200
nayanpatel-arm7597d082021-08-25 17:35:15 -07001201# Process ERRATA_A710_2081180 flag
1202$(eval $(call assert_boolean,ERRATA_A710_2081180))
1203$(eval $(call add_define,ERRATA_A710_2081180))
1204
nayanpatel-arm0b338b42021-09-16 15:27:53 -07001205# Process ERRATA_A710_2083908 flag
1206$(eval $(call assert_boolean,ERRATA_A710_2083908))
1207$(eval $(call add_define,ERRATA_A710_2083908))
1208
nayanpatel-armf2dce0e2021-09-22 12:35:03 -07001209# Process ERRATA_A710_2058056 flag
1210$(eval $(call assert_boolean,ERRATA_A710_2058056))
1211$(eval $(call add_define,ERRATA_A710_2058056))
1212
johpow01de7b5242022-01-04 16:15:18 -06001213# Process ERRATA_A710_2055002 flag
1214$(eval $(call assert_boolean,ERRATA_A710_2055002))
1215$(eval $(call add_define,ERRATA_A710_2055002))
1216
1217# Process ERRATA_A710_2017096 flag
1218$(eval $(call assert_boolean,ERRATA_A710_2017096))
1219$(eval $(call add_define,ERRATA_A710_2017096))
1220
1221# Process ERRATA_A710_2267065 flag
1222$(eval $(call assert_boolean,ERRATA_A710_2267065))
1223$(eval $(call add_define,ERRATA_A710_2267065))
1224
1225# Process ERRATA_A710_2136059 flag
1226$(eval $(call assert_boolean,ERRATA_A710_2136059))
1227$(eval $(call add_define,ERRATA_A710_2136059))
1228
Akram Ahmad1714c1d2022-07-21 15:25:08 +01001229# Process ERRATA_A710_2147715 flag
1230$(eval $(call assert_boolean,ERRATA_A710_2147715))
1231$(eval $(call add_define,ERRATA_A710_2147715))
1232
Jayanth Dodderi Chidanandde4f5892022-09-01 22:09:54 +01001233# Process ERRATA_A710_2216384 flag
1234$(eval $(call assert_boolean,ERRATA_A710_2216384))
1235$(eval $(call add_define,ERRATA_A710_2216384))
1236
johpow017249fd02022-02-28 18:34:04 -06001237# Process ERRATA_A710_2282622 flag
1238$(eval $(call assert_boolean,ERRATA_A710_2282622))
1239$(eval $(call add_define,ERRATA_A710_2282622))
1240
Boyan Karatotevf8de5352022-10-03 14:21:28 +01001241# Process ERRATA_A710_2291219 flag
1242$(eval $(call assert_boolean,ERRATA_A710_2291219))
1243$(eval $(call add_define,ERRATA_A710_2291219))
1244
johpow017d52a8f2022-03-09 16:23:04 -06001245# Process ERRATA_A710_2008768 flag
1246$(eval $(call assert_boolean,ERRATA_A710_2008768))
1247$(eval $(call add_define,ERRATA_A710_2008768))
1248
Bipin Ravi77eab292022-07-12 15:53:21 -05001249# Process ERRATA_A710_2371105 flag
1250$(eval $(call assert_boolean,ERRATA_A710_2371105))
1251$(eval $(call add_define,ERRATA_A710_2371105))
1252
Bipin Ravief9a1552022-12-07 13:32:35 -06001253# Process ERRATA_A710_2768515 flag
1254$(eval $(call assert_boolean,ERRATA_A710_2768515))
1255$(eval $(call add_define,ERRATA_A710_2768515))
1256
Bipin Ravicc744bf2022-12-07 17:01:26 -06001257# Process ERRATA_N2_2002655 flag
1258$(eval $(call assert_boolean,ERRATA_N2_2002655))
1259$(eval $(call add_define,ERRATA_N2_2002655))
1260
Bipin Ravieb35e852021-03-30 16:08:32 -05001261# Process ERRATA_N2_2067956 flag
1262$(eval $(call assert_boolean,ERRATA_N2_2067956))
1263$(eval $(call add_define,ERRATA_N2_2067956))
1264
Bipin Ravi7f565472021-03-31 10:10:27 -05001265# Process ERRATA_N2_2025414 flag
1266$(eval $(call assert_boolean,ERRATA_N2_2025414))
1267$(eval $(call add_define,ERRATA_N2_2025414))
1268
Bipin Ravi7e030692021-08-30 13:02:51 -05001269# Process ERRATA_N2_2189731 flag
1270$(eval $(call assert_boolean,ERRATA_N2_2189731))
1271$(eval $(call add_define,ERRATA_N2_2189731))
1272
Bipin Ravi0ba631c2021-09-01 01:36:43 -05001273# Process ERRATA_N2_2138956 flag
1274$(eval $(call assert_boolean,ERRATA_N2_2138956))
1275$(eval $(call add_define,ERRATA_N2_2138956))
1276
nayanpatel-armd4c5f9c2021-09-28 09:46:45 -07001277# Process ERRATA_N2_2138953 flag
1278$(eval $(call assert_boolean,ERRATA_N2_2138953))
1279$(eval $(call add_define,ERRATA_N2_2138953))
1280
nayanpatel-arm2f153992021-10-06 15:31:24 -07001281# Process ERRATA_N2_2242415 flag
1282$(eval $(call assert_boolean,ERRATA_N2_2242415))
1283$(eval $(call add_define,ERRATA_N2_2242415))
1284
nayanpatel-arm8e1aa012021-10-20 18:28:58 -07001285# Process ERRATA_N2_2138958 flag
1286$(eval $(call assert_boolean,ERRATA_N2_2138958))
1287$(eval $(call add_define,ERRATA_N2_2138958))
1288
nayanpatel-armfed98132021-10-07 17:59:33 -07001289# Process ERRATA_N2_2242400 flag
1290$(eval $(call assert_boolean,ERRATA_N2_2242400))
1291$(eval $(call add_define,ERRATA_N2_2242400))
1292
nayanpatel-arm45b9f6f2021-10-20 17:30:46 -07001293# Process ERRATA_N2_2280757 flag
1294$(eval $(call assert_boolean,ERRATA_N2_2280757))
1295$(eval $(call add_define,ERRATA_N2_2280757))
1296
Boyan Karatotevd3f8b4d2022-10-03 14:07:08 +01001297# Process ERRATA_N2_2326639 flag
1298$(eval $(call assert_boolean,ERRATA_N2_2326639))
1299$(eval $(call add_define,ERRATA_N2_2326639))
1300
Akram Ahmadb621bda2022-07-18 12:27:29 +01001301# Process ERRATA_N2_2376738 flag
1302$(eval $(call assert_boolean,ERRATA_N2_2376738))
1303$(eval $(call add_define,ERRATA_N2_2376738))
1304
Daniel Boulby1af2b112022-07-06 14:33:13 +01001305# Process ERRATA_N2_2388450 flag
1306$(eval $(call assert_boolean,ERRATA_N2_2388450))
1307$(eval $(call add_define,ERRATA_N2_2388450))
1308
Bipin Ravicc744bf2022-12-07 17:01:26 -06001309# Process ERRATA_N2_2743089 flag
1310$(eval $(call assert_boolean,ERRATA_N2_2743089))
1311$(eval $(call add_define,ERRATA_N2_2743089))
1312
johpow010afef362021-12-02 13:25:50 -06001313# Process ERRATA_X2_2002765 flag
1314$(eval $(call assert_boolean,ERRATA_X2_2002765))
1315$(eval $(call add_define,ERRATA_X2_2002765))
1316
johpow01f6c37de2021-12-03 11:27:33 -06001317# Process ERRATA_X2_2058056 flag
1318$(eval $(call assert_boolean,ERRATA_X2_2058056))
1319$(eval $(call add_define,ERRATA_X2_2058056))
1320
johpow0115f10bd2021-12-01 17:40:39 -06001321# Process ERRATA_X2_2083908 flag
1322$(eval $(call assert_boolean,ERRATA_X2_2083908))
1323$(eval $(call add_define,ERRATA_X2_2083908))
1324
Bipin Ravi2f73d972022-01-20 00:01:04 -06001325# Process ERRATA_X2_2017096 flag
1326$(eval $(call assert_boolean,ERRATA_X2_2017096))
1327$(eval $(call add_define,ERRATA_X2_2017096))
1328
Bipin Ravi9ad54782022-01-20 00:42:05 -06001329# Process ERRATA_X2_2081180 flag
1330$(eval $(call assert_boolean,ERRATA_X2_2081180))
1331$(eval $(call add_define,ERRATA_X2_2081180))
1332
Bipin Ravi78b72082022-02-06 01:29:31 -06001333# Process ERRATA_X2_2216384 flag
1334$(eval $(call assert_boolean,ERRATA_X2_2216384))
1335$(eval $(call add_define,ERRATA_X2_2216384))
1336
Bipin Ravic6b65212022-03-08 10:37:43 -06001337# Process ERRATA_X2_2147715 flag
1338$(eval $(call assert_boolean,ERRATA_X2_2147715))
1339$(eval $(call add_define,ERRATA_X2_2147715))
1340
Bipin Ravi7dccf8f2022-12-22 14:19:59 -06001341# Process ERRATA_X2_2282622 flag
1342$(eval $(call assert_boolean,ERRATA_X2_2282622))
1343$(eval $(call add_define,ERRATA_X2_2282622))
1344
Bipin Ravi4e315c32022-07-12 17:13:01 -05001345# Process ERRATA_X2_2371105 flag
1346$(eval $(call assert_boolean,ERRATA_X2_2371105))
1347$(eval $(call add_define,ERRATA_X2_2371105))
1348
Bipin Ravi86839eb2022-12-07 13:54:02 -06001349# Process ERRATA_X2_2768515 flag
1350$(eval $(call assert_boolean,ERRATA_X2_2768515))
1351$(eval $(call add_define,ERRATA_X2_2768515))
1352
Boyan Karatotev6559dbd2022-10-03 14:18:28 +01001353# Process ERRATA_X3_2313909 flag
1354$(eval $(call assert_boolean,ERRATA_X3_2313909))
1355$(eval $(call add_define,ERRATA_X3_2313909))
1356
Harrison Mutai82dd5ac2022-11-11 14:09:55 +00001357# Process ERRATA_X3_2615812 flag
1358$(eval $(call assert_boolean,ERRATA_X3_2615812))
1359$(eval $(call add_define,ERRATA_X3_2615812))
1360
johpow01de7b5242022-01-04 16:15:18 -06001361# Process ERRATA_A510_1922240 flag
1362$(eval $(call assert_boolean,ERRATA_A510_1922240))
1363$(eval $(call add_define,ERRATA_A510_1922240))
1364
johpow0149f60dd2022-01-06 14:54:49 -06001365# Process ERRATA_A510_2288014 flag
1366$(eval $(call assert_boolean,ERRATA_A510_2288014))
1367$(eval $(call add_define,ERRATA_A510_2288014))
1368
johpow018276f252022-01-07 17:12:31 -06001369# Process ERRATA_A510_2042739 flag
1370$(eval $(call assert_boolean,ERRATA_A510_2042739))
1371$(eval $(call add_define,ERRATA_A510_2042739))
1372
johpow015a993002022-01-11 17:54:41 -06001373# Process ERRATA_A510_2041909 flag
1374$(eval $(call assert_boolean,ERRATA_A510_2041909))
1375$(eval $(call add_define,ERRATA_A510_2041909))
1376
johpow013ba9cb22022-02-13 21:00:10 -06001377# Process ERRATA_A510_2250311 flag
1378$(eval $(call assert_boolean,ERRATA_A510_2250311))
1379$(eval $(call add_define,ERRATA_A510_2250311))
1380
johpow013ead2952022-02-14 20:19:08 -06001381# Process ERRATA_A510_2218950 flag
1382$(eval $(call assert_boolean,ERRATA_A510_2218950))
1383$(eval $(call add_define,ERRATA_A510_2218950))
1384
johpow01ac55c012022-02-15 22:55:22 -06001385# Process ERRATA_A510_2172148 flag
1386$(eval $(call assert_boolean,ERRATA_A510_2172148))
1387$(eval $(call add_define,ERRATA_A510_2172148))
1388
Akram Ahmada85254e2022-07-21 14:01:33 +01001389# Process ERRATA_A510_2347730 flag
1390$(eval $(call assert_boolean,ERRATA_A510_2347730))
1391$(eval $(call add_define,ERRATA_A510_2347730))
1392
Akram Ahmad60accba2022-07-22 16:20:44 +01001393# Process ERRATA_A510_2371937 flag
1394$(eval $(call assert_boolean,ERRATA_A510_2371937))
1395$(eval $(call add_define,ERRATA_A510_2371937))
1396
Akram Ahmad89034d62022-09-21 13:59:56 +01001397# Process ERRATA_A510_2666669 flag
1398$(eval $(call assert_boolean,ERRATA_A510_2666669))
1399$(eval $(call add_define,ERRATA_A510_2666669))
1400
1401#Process ERRATA_DSU_798953 flag
Louis Mayencourt4498b152019-04-09 16:29:01 +01001402$(eval $(call assert_boolean,ERRATA_DSU_798953))
1403$(eval $(call add_define,ERRATA_DSU_798953))
1404
John Tsichritzis4daa1de2018-07-23 09:11:59 +01001405# Process ERRATA_DSU_936184 flag
1406$(eval $(call assert_boolean,ERRATA_DSU_936184))
1407$(eval $(call add_define,ERRATA_DSU_936184))
1408
Bipin Raviaf40d692021-12-22 14:35:21 -06001409# Process ERRATA_DSU_2313941 flag
1410$(eval $(call assert_boolean,ERRATA_DSU_2313941))
1411$(eval $(call add_define,ERRATA_DSU_2313941))
1412
Douglas Raillardd56fb042017-06-19 15:38:02 +01001413# Errata build flags
1414ifneq (${ERRATA_A53_843419},0)
Douglas Raillardd0c82732017-06-22 14:44:48 +01001415TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419
Douglas Raillardd56fb042017-06-19 15:38:02 +01001416endif
1417
1418ifneq (${ERRATA_A53_835769},0)
1419TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769
Douglas Raillardd0c82732017-06-22 14:44:48 +01001420TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769
Douglas Raillardd56fb042017-06-19 15:38:02 +01001421endif
Manish V Badarkhe7672edf2020-08-03 18:43:14 +01001422
1423ifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \
1424 ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1425ERRATA_SPECULATIVE_AT := 1
1426else
1427ERRATA_SPECULATIVE_AT := 0
1428endif