blob: f19c16e49fd61be2a63355b07011610e910e2ca1 [file] [log] [blame]
Soby Mathew802f8652014-08-14 16:19:29 +01001#
Bipin Raviaf40d692021-12-22 14:35:21 -06002# Copyright (c) 2014-2022, 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
johpow0145c17242021-09-02 17:53:30 -0500360# Flag to apply erratum 1941500 workaround during reset. This erratum applies
361# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
362ERRATA_A78_AE_1941500 ?=0
363
364# Flag to apply erratum 1951502 workaround during reset. This erratum applies
365# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
366ERRATA_A78_AE_1951502 ?=0
nayanpatel-arm39e08652021-09-28 17:31:50 -0700367
Varun Wadekar9030a6c2022-03-09 22:04:00 +0000368# Flag to apply erratum 2376748 workaround during reset. This erratum applies
369# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
370ERRATA_A78_AE_2376748 ?=0
371
Varun Wadekarac6bf2e2022-03-09 22:20:32 +0000372# Flag to apply erratum 2395408 workaround during reset. This erratum applies
373# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
374ERRATA_A78_AE_2395408 ?=0
375
laurenw-arm4dc18872022-07-12 10:43:52 -0500376# Flag to apply erratum 2132064 workaround during reset. This erratum applies
377# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
378ERRATA_A78C_2132064 ?=0
379
Bipin Ravi9c36e122022-07-15 17:20:16 -0500380# Flag to apply erratum 2242638 workaround during reset. This erratum applies
381# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
382ERRATA_A78C_2242638 ?=0
383
Akram Ahmadfbc1edb2022-09-06 11:23:25 +0100384# Flag to apply erratum 2376749 workaround during reset. This erratum applies
385# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
386ERRATA_A78C_2376749 ?=0
387
Akram Ahmaddbff7cf2022-07-19 14:38:46 +0100388# Flag to apply erratum 2395411 workaround during reset. This erratum applies
389# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
390ERRATA_A78C_2395411 ?=0
391
Okash Khawajabaee3902022-04-21 12:20:21 +0100392# Flag to apply erratum 1821534 workaround during reset. This erratum applies
393# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
394ERRATA_X1_1821534 ?=0
395
396# Flag to apply erratum 1688305 workaround during reset. This erratum applies
397# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
398ERRATA_X1_1688305 ?=0
399
400# Flag to apply erratum 1827429 workaround during reset. This erratum applies
401# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
402ERRATA_X1_1827429 ?=0
403
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +0100404# Flag to apply T32 CLREX workaround during reset. This erratum applies
John Tsichritzis56369c12019-02-19 13:49:06 +0000405# only to r0p0 and r1p0 of the Neoverse N1 cpu.
laurenw-armc0763b62020-01-22 13:30:39 -0600406ERRATA_N1_1043202 ?=0
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +0100407
lauwal01bd555f42019-06-24 11:23:50 -0500408# Flag to apply erratum 1073348 workaround during reset. This erratum applies
409# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
410ERRATA_N1_1073348 ?=0
411
lauwal01363ee3c2019-06-24 11:28:34 -0500412# Flag to apply erratum 1130799 workaround during reset. This erratum applies
413# only to revision <= r2p0 of the Neoverse N1 cpu.
414ERRATA_N1_1130799 ?=0
415
lauwal01f2adb132019-06-24 11:32:40 -0500416# Flag to apply erratum 1165347 workaround during reset. This erratum applies
417# only to revision <= r2p0 of the Neoverse N1 cpu.
418ERRATA_N1_1165347 ?=0
419
lauwal01e1590442019-06-24 11:35:37 -0500420# Flag to apply erratum 1207823 workaround during reset. This erratum applies
421# only to revision <= r2p0 of the Neoverse N1 cpu.
422ERRATA_N1_1207823 ?=0
423
lauwal01197f14c2019-06-24 11:38:53 -0500424# Flag to apply erratum 1220197 workaround during reset. This erratum applies
425# only to revision <= r2p0 of the Neoverse N1 cpu.
426ERRATA_N1_1220197 ?=0
427
lauwal0107c2a232019-06-24 11:42:02 -0500428# Flag to apply erratum 1257314 workaround during reset. This erratum applies
429# only to revision <= r3p0 of the Neoverse N1 cpu.
430ERRATA_N1_1257314 ?=0
431
lauwal0142771af2019-06-24 11:44:58 -0500432# Flag to apply erratum 1262606 workaround during reset. This erratum applies
433# only to revision <= r3p0 of the Neoverse N1 cpu.
434ERRATA_N1_1262606 ?=0
435
lauwal0100396bf2019-06-24 11:47:30 -0500436# Flag to apply erratum 1262888 workaround during reset. This erratum applies
437# only to revision <= r3p0 of the Neoverse N1 cpu.
438ERRATA_N1_1262888 ?=0
439
lauwal01644b6ed2019-06-24 11:49:01 -0500440# Flag to apply erratum 1275112 workaround during reset. This erratum applies
441# only to revision <= r3p0 of the Neoverse N1 cpu.
442ERRATA_N1_1275112 ?=0
443
Andre Przywarab9347402019-05-20 14:57:06 +0100444# Flag to apply erratum 1315703 workaround during reset. This erratum applies
445# to revisions before r3p1 of the Neoverse N1 cpu.
laurenw-armc0763b62020-01-22 13:30:39 -0600446ERRATA_N1_1315703 ?=0
Andre Przywarab9347402019-05-20 14:57:06 +0100447
laurenw-arm94accd32019-08-20 15:51:24 -0500448# Flag to apply erratum 1542419 workaround during reset. This erratum applies
449# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
450ERRATA_N1_1542419 ?=0
451
johpow01e2428fd2020-08-05 12:27:12 -0500452# Flag to apply erratum 1868343 workaround during reset. This erratum applies
453# to revision <= r4p0 of the Neoverse N1 cpu.
454ERRATA_N1_1868343 ?=0
455
johpow01f1a84f52020-10-07 14:33:15 -0500456# Flag to apply erratum 1946160 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600457# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
johpow01f1a84f52020-10-07 14:33:15 -0500458# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
459ERRATA_N1_1946160 ?=0
460
Bipin Ravi9edf2492022-11-02 16:12:01 -0500461# Flag to apply erratum 2743102 workaround during powerdown. This erratum
462# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
463ERRATA_N1_2743102 ?=0
464
nayanpatel-arm277581e2021-08-06 17:46:10 -0700465# Flag to apply erratum 2002655 workaround during reset. This erratum applies
466# to revisions r0p0 of the Neoverse-N2 cpu, it is still open.
467ERRATA_N2_2002655 ?=0
468
Juan Pablo Conde31c93372022-02-28 14:14:44 -0500469# Flag to apply erratum 1618635 workaround during reset. This erratum applies
470# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
471ERRATA_V1_1618635 ?=0
472
johpow01de7b5242022-01-04 16:15:18 -0600473# Flag to apply erratum 1774420 workaround during reset. This erratum applies
laurenw-arm3c86d832021-08-02 13:22:32 -0500474# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
475ERRATA_V1_1774420 ?=0
476
johpow01de7b5242022-01-04 16:15:18 -0600477# Flag to apply erratum 1791573 workaround during reset. This erratum applies
johpow01c73b03c2021-05-03 15:33:39 -0500478# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
479ERRATA_V1_1791573 ?=0
480
johpow01de7b5242022-01-04 16:15:18 -0600481# Flag to apply erratum 1852267 workaround during reset. This erratum applies
laurenw-armb1923e92021-08-02 14:40:08 -0500482# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
483ERRATA_V1_1852267 ?=0
484
johpow01de7b5242022-01-04 16:15:18 -0600485# Flag to apply erratum 1925756 workaround during reset. This needs to be
laurenw-arm6b56f962021-08-02 15:00:15 -0500486# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
487ERRATA_V1_1925756 ?=0
488
johpow0107acb4f2020-10-07 16:38:37 -0500489# Flag to apply erratum 1940577 workaround during reset. This erratum applies
490# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
491ERRATA_V1_1940577 ?=0
492
johpow0197db6752021-08-02 18:59:08 -0500493# Flag to apply erratum 1966096 workaround during reset. This erratum applies
johpow01de7b5242022-01-04 16:15:18 -0600494# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
johpow0197db6752021-08-02 18:59:08 -0500495# exists in r0p0 as well but there is no workaround for that revision.
nayanpatel-armfc26ffe2021-09-28 13:41:03 -0700496ERRATA_V1_1966096 ?=0
johpow0197db6752021-08-02 18:59:08 -0500497
johpow01ad1ca342021-08-03 14:35:20 -0500498# Flag to apply erratum 2139242 workaround during reset. This erratum applies
499# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
nayanpatel-armfc26ffe2021-09-28 13:41:03 -0700500ERRATA_V1_2139242 ?=0
501
502# Flag to apply erratum 2108267 workaround during reset. This erratum applies
503# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
504ERRATA_V1_2108267 ?=0
johpow01ad1ca342021-08-03 14:35:20 -0500505
johpow014de29cb2021-09-02 18:29:17 -0500506# Flag to apply erratum 2216392 workaround during reset. This erratum applies
507# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
508# issue exists in r0p0 as well but there is no workaround for that revision.
509ERRATA_V1_2216392 ?=0
510
Bipin Ravi971938f2022-06-08 16:28:46 -0500511# Flag to apply erratum 2294912 workaround during reset. This erratum applies
512# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
513ERRATA_V1_2294912 ?=0
514
Bipin Ravib4cb31f2022-06-14 17:09:23 -0500515# Flag to apply erratum 2372203 workaround during reset. This erratum applies
516# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
517ERRATA_V1_2372203 ?=0
518
nayanpatel-arme55d3252021-08-06 16:39:48 -0700519# Flag to apply erratum 1987031 workaround during reset. This erratum applies
520# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
521ERRATA_A710_1987031 ?=0
522
nayanpatel-arm7597d082021-08-25 17:35:15 -0700523# Flag to apply erratum 2081180 workaround during reset. This erratum applies
524# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
525ERRATA_A710_2081180 ?=0
526
nayanpatel-arm0b338b42021-09-16 15:27:53 -0700527# Flag to apply erratum 2083908 workaround during reset. This erratum applies
528# to revision r2p0 of the Cortex-A710 cpu and is still open.
529ERRATA_A710_2083908 ?=0
530
nayanpatel-armf2dce0e2021-09-22 12:35:03 -0700531# Flag to apply erratum 2058056 workaround during reset. This erratum applies
532# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
533ERRATA_A710_2058056 ?=0
534
johpow01de7b5242022-01-04 16:15:18 -0600535# Flag to apply erratum 2055002 workaround during reset. This erratum applies
536# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
537ERRATA_A710_2055002 ?=0
538
539# Flag to apply erratum 2017096 workaround during reset. This erratum applies
540# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
541ERRATA_A710_2017096 ?=0
542
543# Flag to apply erratum 2267065 workaround during reset. This erratum applies
544# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
545ERRATA_A710_2267065 ?=0
546
547# Flag to apply erratum 2136059 workaround during reset. This erratum applies
548# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
549ERRATA_A710_2136059 ?=0
550
Akram Ahmad1714c1d2022-07-21 15:25:08 +0100551# Flag to apply erratum 2147715 workaround during reset. This erratum applies
552# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
553ERRATA_A710_2147715 ?=0
554
Jayanth Dodderi Chidanandde4f5892022-09-01 22:09:54 +0100555# Flag to apply erratum 2216384 workaround during reset. This erratum applies
556# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
557ERRATA_A710_2216384 ?=0
558
johpow017249fd02022-02-28 18:34:04 -0600559# Flag to apply erratum 2282622 workaround during reset. This erratum applies
560# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
561ERRATA_A710_2282622 ?=0
562
Boyan Karatotevf8de5352022-10-03 14:21:28 +0100563# Flag to apply erratum 2291219 workaround during reset. This erratum applies
564# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
565ERRATA_A710_2291219 ?=0
566
johpow017d52a8f2022-03-09 16:23:04 -0600567# Flag to apply erratum 2008768 workaround during reset. This erratum applies
568# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
569ERRATA_A710_2008768 ?=0
570
Bipin Ravi77eab292022-07-12 15:53:21 -0500571# Flag to apply erratum 2371105 workaround during reset. This erratum applies
572# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
573ERRATA_A710_2371105 ?=0
574
Bipin Ravieb35e852021-03-30 16:08:32 -0500575# Flag to apply erratum 2067956 workaround during reset. This erratum applies
576# to revision r0p0 of the Neoverse N2 cpu and is still open.
577ERRATA_N2_2067956 ?=0
578
Bipin Ravi7f565472021-03-31 10:10:27 -0500579# Flag to apply erratum 2025414 workaround during reset. This erratum applies
580# to revision r0p0 of the Neoverse N2 cpu and is still open.
581ERRATA_N2_2025414 ?=0
582
Bipin Ravi7e030692021-08-30 13:02:51 -0500583# Flag to apply erratum 2189731 workaround during reset. This erratum applies
584# to revision r0p0 of the Neoverse N2 cpu and is still open.
585ERRATA_N2_2189731 ?=0
586
Bipin Ravi0ba631c2021-09-01 01:36:43 -0500587# Flag to apply erratum 2138956 workaround during reset. This erratum applies
588# to revision r0p0 of the Neoverse N2 cpu and is still open.
589ERRATA_N2_2138956 ?=0
590
nayanpatel-armd4c5f9c2021-09-28 09:46:45 -0700591# Flag to apply erratum 2138953 workaround during reset. This erratum applies
592# to revision r0p0 of the Neoverse N2 cpu and is still open.
593ERRATA_N2_2138953 ?=0
594
nayanpatel-arm2f153992021-10-06 15:31:24 -0700595# Flag to apply erratum 2242415 workaround during reset. This erratum applies
596# to revision r0p0 of the Neoverse N2 cpu and is still open.
597ERRATA_N2_2242415 ?=0
598
nayanpatel-arm8e1aa012021-10-20 18:28:58 -0700599# Flag to apply erratum 2138958 workaround during reset. This erratum applies
600# to revision r0p0 of the Neoverse N2 cpu and is still open.
601ERRATA_N2_2138958 ?=0
602
nayanpatel-armfed98132021-10-07 17:59:33 -0700603# Flag to apply erratum 2242400 workaround during reset. This erratum applies
604# to revision r0p0 of the Neoverse N2 cpu and is still open.
605ERRATA_N2_2242400 ?=0
606
nayanpatel-arm45b9f6f2021-10-20 17:30:46 -0700607# Flag to apply erratum 2280757 workaround during reset. This erratum applies
608# to revision r0p0 of the Neoverse N2 cpu and is still open.
609ERRATA_N2_2280757 ?=0
610
Boyan Karatotevd3f8b4d2022-10-03 14:07:08 +0100611# Flag to apply erraturm 2326639 workaroud during powerdown. This erratum
612# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
613ERRATA_N2_2326639 ?=0
614
Akram Ahmadb621bda2022-07-18 12:27:29 +0100615# Flag to apply erratum 2376738 workaround during reset. This erratum applies
616# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
617ERRATA_N2_2376738 ?=0
618
Daniel Boulby1af2b112022-07-06 14:33:13 +0100619# Flag to apply erratum 2388450 workaround during reset. This erratum applies
620# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
621ERRATA_N2_2388450 ?=0
622
johpow010afef362021-12-02 13:25:50 -0600623# Flag to apply erratum 2002765 workaround during reset. This erratum applies
624# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravi2f73d972022-01-20 00:01:04 -0600625ERRATA_X2_2002765 ?=0
johpow010afef362021-12-02 13:25:50 -0600626
johpow01f6c37de2021-12-03 11:27:33 -0600627# Flag to apply erratum 2058056 workaround during reset. This erratum applies
628# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravi2f73d972022-01-20 00:01:04 -0600629ERRATA_X2_2058056 ?=0
johpow01f6c37de2021-12-03 11:27:33 -0600630
johpow0115f10bd2021-12-01 17:40:39 -0600631# Flag to apply erratum 2083908 workaround during reset. This erratum applies
632# to revision r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravi2f73d972022-01-20 00:01:04 -0600633ERRATA_X2_2083908 ?=0
634
635# Flag to apply erratum 2017096 workaround during reset. This erratum applies
636# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
637# r2p1.
638ERRATA_X2_2017096 ?=0
johpow0115f10bd2021-12-01 17:40:39 -0600639
Bipin Ravi9ad54782022-01-20 00:42:05 -0600640# Flag to apply erratum 2081180 workaround during reset. This erratum applies
641# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
642# r2p1.
643ERRATA_X2_2081180 ?=0
644
Bipin Ravi78b72082022-02-06 01:29:31 -0600645# Flag to apply erratum 2216384 workaround during reset. This erratum applies
646# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
647# r2p1.
648ERRATA_X2_2216384 ?=0
649
Bipin Ravic6b65212022-03-08 10:37:43 -0600650# Flag to apply erratum 2147715 workaround during reset. This erratum applies
651# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
652ERRATA_X2_2147715 ?=0
653
Bipin Ravi4e315c32022-07-12 17:13:01 -0500654# Flag to apply erratum 2371105 workaround during reset. This erratum applies
655# to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1.
656ERRATA_X2_2371105 ?=0
657
Boyan Karatotev6559dbd2022-10-03 14:18:28 +0100658# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
659# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
660ERRATA_X3_2313909 ?=0
661
johpow01de7b5242022-01-04 16:15:18 -0600662# Flag to apply erratum 1922240 workaround during reset. This erratum applies
663# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
664ERRATA_A510_1922240 ?=0
665
johpow0149f60dd2022-01-06 14:54:49 -0600666# Flag to apply erratum 2288014 workaround during reset. This erratum applies
667# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
668# fixed in r1p1.
669ERRATA_A510_2288014 ?=0
670
johpow018276f252022-01-07 17:12:31 -0600671# Flag to apply erratum 2042739 workaround during reset. This erratum applies
672# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
673ERRATA_A510_2042739 ?=0
674
johpow015a993002022-01-11 17:54:41 -0600675# Flag to apply erratum 2041909 workaround during reset. This erratum applies
676# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
677# present in r0p0 and r0p1 but there is no workaround for those revisions.
678ERRATA_A510_2041909 ?=0
679
johpow013ba9cb22022-02-13 21:00:10 -0600680# Flag to apply erratum 2250311 workaround during reset. This erratum applies
681# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
682ERRATA_A510_2250311 ?=0
683
johpow013ead2952022-02-14 20:19:08 -0600684# Flag to apply erratum 2218950 workaround during reset. This erratum applies
685# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
686ERRATA_A510_2218950 ?=0
687
johpow01ac55c012022-02-15 22:55:22 -0600688# Flag to apply erratum 2172148 workaround during reset. This erratum applies
689# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
690ERRATA_A510_2172148 ?=0
691
Akram Ahmada85254e2022-07-21 14:01:33 +0100692# Flag to apply erratum 2347730 workaround during reset. This erratum applies
693# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
694# and is fixed in r1p2.
695ERRATA_A510_2347730 ?=0
696
Akram Ahmad60accba2022-07-22 16:20:44 +0100697# Flag to apply erratum 2371937 workaround during reset. This erratum applies
698# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
699ERRATA_A510_2371937 ?=0
700
Akram Ahmad89034d62022-09-21 13:59:56 +0100701# Flag to apply erratum 2666669 workaround during reset. This erratum applies
702# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
703ERRATA_A510_2666669 ?=0
704
Louis Mayencourt4498b152019-04-09 16:29:01 +0100705# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
706# Applying the workaround results in higher DSU power consumption on idle.
707ERRATA_DSU_798953 ?=0
708
John Tsichritzis4daa1de2018-07-23 09:11:59 +0100709# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
710# the ACP interface and revision < r2p0. Applying the workaround results in
711# higher DSU power consumption on idle.
712ERRATA_DSU_936184 ?=0
713
Bipin Raviaf40d692021-12-22 14:35:21 -0600714# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
715# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
716# results in higher DSU power consumption on idle.
717ERRATA_DSU_2313941 ?=0
718
Joel Hutton26d16762019-04-10 12:52:52 +0100719# Process ERRATA_A9_794073 flag
720$(eval $(call assert_boolean,ERRATA_A9_794073))
721$(eval $(call add_define,ERRATA_A9_794073))
722
Ambroise Vincentd4a51eb2019-03-04 16:56:26 +0000723# Process ERRATA_A15_816470 flag
724$(eval $(call assert_boolean,ERRATA_A15_816470))
725$(eval $(call add_define,ERRATA_A15_816470))
726
Ambroise Vincent68b38122019-03-05 09:54:21 +0000727# Process ERRATA_A15_827671 flag
728$(eval $(call assert_boolean,ERRATA_A15_827671))
729$(eval $(call add_define,ERRATA_A15_827671))
730
Ambroise Vincent8cf9eef2019-02-28 16:23:53 +0000731# Process ERRATA_A17_852421 flag
732$(eval $(call assert_boolean,ERRATA_A17_852421))
733$(eval $(call add_define,ERRATA_A17_852421))
734
Ambroise Vincentfa5c9512019-03-04 13:20:56 +0000735# Process ERRATA_A17_852423 flag
736$(eval $(call assert_boolean,ERRATA_A17_852423))
737$(eval $(call add_define,ERRATA_A17_852423))
738
Louis Mayencourt8a061272019-04-05 16:25:25 +0100739# Process ERRATA_A35_855472 flag
740$(eval $(call assert_boolean,ERRATA_A35_855472))
741$(eval $(call add_define,ERRATA_A35_855472))
742
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +0000743# Process ERRATA_A53_819472 flag
744$(eval $(call assert_boolean,ERRATA_A53_819472))
745$(eval $(call add_define,ERRATA_A53_819472))
746
747# Process ERRATA_A53_824069 flag
748$(eval $(call assert_boolean,ERRATA_A53_824069))
749$(eval $(call add_define,ERRATA_A53_824069))
750
developer4fceaca2015-07-29 20:55:31 +0800751# Process ERRATA_A53_826319 flag
752$(eval $(call assert_boolean,ERRATA_A53_826319))
753$(eval $(call add_define,ERRATA_A53_826319))
754
Ambroise Vincentf5fdfbc2019-02-21 14:16:24 +0000755# Process ERRATA_A53_827319 flag
756$(eval $(call assert_boolean,ERRATA_A53_827319))
757$(eval $(call add_define,ERRATA_A53_827319))
758
Douglas Raillardd56fb042017-06-19 15:38:02 +0100759# Process ERRATA_A53_835769 flag
760$(eval $(call assert_boolean,ERRATA_A53_835769))
761$(eval $(call add_define,ERRATA_A53_835769))
762
developer4fceaca2015-07-29 20:55:31 +0800763# Process ERRATA_A53_836870 flag
764$(eval $(call assert_boolean,ERRATA_A53_836870))
765$(eval $(call add_define,ERRATA_A53_836870))
766
Douglas Raillardd56fb042017-06-19 15:38:02 +0100767# Process ERRATA_A53_843419 flag
768$(eval $(call assert_boolean,ERRATA_A53_843419))
769$(eval $(call add_define,ERRATA_A53_843419))
770
Andre Przywara00eefd92016-10-06 16:54:53 +0100771# Process ERRATA_A53_855873 flag
772$(eval $(call assert_boolean,ERRATA_A53_855873))
773$(eval $(call add_define,ERRATA_A53_855873))
774
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100775# Process ERRATA_A53_1530924 flag
776$(eval $(call assert_boolean,ERRATA_A53_1530924))
777$(eval $(call add_define,ERRATA_A53_1530924))
778
Ambroise Vincent7927fa02019-02-21 16:20:43 +0000779# Process ERRATA_A55_768277 flag
780$(eval $(call assert_boolean,ERRATA_A55_768277))
781$(eval $(call add_define,ERRATA_A55_768277))
782
Ambroise Vincent6f319602019-02-21 16:25:37 +0000783# Process ERRATA_A55_778703 flag
784$(eval $(call assert_boolean,ERRATA_A55_778703))
785$(eval $(call add_define,ERRATA_A55_778703))
786
Ambroise Vincent6a77f052019-02-21 16:27:34 +0000787# Process ERRATA_A55_798797 flag
788$(eval $(call assert_boolean,ERRATA_A55_798797))
789$(eval $(call add_define,ERRATA_A55_798797))
790
Ambroise Vincentdd961f72019-02-21 16:29:16 +0000791# Process ERRATA_A55_846532 flag
792$(eval $(call assert_boolean,ERRATA_A55_846532))
793$(eval $(call add_define,ERRATA_A55_846532))
794
Ambroise Vincenta1d64462019-02-21 16:29:50 +0000795# Process ERRATA_A55_903758 flag
796$(eval $(call assert_boolean,ERRATA_A55_903758))
797$(eval $(call add_define,ERRATA_A55_903758))
798
Ambroise Vincentb72fe7a2019-05-28 09:52:48 +0100799# Process ERRATA_A55_1221012 flag
800$(eval $(call assert_boolean,ERRATA_A55_1221012))
801$(eval $(call add_define,ERRATA_A55_1221012))
802
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100803# Process ERRATA_A55_1530923 flag
804$(eval $(call assert_boolean,ERRATA_A55_1530923))
805$(eval $(call add_define,ERRATA_A55_1530923))
806
Soby Mathew802f8652014-08-14 16:19:29 +0100807# Process ERRATA_A57_806969 flag
808$(eval $(call assert_boolean,ERRATA_A57_806969))
809$(eval $(call add_define,ERRATA_A57_806969))
810
Antonio Nino Diaz3f13c352017-02-24 11:39:22 +0000811# Process ERRATA_A57_813419 flag
812$(eval $(call assert_boolean,ERRATA_A57_813419))
813$(eval $(call add_define,ERRATA_A57_813419))
814
Soby Mathew802f8652014-08-14 16:19:29 +0100815# Process ERRATA_A57_813420 flag
816$(eval $(call assert_boolean,ERRATA_A57_813420))
817$(eval $(call add_define,ERRATA_A57_813420))
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100818
Ambroise Vincent1b0db762019-02-21 16:35:07 +0000819# Process ERRATA_A57_814670 flag
820$(eval $(call assert_boolean,ERRATA_A57_814670))
821$(eval $(call add_define,ERRATA_A57_814670))
822
Ambroise Vincentaa2c0292019-02-21 16:35:49 +0000823# Process ERRATA_A57_817169 flag
824$(eval $(call assert_boolean,ERRATA_A57_817169))
825$(eval $(call add_define,ERRATA_A57_817169))
826
Sandrine Bailleuxa7e0c532016-04-14 13:32:31 +0100827# Process ERRATA_A57_826974 flag
828$(eval $(call assert_boolean,ERRATA_A57_826974))
829$(eval $(call add_define,ERRATA_A57_826974))
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100830
Sandrine Bailleuxadcbd552016-04-14 14:24:13 +0100831# Process ERRATA_A57_826977 flag
832$(eval $(call assert_boolean,ERRATA_A57_826977))
833$(eval $(call add_define,ERRATA_A57_826977))
834
Sandrine Bailleuxc11116f2016-04-14 14:04:48 +0100835# Process ERRATA_A57_828024 flag
836$(eval $(call assert_boolean,ERRATA_A57_828024))
837$(eval $(call add_define,ERRATA_A57_828024))
Sandrine Bailleux48cbe852016-04-14 14:18:07 +0100838
839# Process ERRATA_A57_829520 flag
840$(eval $(call assert_boolean,ERRATA_A57_829520))
841$(eval $(call add_define,ERRATA_A57_829520))
Sandrine Bailleux143ef1a2016-04-21 11:10:52 +0100842
843# Process ERRATA_A57_833471 flag
844$(eval $(call assert_boolean,ERRATA_A57_833471))
845$(eval $(call add_define,ERRATA_A57_833471))
Douglas Raillardd56fb042017-06-19 15:38:02 +0100846
Eleanor Bonnici0c9bd272017-08-02 16:35:04 +0100847# Process ERRATA_A57_859972 flag
848$(eval $(call assert_boolean,ERRATA_A57_859972))
849$(eval $(call add_define,ERRATA_A57_859972))
850
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100851# Process ERRATA_A57_1319537 flag
852$(eval $(call assert_boolean,ERRATA_A57_1319537))
853$(eval $(call add_define,ERRATA_A57_1319537))
854
Eleanor Bonnicic3b4ca12017-08-02 18:33:41 +0100855# Process ERRATA_A72_859971 flag
856$(eval $(call assert_boolean,ERRATA_A72_859971))
857$(eval $(call add_define,ERRATA_A72_859971))
858
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100859# Process ERRATA_A72_1319367 flag
860$(eval $(call assert_boolean,ERRATA_A72_1319367))
861$(eval $(call add_define,ERRATA_A72_1319367))
862
Louis Mayencourtd69722c2019-02-27 14:24:16 +0000863# Process ERRATA_A73_852427 flag
864$(eval $(call assert_boolean,ERRATA_A73_852427))
865$(eval $(call add_define,ERRATA_A73_852427))
866
Louis Mayencourt4405de62019-02-21 16:38:16 +0000867# Process ERRATA_A73_855423 flag
868$(eval $(call assert_boolean,ERRATA_A73_855423))
869$(eval $(call add_define,ERRATA_A73_855423))
870
Louis Mayencourt78a0aed2019-02-20 12:11:41 +0000871# Process ERRATA_A75_764081 flag
872$(eval $(call assert_boolean,ERRATA_A75_764081))
873$(eval $(call add_define,ERRATA_A75_764081))
874
Louis Mayencourt8d868702019-02-25 14:57:57 +0000875# Process ERRATA_A75_790748 flag
876$(eval $(call assert_boolean,ERRATA_A75_790748))
877$(eval $(call add_define,ERRATA_A75_790748))
878
Louis Mayencourt59fa2182019-02-25 15:17:44 +0000879# Process ERRATA_A76_1073348 flag
880$(eval $(call assert_boolean,ERRATA_A76_1073348))
881$(eval $(call add_define,ERRATA_A76_1073348))
882
Louis Mayencourt09924472019-02-21 17:35:07 +0000883# Process ERRATA_A76_1130799 flag
884$(eval $(call assert_boolean,ERRATA_A76_1130799))
885$(eval $(call add_define,ERRATA_A76_1130799))
886
Louis Mayencourtadda9d42019-02-25 11:37:38 +0000887# Process ERRATA_A76_1220197 flag
888$(eval $(call assert_boolean,ERRATA_A76_1220197))
889$(eval $(call add_define,ERRATA_A76_1220197))
890
Soby Mathew1d3ba1c2019-05-01 09:43:18 +0100891# Process ERRATA_A76_1257314 flag
892$(eval $(call assert_boolean,ERRATA_A76_1257314))
893$(eval $(call add_define,ERRATA_A76_1257314))
894
895# Process ERRATA_A76_1262606 flag
896$(eval $(call assert_boolean,ERRATA_A76_1262606))
897$(eval $(call add_define,ERRATA_A76_1262606))
898
899# Process ERRATA_A76_1262888 flag
900$(eval $(call assert_boolean,ERRATA_A76_1262888))
901$(eval $(call add_define,ERRATA_A76_1262888))
902
903# Process ERRATA_A76_1275112 flag
904$(eval $(call assert_boolean,ERRATA_A76_1275112))
905$(eval $(call add_define,ERRATA_A76_1275112))
906
Soby Mathew16d006b2019-05-03 13:17:56 +0100907# Process ERRATA_A76_1286807 flag
908$(eval $(call assert_boolean,ERRATA_A76_1286807))
909$(eval $(call add_define,ERRATA_A76_1286807))
910
johpow019603f982020-05-29 14:17:38 -0500911# Process ERRATA_A76_1791580 flag
912$(eval $(call assert_boolean,ERRATA_A76_1791580))
913$(eval $(call add_define,ERRATA_A76_1791580))
914
Manish V Badarkhe7672edf2020-08-03 18:43:14 +0100915# Process ERRATA_A76_1165522 flag
916$(eval $(call assert_boolean,ERRATA_A76_1165522))
917$(eval $(call add_define,ERRATA_A76_1165522))
918
johpow0181365e32020-09-29 17:19:09 -0500919# Process ERRATA_A76_1868343 flag
920$(eval $(call assert_boolean,ERRATA_A76_1868343))
921$(eval $(call add_define,ERRATA_A76_1868343))
922
johpow013e34e922020-12-15 19:02:18 -0600923# Process ERRATA_A76_1946160 flag
924$(eval $(call assert_boolean,ERRATA_A76_1946160))
925$(eval $(call add_define,ERRATA_A76_1946160))
926
Bipin Ravi23e29e42022-11-02 16:50:03 -0500927# Process ERRATA_A76_2743102 flag
928$(eval $(call assert_boolean,ERRATA_A76_2743102))
929$(eval $(call add_define,ERRATA_A76_2743102))
930
laurenw-arm99ad9762020-07-14 14:18:34 -0500931# Process ERRATA_A77_1508412 flag
932$(eval $(call assert_boolean,ERRATA_A77_1508412))
933$(eval $(call add_define,ERRATA_A77_1508412))
934
johpow01a2fa12c2020-09-10 13:39:26 -0500935# Process ERRATA_A77_1925769 flag
936$(eval $(call assert_boolean,ERRATA_A77_1925769))
937$(eval $(call add_define,ERRATA_A77_1925769))
938
laurenw-armf5dbbef2021-03-23 13:09:35 -0500939# Process ERRATA_A77_1946167 flag
940$(eval $(call assert_boolean,ERRATA_A77_1946167))
941$(eval $(call add_define,ERRATA_A77_1946167))
942
johpow01eb146102021-05-03 13:37:13 -0500943# Process ERRATA_A77_1791578 flag
944$(eval $(call assert_boolean,ERRATA_A77_1791578))
945$(eval $(call add_define,ERRATA_A77_1791578))
946
Bipin Ravi8e916622022-06-08 15:27:00 -0500947# Process ERRATA_A77_2356587 flag
948$(eval $(call assert_boolean,ERRATA_A77_2356587))
949$(eval $(call add_define,ERRATA_A77_2356587))
950
Boyan Karatoteve5cf16b2022-09-27 10:37:54 +0100951# Process ERRATA_A77_1800714 flag
952$(eval $(call assert_boolean,ERRATA_A77_1800714))
953$(eval $(call add_define,ERRATA_A77_1800714))
954
Boyan Karatotevaaf5d292022-11-01 11:22:12 +0000955# Process ERRATA_A77_2743100 flag
956$(eval $(call assert_boolean,ERRATA_A77_2743100))
957$(eval $(call add_define,ERRATA_A77_2743100))
958
Jimmy Brisson3571fb92020-06-01 10:18:22 -0500959# Process ERRATA_A78_1688305 flag
960$(eval $(call assert_boolean,ERRATA_A78_1688305))
961$(eval $(call add_define,ERRATA_A78_1688305))
Madhukar Pappireddy4efede72019-12-18 15:56:27 -0600962
johpow019131eb82020-10-06 17:55:25 -0500963# Process ERRATA_A78_1941498 flag
964$(eval $(call assert_boolean,ERRATA_A78_1941498))
965$(eval $(call add_define,ERRATA_A78_1941498))
966
johpow0185ea43d2020-10-07 15:08:01 -0500967# Process ERRATA_A78_1951500 flag
968$(eval $(call assert_boolean,ERRATA_A78_1951500))
969$(eval $(call add_define,ERRATA_A78_1951500))
970
johpow01b3e82942021-04-30 18:08:52 -0500971# Process ERRATA_A78_1821534 flag
972$(eval $(call assert_boolean,ERRATA_A78_1821534))
973$(eval $(call add_define,ERRATA_A78_1821534))
974
nayanpatel-arm80bf7a52021-08-11 13:33:00 -0700975# Process ERRATA_A78_1952683 flag
976$(eval $(call assert_boolean,ERRATA_A78_1952683))
977$(eval $(call add_define,ERRATA_A78_1952683))
978
nayanpatel-arm39e08652021-09-28 17:31:50 -0700979# Process ERRATA_A78_2132060 flag
980$(eval $(call assert_boolean,ERRATA_A78_2132060))
981$(eval $(call add_define,ERRATA_A78_2132060))
982
johpow0145c17242021-09-02 17:53:30 -0500983# Process ERRATA_A78_2242635 flag
984$(eval $(call assert_boolean,ERRATA_A78_2242635))
985$(eval $(call add_define,ERRATA_A78_2242635))
986
John Powell12bc0de2022-05-03 15:22:57 -0500987# Process ERRATA_A78_2376745 flag
988$(eval $(call assert_boolean,ERRATA_A78_2376745))
989$(eval $(call add_define,ERRATA_A78_2376745))
990
John Powella93b7e52022-05-03 15:52:11 -0500991# Process ERRATA_A78_2395406 flag
992$(eval $(call assert_boolean,ERRATA_A78_2395406))
993$(eval $(call add_define,ERRATA_A78_2395406))
994
johpow0145c17242021-09-02 17:53:30 -0500995# Process ERRATA_A78_AE_1941500 flag
996$(eval $(call assert_boolean,ERRATA_A78_AE_1941500))
997$(eval $(call add_define,ERRATA_A78_AE_1941500))
998
999# Process ERRATA_A78_AE_1951502 flag
1000$(eval $(call assert_boolean,ERRATA_A78_AE_1951502))
1001$(eval $(call add_define,ERRATA_A78_AE_1951502))
1002
Varun Wadekar9030a6c2022-03-09 22:04:00 +00001003# Process ERRATA_A78_AE_2376748 flag
1004$(eval $(call assert_boolean,ERRATA_A78_AE_2376748))
1005$(eval $(call add_define,ERRATA_A78_AE_2376748))
1006
Varun Wadekarac6bf2e2022-03-09 22:20:32 +00001007# Process ERRATA_A78_AE_2395408 flag
1008$(eval $(call assert_boolean,ERRATA_A78_AE_2395408))
1009$(eval $(call add_define,ERRATA_A78_AE_2395408))
1010
laurenw-arm4dc18872022-07-12 10:43:52 -05001011# Process ERRATA_A78C_2132064 flag
1012$(eval $(call assert_boolean,ERRATA_A78C_2132064))
1013$(eval $(call add_define,ERRATA_A78C_2132064))
1014
Bipin Ravi9c36e122022-07-15 17:20:16 -05001015# Process ERRATA_A78C_2242638 flag
1016$(eval $(call assert_boolean,ERRATA_A78C_2242638))
1017$(eval $(call add_define,ERRATA_A78C_2242638))
1018
Akram Ahmadfbc1edb2022-09-06 11:23:25 +01001019# Process ERRATA_A78C_2376749 flag
1020$(eval $(call assert_boolean,ERRATA_A78C_2376749))
1021$(eval $(call add_define,ERRATA_A78C_2376749))
1022
Akram Ahmaddbff7cf2022-07-19 14:38:46 +01001023# Process ERRATA_A78C_2395411 flag
1024$(eval $(call assert_boolean,ERRATA_A78C_2395411))
1025$(eval $(call add_define,ERRATA_A78C_2395411))
1026
Okash Khawajabaee3902022-04-21 12:20:21 +01001027# Process ERRATA_X1_1821534 flag
1028$(eval $(call assert_boolean,ERRATA_X1_1821534))
1029$(eval $(call add_define,ERRATA_X1_1821534))
1030
1031# Process ERRATA_X1_1688305 flag
1032$(eval $(call assert_boolean,ERRATA_X1_1688305))
1033$(eval $(call add_define,ERRATA_X1_1688305))
1034
1035# Process ERRATA_X1_1827429 flag
1036$(eval $(call assert_boolean,ERRATA_X1_1827429))
1037$(eval $(call add_define,ERRATA_X1_1827429))
1038
John Tsichritzis56369c12019-02-19 13:49:06 +00001039# Process ERRATA_N1_1043202 flag
1040$(eval $(call assert_boolean,ERRATA_N1_1043202))
1041$(eval $(call add_define,ERRATA_N1_1043202))
Dimitris Papastamos7ca21db2018-03-26 16:46:01 +01001042
lauwal01bd555f42019-06-24 11:23:50 -05001043# Process ERRATA_N1_1073348 flag
1044$(eval $(call assert_boolean,ERRATA_N1_1073348))
1045$(eval $(call add_define,ERRATA_N1_1073348))
1046
lauwal01363ee3c2019-06-24 11:28:34 -05001047# Process ERRATA_N1_1130799 flag
1048$(eval $(call assert_boolean,ERRATA_N1_1130799))
1049$(eval $(call add_define,ERRATA_N1_1130799))
1050
lauwal01f2adb132019-06-24 11:32:40 -05001051# Process ERRATA_N1_1165347 flag
1052$(eval $(call assert_boolean,ERRATA_N1_1165347))
1053$(eval $(call add_define,ERRATA_N1_1165347))
1054
lauwal01e1590442019-06-24 11:35:37 -05001055# Process ERRATA_N1_1207823 flag
1056$(eval $(call assert_boolean,ERRATA_N1_1207823))
1057$(eval $(call add_define,ERRATA_N1_1207823))
1058
lauwal01197f14c2019-06-24 11:38:53 -05001059# Process ERRATA_N1_1220197 flag
1060$(eval $(call assert_boolean,ERRATA_N1_1220197))
1061$(eval $(call add_define,ERRATA_N1_1220197))
1062
lauwal0107c2a232019-06-24 11:42:02 -05001063# Process ERRATA_N1_1257314 flag
1064$(eval $(call assert_boolean,ERRATA_N1_1257314))
1065$(eval $(call add_define,ERRATA_N1_1257314))
1066
lauwal0142771af2019-06-24 11:44:58 -05001067# Process ERRATA_N1_1262606 flag
1068$(eval $(call assert_boolean,ERRATA_N1_1262606))
1069$(eval $(call add_define,ERRATA_N1_1262606))
1070
lauwal0100396bf2019-06-24 11:47:30 -05001071# Process ERRATA_N1_1262888 flag
1072$(eval $(call assert_boolean,ERRATA_N1_1262888))
1073$(eval $(call add_define,ERRATA_N1_1262888))
1074
lauwal01644b6ed2019-06-24 11:49:01 -05001075# Process ERRATA_N1_1275112 flag
1076$(eval $(call assert_boolean,ERRATA_N1_1275112))
1077$(eval $(call add_define,ERRATA_N1_1275112))
1078
Andre Przywarab9347402019-05-20 14:57:06 +01001079# Process ERRATA_N1_1315703 flag
1080$(eval $(call assert_boolean,ERRATA_N1_1315703))
1081$(eval $(call add_define,ERRATA_N1_1315703))
1082
laurenw-arm94accd32019-08-20 15:51:24 -05001083# Process ERRATA_N1_1542419 flag
1084$(eval $(call assert_boolean,ERRATA_N1_1542419))
1085$(eval $(call add_define,ERRATA_N1_1542419))
1086
johpow01e2428fd2020-08-05 12:27:12 -05001087# Process ERRATA_N1_1868343 flag
1088$(eval $(call assert_boolean,ERRATA_N1_1868343))
1089$(eval $(call add_define,ERRATA_N1_1868343))
1090
johpow01f1a84f52020-10-07 14:33:15 -05001091# Process ERRATA_N1_1946160 flag
1092$(eval $(call assert_boolean,ERRATA_N1_1946160))
1093$(eval $(call add_define,ERRATA_N1_1946160))
1094
Bipin Ravi9edf2492022-11-02 16:12:01 -05001095# Process ERRATA_N1_2743102 flag
1096$(eval $(call assert_boolean,ERRATA_N1_2743102))
1097$(eval $(call add_define,ERRATA_N1_2743102))
1098#
nayanpatel-arm277581e2021-08-06 17:46:10 -07001099# Process ERRATA_N2_2002655 flag
1100$(eval $(call assert_boolean,ERRATA_N2_2002655))
1101$(eval $(call add_define,ERRATA_N2_2002655))
1102
Juan Pablo Conde31c93372022-02-28 14:14:44 -05001103# Process ERRATA_V1_1618635 flag
1104$(eval $(call assert_boolean,ERRATA_V1_1618635))
1105$(eval $(call add_define,ERRATA_V1_1618635))
1106
laurenw-arm3c86d832021-08-02 13:22:32 -05001107# Process ERRATA_V1_1774420 flag
1108$(eval $(call assert_boolean,ERRATA_V1_1774420))
1109$(eval $(call add_define,ERRATA_V1_1774420))
1110
johpow01c73b03c2021-05-03 15:33:39 -05001111# Process ERRATA_V1_1791573 flag
1112$(eval $(call assert_boolean,ERRATA_V1_1791573))
1113$(eval $(call add_define,ERRATA_V1_1791573))
1114
laurenw-armb1923e92021-08-02 14:40:08 -05001115# Process ERRATA_V1_1852267 flag
1116$(eval $(call assert_boolean,ERRATA_V1_1852267))
1117$(eval $(call add_define,ERRATA_V1_1852267))
1118
laurenw-arm6b56f962021-08-02 15:00:15 -05001119# Process ERRATA_V1_1925756 flag
1120$(eval $(call assert_boolean,ERRATA_V1_1925756))
1121$(eval $(call add_define,ERRATA_V1_1925756))
1122
johpow0107acb4f2020-10-07 16:38:37 -05001123# Process ERRATA_V1_1940577 flag
1124$(eval $(call assert_boolean,ERRATA_V1_1940577))
1125$(eval $(call add_define,ERRATA_V1_1940577))
1126
johpow0197db6752021-08-02 18:59:08 -05001127# Process ERRATA_V1_1966096 flag
1128$(eval $(call assert_boolean,ERRATA_V1_1966096))
1129$(eval $(call add_define,ERRATA_V1_1966096))
1130
johpow01ad1ca342021-08-03 14:35:20 -05001131# Process ERRATA_V1_2139242 flag
1132$(eval $(call assert_boolean,ERRATA_V1_2139242))
1133$(eval $(call add_define,ERRATA_V1_2139242))
1134
nayanpatel-armfc26ffe2021-09-28 13:41:03 -07001135# Process ERRATA_V1_2108267 flag
1136$(eval $(call assert_boolean,ERRATA_V1_2108267))
1137$(eval $(call add_define,ERRATA_V1_2108267))
1138
johpow014de29cb2021-09-02 18:29:17 -05001139# Process ERRATA_V1_2216392 flag
1140$(eval $(call assert_boolean,ERRATA_V1_2216392))
1141$(eval $(call add_define,ERRATA_V1_2216392))
1142
Bipin Ravi971938f2022-06-08 16:28:46 -05001143# Process ERRATA_V1_2294912 flag
1144$(eval $(call assert_boolean,ERRATA_V1_2294912))
1145$(eval $(call add_define,ERRATA_V1_2294912))
1146
Bipin Ravib4cb31f2022-06-14 17:09:23 -05001147# Process ERRATA_V1_2372203 flag
1148$(eval $(call assert_boolean,ERRATA_V1_2372203))
1149$(eval $(call add_define,ERRATA_V1_2372203))
1150
nayanpatel-arme55d3252021-08-06 16:39:48 -07001151# Process ERRATA_A710_1987031 flag
1152$(eval $(call assert_boolean,ERRATA_A710_1987031))
1153$(eval $(call add_define,ERRATA_A710_1987031))
1154
nayanpatel-arm7597d082021-08-25 17:35:15 -07001155# Process ERRATA_A710_2081180 flag
1156$(eval $(call assert_boolean,ERRATA_A710_2081180))
1157$(eval $(call add_define,ERRATA_A710_2081180))
1158
nayanpatel-arm0b338b42021-09-16 15:27:53 -07001159# Process ERRATA_A710_2083908 flag
1160$(eval $(call assert_boolean,ERRATA_A710_2083908))
1161$(eval $(call add_define,ERRATA_A710_2083908))
1162
nayanpatel-armf2dce0e2021-09-22 12:35:03 -07001163# Process ERRATA_A710_2058056 flag
1164$(eval $(call assert_boolean,ERRATA_A710_2058056))
1165$(eval $(call add_define,ERRATA_A710_2058056))
1166
johpow01de7b5242022-01-04 16:15:18 -06001167# Process ERRATA_A710_2055002 flag
1168$(eval $(call assert_boolean,ERRATA_A710_2055002))
1169$(eval $(call add_define,ERRATA_A710_2055002))
1170
1171# Process ERRATA_A710_2017096 flag
1172$(eval $(call assert_boolean,ERRATA_A710_2017096))
1173$(eval $(call add_define,ERRATA_A710_2017096))
1174
1175# Process ERRATA_A710_2267065 flag
1176$(eval $(call assert_boolean,ERRATA_A710_2267065))
1177$(eval $(call add_define,ERRATA_A710_2267065))
1178
1179# Process ERRATA_A710_2136059 flag
1180$(eval $(call assert_boolean,ERRATA_A710_2136059))
1181$(eval $(call add_define,ERRATA_A710_2136059))
1182
Akram Ahmad1714c1d2022-07-21 15:25:08 +01001183# Process ERRATA_A710_2147715 flag
1184$(eval $(call assert_boolean,ERRATA_A710_2147715))
1185$(eval $(call add_define,ERRATA_A710_2147715))
1186
Jayanth Dodderi Chidanandde4f5892022-09-01 22:09:54 +01001187# Process ERRATA_A710_2216384 flag
1188$(eval $(call assert_boolean,ERRATA_A710_2216384))
1189$(eval $(call add_define,ERRATA_A710_2216384))
1190
johpow017249fd02022-02-28 18:34:04 -06001191# Process ERRATA_A710_2282622 flag
1192$(eval $(call assert_boolean,ERRATA_A710_2282622))
1193$(eval $(call add_define,ERRATA_A710_2282622))
1194
Boyan Karatotevf8de5352022-10-03 14:21:28 +01001195# Process ERRATA_A710_2291219 flag
1196$(eval $(call assert_boolean,ERRATA_A710_2291219))
1197$(eval $(call add_define,ERRATA_A710_2291219))
1198
johpow017d52a8f2022-03-09 16:23:04 -06001199# Process ERRATA_A710_2008768 flag
1200$(eval $(call assert_boolean,ERRATA_A710_2008768))
1201$(eval $(call add_define,ERRATA_A710_2008768))
1202
Bipin Ravi77eab292022-07-12 15:53:21 -05001203# Process ERRATA_A710_2371105 flag
1204$(eval $(call assert_boolean,ERRATA_A710_2371105))
1205$(eval $(call add_define,ERRATA_A710_2371105))
1206
Bipin Ravieb35e852021-03-30 16:08:32 -05001207# Process ERRATA_N2_2067956 flag
1208$(eval $(call assert_boolean,ERRATA_N2_2067956))
1209$(eval $(call add_define,ERRATA_N2_2067956))
1210
Bipin Ravi7f565472021-03-31 10:10:27 -05001211# Process ERRATA_N2_2025414 flag
1212$(eval $(call assert_boolean,ERRATA_N2_2025414))
1213$(eval $(call add_define,ERRATA_N2_2025414))
1214
Bipin Ravi7e030692021-08-30 13:02:51 -05001215# Process ERRATA_N2_2189731 flag
1216$(eval $(call assert_boolean,ERRATA_N2_2189731))
1217$(eval $(call add_define,ERRATA_N2_2189731))
1218
Bipin Ravi0ba631c2021-09-01 01:36:43 -05001219# Process ERRATA_N2_2138956 flag
1220$(eval $(call assert_boolean,ERRATA_N2_2138956))
1221$(eval $(call add_define,ERRATA_N2_2138956))
1222
nayanpatel-armd4c5f9c2021-09-28 09:46:45 -07001223# Process ERRATA_N2_2138953 flag
1224$(eval $(call assert_boolean,ERRATA_N2_2138953))
1225$(eval $(call add_define,ERRATA_N2_2138953))
1226
nayanpatel-arm2f153992021-10-06 15:31:24 -07001227# Process ERRATA_N2_2242415 flag
1228$(eval $(call assert_boolean,ERRATA_N2_2242415))
1229$(eval $(call add_define,ERRATA_N2_2242415))
1230
nayanpatel-arm8e1aa012021-10-20 18:28:58 -07001231# Process ERRATA_N2_2138958 flag
1232$(eval $(call assert_boolean,ERRATA_N2_2138958))
1233$(eval $(call add_define,ERRATA_N2_2138958))
1234
nayanpatel-armfed98132021-10-07 17:59:33 -07001235# Process ERRATA_N2_2242400 flag
1236$(eval $(call assert_boolean,ERRATA_N2_2242400))
1237$(eval $(call add_define,ERRATA_N2_2242400))
1238
nayanpatel-arm45b9f6f2021-10-20 17:30:46 -07001239# Process ERRATA_N2_2280757 flag
1240$(eval $(call assert_boolean,ERRATA_N2_2280757))
1241$(eval $(call add_define,ERRATA_N2_2280757))
1242
Boyan Karatotevd3f8b4d2022-10-03 14:07:08 +01001243# Process ERRATA_N2_2326639 flag
1244$(eval $(call assert_boolean,ERRATA_N2_2326639))
1245$(eval $(call add_define,ERRATA_N2_2326639))
1246
Akram Ahmadb621bda2022-07-18 12:27:29 +01001247# Process ERRATA_N2_2376738 flag
1248$(eval $(call assert_boolean,ERRATA_N2_2376738))
1249$(eval $(call add_define,ERRATA_N2_2376738))
1250
Daniel Boulby1af2b112022-07-06 14:33:13 +01001251# Process ERRATA_N2_2388450 flag
1252$(eval $(call assert_boolean,ERRATA_N2_2388450))
1253$(eval $(call add_define,ERRATA_N2_2388450))
1254
johpow010afef362021-12-02 13:25:50 -06001255# Process ERRATA_X2_2002765 flag
1256$(eval $(call assert_boolean,ERRATA_X2_2002765))
1257$(eval $(call add_define,ERRATA_X2_2002765))
1258
johpow01f6c37de2021-12-03 11:27:33 -06001259# Process ERRATA_X2_2058056 flag
1260$(eval $(call assert_boolean,ERRATA_X2_2058056))
1261$(eval $(call add_define,ERRATA_X2_2058056))
1262
johpow0115f10bd2021-12-01 17:40:39 -06001263# Process ERRATA_X2_2083908 flag
1264$(eval $(call assert_boolean,ERRATA_X2_2083908))
1265$(eval $(call add_define,ERRATA_X2_2083908))
1266
Bipin Ravi2f73d972022-01-20 00:01:04 -06001267# Process ERRATA_X2_2017096 flag
1268$(eval $(call assert_boolean,ERRATA_X2_2017096))
1269$(eval $(call add_define,ERRATA_X2_2017096))
1270
Bipin Ravi9ad54782022-01-20 00:42:05 -06001271# Process ERRATA_X2_2081180 flag
1272$(eval $(call assert_boolean,ERRATA_X2_2081180))
1273$(eval $(call add_define,ERRATA_X2_2081180))
1274
Bipin Ravi78b72082022-02-06 01:29:31 -06001275# Process ERRATA_X2_2216384 flag
1276$(eval $(call assert_boolean,ERRATA_X2_2216384))
1277$(eval $(call add_define,ERRATA_X2_2216384))
1278
Bipin Ravic6b65212022-03-08 10:37:43 -06001279# Process ERRATA_X2_2147715 flag
1280$(eval $(call assert_boolean,ERRATA_X2_2147715))
1281$(eval $(call add_define,ERRATA_X2_2147715))
1282
Bipin Ravi4e315c32022-07-12 17:13:01 -05001283# Process ERRATA_X2_2371105 flag
1284$(eval $(call assert_boolean,ERRATA_X2_2371105))
1285$(eval $(call add_define,ERRATA_X2_2371105))
1286
Boyan Karatotev6559dbd2022-10-03 14:18:28 +01001287# Process ERRATA_X3_2313909 flag
1288$(eval $(call assert_boolean,ERRATA_X3_2313909))
1289$(eval $(call add_define,ERRATA_X3_2313909))
1290
johpow01de7b5242022-01-04 16:15:18 -06001291# Process ERRATA_A510_1922240 flag
1292$(eval $(call assert_boolean,ERRATA_A510_1922240))
1293$(eval $(call add_define,ERRATA_A510_1922240))
1294
johpow0149f60dd2022-01-06 14:54:49 -06001295# Process ERRATA_A510_2288014 flag
1296$(eval $(call assert_boolean,ERRATA_A510_2288014))
1297$(eval $(call add_define,ERRATA_A510_2288014))
1298
johpow018276f252022-01-07 17:12:31 -06001299# Process ERRATA_A510_2042739 flag
1300$(eval $(call assert_boolean,ERRATA_A510_2042739))
1301$(eval $(call add_define,ERRATA_A510_2042739))
1302
johpow015a993002022-01-11 17:54:41 -06001303# Process ERRATA_A510_2041909 flag
1304$(eval $(call assert_boolean,ERRATA_A510_2041909))
1305$(eval $(call add_define,ERRATA_A510_2041909))
1306
johpow013ba9cb22022-02-13 21:00:10 -06001307# Process ERRATA_A510_2250311 flag
1308$(eval $(call assert_boolean,ERRATA_A510_2250311))
1309$(eval $(call add_define,ERRATA_A510_2250311))
1310
johpow013ead2952022-02-14 20:19:08 -06001311# Process ERRATA_A510_2218950 flag
1312$(eval $(call assert_boolean,ERRATA_A510_2218950))
1313$(eval $(call add_define,ERRATA_A510_2218950))
1314
johpow01ac55c012022-02-15 22:55:22 -06001315# Process ERRATA_A510_2172148 flag
1316$(eval $(call assert_boolean,ERRATA_A510_2172148))
1317$(eval $(call add_define,ERRATA_A510_2172148))
1318
Akram Ahmada85254e2022-07-21 14:01:33 +01001319# Process ERRATA_A510_2347730 flag
1320$(eval $(call assert_boolean,ERRATA_A510_2347730))
1321$(eval $(call add_define,ERRATA_A510_2347730))
1322
Akram Ahmad60accba2022-07-22 16:20:44 +01001323# Process ERRATA_A510_2371937 flag
1324$(eval $(call assert_boolean,ERRATA_A510_2371937))
1325$(eval $(call add_define,ERRATA_A510_2371937))
1326
Akram Ahmad89034d62022-09-21 13:59:56 +01001327# Process ERRATA_A510_2666669 flag
1328$(eval $(call assert_boolean,ERRATA_A510_2666669))
1329$(eval $(call add_define,ERRATA_A510_2666669))
1330
1331#Process ERRATA_DSU_798953 flag
Louis Mayencourt4498b152019-04-09 16:29:01 +01001332$(eval $(call assert_boolean,ERRATA_DSU_798953))
1333$(eval $(call add_define,ERRATA_DSU_798953))
1334
John Tsichritzis4daa1de2018-07-23 09:11:59 +01001335# Process ERRATA_DSU_936184 flag
1336$(eval $(call assert_boolean,ERRATA_DSU_936184))
1337$(eval $(call add_define,ERRATA_DSU_936184))
1338
Bipin Raviaf40d692021-12-22 14:35:21 -06001339# Process ERRATA_DSU_2313941 flag
1340$(eval $(call assert_boolean,ERRATA_DSU_2313941))
1341$(eval $(call add_define,ERRATA_DSU_2313941))
1342
Douglas Raillardd56fb042017-06-19 15:38:02 +01001343# Errata build flags
1344ifneq (${ERRATA_A53_843419},0)
Douglas Raillardd0c82732017-06-22 14:44:48 +01001345TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419
Douglas Raillardd56fb042017-06-19 15:38:02 +01001346endif
1347
1348ifneq (${ERRATA_A53_835769},0)
1349TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769
Douglas Raillardd0c82732017-06-22 14:44:48 +01001350TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769
Douglas Raillardd56fb042017-06-19 15:38:02 +01001351endif
Manish V Badarkhe7672edf2020-08-03 18:43:14 +01001352
1353ifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \
1354 ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1355ERRATA_SPECULATIVE_AT := 1
1356else
1357ERRATA_SPECULATIVE_AT := 0
1358endif