blob: 44ffef188f7350ebe16469a05dfd5c4069a48507 [file] [log] [blame]
Soby Mathewd9bdaf22014-08-14 16:19:29 +01001#
Bipin Ravi7e3273e2021-12-22 14:35:21 -06002# Copyright (c) 2014-2022, Arm Limited and Contributors. All rights reserved.
Varun Wadekar92e87082022-03-09 22:04:00 +00003# Copyright (c) 2020-2022, NVIDIA Corporation. All rights reserved.
Soby Mathewd9bdaf22014-08-14 16:19:29 +01004#
dp-arm82cb2c12017-05-03 09:38:09 +01005# SPDX-License-Identifier: BSD-3-Clause
Soby Mathewd9bdaf22014-08-14 16:19:29 +01006#
7
Soby Mathew5541bb32014-09-22 14:13:34 +01008# Cortex A57 specific optimisation to skip L1 cache flush when
9# cluster is powered down.
johpow0183435632022-01-04 16:15:18 -060010SKIP_A57_L1_FLUSH_PWR_DWN ?=0
Soby Mathew5541bb32014-09-22 14:13:34 +010011
Sandrine Bailleux54035fc2016-01-13 14:57:38 +000012# Flag to disable the cache non-temporal hint.
13# It is enabled by default.
johpow0183435632022-01-04 16:15:18 -060014A53_DISABLE_NON_TEMPORAL_HINT ?=1
Sandrine Bailleux54035fc2016-01-13 14:57:38 +000015
16# Flag to disable the cache non-temporal hint.
17# It is enabled by default.
johpow0183435632022-01-04 16:15:18 -060018A57_DISABLE_NON_TEMPORAL_HINT ?=1
Sandrine Bailleux54035fc2016-01-13 14:57:38 +000019
Varun Wadekarcd0ea182018-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
johpow0183435632022-01-04 16:15:18 -060024WORKAROUND_CVE_2017_5715 ?=1
25WORKAROUND_CVE_2018_3639 ?=1
Dimitris Papastamosfe007b22018-05-16 11:36:14 +010026DYNAMIC_WORKAROUND_CVE_2018_3639 ?=0
Bipin Ravi1fe4a9d2022-01-18 01:59:06 -060027WORKAROUND_CVE_2022_23960 ?=1
Dimitris Papastamosf62ad322017-11-30 14:53:53 +000028
Javier Almansa Sobrino25bbbd22020-10-23 13:22:07 +010029# Flags to indicate internal or external Last level cache
Manish Pandeyf2d6b4e2020-01-24 11:54:44 +000030# By default internal
johpow0183435632022-01-04 16:15:18 -060031NEOVERSE_Nx_EXTERNAL_LLC ?=0
Manish Pandeyf2d6b4e2020-01-24 11:54:44 +000032
Varun Wadekarcd0ea182018-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 Mathew5541bb32014-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 Bailleux54035fc2016-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 Papastamosf62ad322017-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 Mathew5541bb32014-09-22 14:13:34 +010052
Dimitris Papastamosb8a25bb2018-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 Papastamosfe007b22018-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 Ravi1fe4a9d2022-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 Sobrino25bbbd22020-10-23 13:22:07 +010064$(eval $(call assert_boolean,NEOVERSE_Nx_EXTERNAL_LLC))
65$(eval $(call add_define,NEOVERSE_Nx_EXTERNAL_LLC))
Manish Pandeyf2d6b4e2020-01-24 11:54:44 +000066
Dimitris Papastamosfe007b22018-05-16 11:36:14 +010067ifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
johpow0183435632022-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 Papastamosfe007b22018-05-16 11:36:14 +010071endif
72
Sandrine Bailleux097b7872016-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 Mathewd9bdaf22014-08-14 16:19:29 +010076
Joel Huttondd4cf2c2019-04-10 12:52:52 +010077# Flag to apply erratum 794073 workaround when disabling mmu.
78ERRATA_A9_794073 ?=0
79
Ambroise Vincent75a1ada2019-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 Vincent5f2c6902019-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 Vincent0b64c192019-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 Vincentbe10dcd2019-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 Mayencourtcba71b72019-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 Vincentbd393702019-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 Bailleux097b7872016-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.
Jimmy Huang6b0d97b2015-07-29 20:55:31 +0800110ERRATA_A53_826319 ?=0
111
Ambroise Vincentbd393702019-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
johpow0183435632022-01-04 16:15:18 -0600116# Flag to apply erratum 835769 workaround at compile and link time. This
Douglas Raillarda94cc372017-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 Bailleux097b7872016-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 Raillard3fbe46d2017-02-15 17:38:43 +0000123# erratum workaround is enabled by default in hardware.
Jimmy Huang6b0d97b2015-07-29 20:55:31 +0800124ERRATA_A53_836870 ?=0
125
Douglas Raillarda94cc372017-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 Przywarab75dc0e2016-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 Badarkhee1c49332020-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 Vincent1afeee92019-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 Vincenta6cc6612019-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 Vincent6ab87d22019-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 Vincent6e789732019-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 Vincent47949f32019-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 Vincent9af07df2019-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 Badarkhee1c49332020-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 Bailleux097b7872016-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 Mathewd9bdaf22014-08-14 16:19:29 +0100172ERRATA_A57_806969 ?=0
173
Antonio Nino Diazccbec912017-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
johpow0183435632022-01-04 16:15:18 -0600178# Flag to apply erratum 813420 workaround during reset. This erratum applies
Sandrine Bailleux097b7872016-04-14 12:59:42 +0100179# only to revision r0p0 of the Cortex A57 cpu.
Soby Mathewd9bdaf22014-08-14 16:19:29 +0100180ERRATA_A57_813420 ?=0
181
johpow0183435632022-01-04 16:15:18 -0600182# Flag to apply erratum 814670 workaround during reset. This erratum applies
Ambroise Vincent0f6fbbd2019-02-21 16:35:07 +0000183# only to revision r0p0 of the Cortex A57 cpu.
184ERRATA_A57_814670 ?=0
185
Ambroise Vincent5bd2c242019-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 Bailleuxdf22d602016-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 Bailleux07288862016-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 Bailleuxa8b1c762016-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 Bailleux0b771972016-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 Bailleuxadeecf92016-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 Bonnici45b52c22017-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 Badarkhee1c49332020-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 Bonnici6de9b332017-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 Badarkhee1c49332020-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 Mayencourt25278ea2019-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 Mayencourte6cab152019-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 Mayencourt5f5d1ed2019-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 Mayencourt98551592019-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 Mayencourt5c6aa012019-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 Mayencourt508d7112019-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 Mayencourt5cc8c7b2019-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 Mathewe6e1d0a2019-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 Mathewf85edce2019-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
johpow01d7b08e62020-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 Badarkhee1c49332020-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
johpow0155ff05f2020-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
johpow013f0d8362020-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 Ravi49273092022-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-armaa3efe32020-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
johpow0135c75372020-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-arma492edc2021-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
johpow013f0bec72021-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 Ravi7bf1a7a2022-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 Karatotev08e2fdb2022-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 Karatotev4fdeaff2022-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 Pappireddy83e95522019-12-18 15:56:27 -0600322# Flag to apply erratum 1688305 workaround during reset. This erratum applies
Jimmy Brisson3f357092020-06-01 10:18:22 -0500323# to revisions r0p0 - r1p0 of the A78 cpu.
324ERRATA_A78_1688305 ?=0
Madhukar Pappireddy83e95522019-12-18 15:56:27 -0600325
johpow01e26c59d2020-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
johpow013a2710d2020-10-07 15:08:01 -0500330# Flag to apply erratum 1951500 workaround during reset. This erratum applies
johpow0183435632022-01-04 16:15:18 -0600331# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
johpow013a2710d2020-10-07 15:08:01 -0500332# well but there is no workaround for that revision.
333ERRATA_A78_1951500 ?=0
334
johpow011ea91902021-09-02 17:53:30 -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
339# 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.
johpow0183435632022-01-04 16:15:18 -0600341ERRATA_A78_1952683 ?=0
johpow011ea91902021-09-02 17:53:30 -0500342
343# 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.
johpow0183435632022-01-04 16:15:18 -0600345ERRATA_A78_2132060 ?=0
johpow011ea91902021-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 Powell5d796b32022-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 Powell3b577ed2022-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 Ravi3a801102022-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
Varun Wadekar47d6f5f2021-07-27 02:32:29 -0700365# 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
Varun Wadekar89130472021-07-27 00:39:40 -0700369# 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
372
Varun Wadekar92e87082022-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 Wadekar3f4d81d2022-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-arm8008bab2022-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 Ravi6979f472022-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 Ahmad5d3c1f52022-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 Ahmad4b6f0022022-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
Okash Khawaja7b76c202022-04-21 12:20:21 +0100397# Flag to apply erratum 1821534 workaround during reset. This erratum applies
398# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
399ERRATA_X1_1821534 ?=0
400
401# Flag to apply erratum 1688305 workaround during reset. This erratum applies
402# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
403ERRATA_X1_1688305 ?=0
404
405# Flag to apply erratum 1827429 workaround during reset. This erratum applies
406# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
407ERRATA_X1_1827429 ?=0
408
Dimitris Papastamos040b5462018-03-26 16:46:01 +0100409# Flag to apply T32 CLREX workaround during reset. This erratum applies
John Tsichritzisda6d75a2019-02-19 13:49:06 +0000410# only to r0p0 and r1p0 of the Neoverse N1 cpu.
laurenw-armdbafda72020-01-22 13:30:39 -0600411ERRATA_N1_1043202 ?=0
Dimitris Papastamos040b5462018-03-26 16:46:01 +0100412
lauwal01a601afe2019-06-24 11:23:50 -0500413# Flag to apply erratum 1073348 workaround during reset. This erratum applies
414# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
415ERRATA_N1_1073348 ?=0
416
lauwal01e34606f2019-06-24 11:28:34 -0500417# Flag to apply erratum 1130799 workaround during reset. This erratum applies
418# only to revision <= r2p0 of the Neoverse N1 cpu.
419ERRATA_N1_1130799 ?=0
420
lauwal012017ab22019-06-24 11:32:40 -0500421# Flag to apply erratum 1165347 workaround during reset. This erratum applies
422# only to revision <= r2p0 of the Neoverse N1 cpu.
423ERRATA_N1_1165347 ?=0
424
lauwal01ef5fa7d2019-06-24 11:35:37 -0500425# Flag to apply erratum 1207823 workaround during reset. This erratum applies
426# only to revision <= r2p0 of the Neoverse N1 cpu.
427ERRATA_N1_1207823 ?=0
428
lauwal019eceb022019-06-24 11:38:53 -0500429# Flag to apply erratum 1220197 workaround during reset. This erratum applies
430# only to revision <= r2p0 of the Neoverse N1 cpu.
431ERRATA_N1_1220197 ?=0
432
lauwal01335b3c72019-06-24 11:42:02 -0500433# Flag to apply erratum 1257314 workaround during reset. This erratum applies
434# only to revision <= r3p0 of the Neoverse N1 cpu.
435ERRATA_N1_1257314 ?=0
436
lauwal01411f4952019-06-24 11:44:58 -0500437# Flag to apply erratum 1262606 workaround during reset. This erratum applies
438# only to revision <= r3p0 of the Neoverse N1 cpu.
439ERRATA_N1_1262606 ?=0
440
lauwal0111c48372019-06-24 11:47:30 -0500441# Flag to apply erratum 1262888 workaround during reset. This erratum applies
442# only to revision <= r3p0 of the Neoverse N1 cpu.
443ERRATA_N1_1262888 ?=0
444
lauwal014d8801f2019-06-24 11:49:01 -0500445# Flag to apply erratum 1275112 workaround during reset. This erratum applies
446# only to revision <= r3p0 of the Neoverse N1 cpu.
447ERRATA_N1_1275112 ?=0
448
Andre Przywara5f5d0762019-05-20 14:57:06 +0100449# Flag to apply erratum 1315703 workaround during reset. This erratum applies
450# to revisions before r3p1 of the Neoverse N1 cpu.
laurenw-armdbafda72020-01-22 13:30:39 -0600451ERRATA_N1_1315703 ?=0
Andre Przywara5f5d0762019-05-20 14:57:06 +0100452
laurenw-arm80942622019-08-20 15:51:24 -0500453# Flag to apply erratum 1542419 workaround during reset. This erratum applies
454# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
455ERRATA_N1_1542419 ?=0
456
johpow0161f0ffc2020-08-05 12:27:12 -0500457# Flag to apply erratum 1868343 workaround during reset. This erratum applies
458# to revision <= r4p0 of the Neoverse N1 cpu.
459ERRATA_N1_1868343 ?=0
460
johpow01263ee782020-10-07 14:33:15 -0500461# Flag to apply erratum 1946160 workaround during reset. This erratum applies
johpow0183435632022-01-04 16:15:18 -0600462# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
johpow01263ee782020-10-07 14:33:15 -0500463# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
464ERRATA_N1_1946160 ?=0
465
Bipin Ravi8ce40502022-11-02 16:12:01 -0500466# Flag to apply erratum 2743102 workaround during powerdown. This erratum
467# applies to all revisions <= r4p1 of the Neoverse N1 cpu and is still open.
468ERRATA_N1_2743102 ?=0
469
Juan Pablo Conde14a6fed2022-02-28 14:14:44 -0500470# Flag to apply erratum 1618635 workaround during reset. This erratum applies
471# to revision r0p0 of the Neoverse V1 cpu and was fixed in the revision r1p0.
472ERRATA_V1_1618635 ?=0
473
johpow0183435632022-01-04 16:15:18 -0600474# Flag to apply erratum 1774420 workaround during reset. This erratum applies
laurenw-arm4789cf62021-08-02 13:22:32 -0500475# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
476ERRATA_V1_1774420 ?=0
477
johpow0183435632022-01-04 16:15:18 -0600478# Flag to apply erratum 1791573 workaround during reset. This erratum applies
johpow0133e3e922021-05-03 15:33:39 -0500479# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
480ERRATA_V1_1791573 ?=0
481
johpow0183435632022-01-04 16:15:18 -0600482# Flag to apply erratum 1852267 workaround during reset. This erratum applies
laurenw-arm143b1962021-08-02 14:40:08 -0500483# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
484ERRATA_V1_1852267 ?=0
485
johpow0183435632022-01-04 16:15:18 -0600486# Flag to apply erratum 1925756 workaround during reset. This needs to be
laurenw-arm741dd042021-08-02 15:00:15 -0500487# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
488ERRATA_V1_1925756 ?=0
489
johpow01182ce102020-10-07 16:38:37 -0500490# Flag to apply erratum 1940577 workaround during reset. This erratum applies
491# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
492ERRATA_V1_1940577 ?=0
493
johpow011a8804c2021-08-02 18:59:08 -0500494# Flag to apply erratum 1966096 workaround during reset. This erratum applies
johpow0183435632022-01-04 16:15:18 -0600495# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
johpow011a8804c2021-08-02 18:59:08 -0500496# exists in r0p0 as well but there is no workaround for that revision.
nayanpatel-arm8e140272021-09-28 13:41:03 -0700497ERRATA_V1_1966096 ?=0
johpow011a8804c2021-08-02 18:59:08 -0500498
johpow01100d4022021-08-03 14:35:20 -0500499# Flag to apply erratum 2139242 workaround during reset. This erratum applies
500# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
nayanpatel-arm8e140272021-09-28 13:41:03 -0700501ERRATA_V1_2139242 ?=0
502
503# Flag to apply erratum 2108267 workaround during reset. This erratum applies
504# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
505ERRATA_V1_2108267 ?=0
johpow01100d4022021-08-03 14:35:20 -0500506
johpow014c8fe6b2021-09-02 18:29:17 -0500507# Flag to apply erratum 2216392 workaround during reset. This erratum applies
508# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
509# issue exists in r0p0 as well but there is no workaround for that revision.
510ERRATA_V1_2216392 ?=0
511
Bipin Ravi39eb5dd2022-06-08 16:28:46 -0500512# Flag to apply erratum 2294912 workaround during reset. This erratum applies
513# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
514ERRATA_V1_2294912 ?=0
515
Bipin Ravi57b73d52022-06-14 17:09:23 -0500516# Flag to apply erratum 2372203 workaround during reset. This erratum applies
517# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
518ERRATA_V1_2372203 ?=0
519
Bipin Ravib7f723e2022-12-15 11:57:53 -0600520# Flag to apply erratum 2743093 workaround during powerdown. This erratum
521# applies to revisions r0p0, r1p0, r1p1 and r1p2 of the Neoverse V1 cpu and is
522# still open.
523ERRATA_V1_2743093 ?=0
524
nayanpatel-armfbcf54a2021-08-06 16:39:48 -0700525# Flag to apply erratum 1987031 workaround during reset. This erratum applies
526# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
527ERRATA_A710_1987031 ?=0
528
nayanpatel-arma64bcc22021-08-25 17:35:15 -0700529# Flag to apply erratum 2081180 workaround during reset. This erratum applies
530# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
531ERRATA_A710_2081180 ?=0
532
nayanpatel-arm95fe1952021-09-16 15:27:53 -0700533# Flag to apply erratum 2083908 workaround during reset. This erratum applies
534# to revision r2p0 of the Cortex-A710 cpu and is still open.
535ERRATA_A710_2083908 ?=0
536
nayanpatel-arm744bdbf2021-09-22 12:35:03 -0700537# Flag to apply erratum 2058056 workaround during reset. This erratum applies
538# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
539ERRATA_A710_2058056 ?=0
540
johpow0183435632022-01-04 16:15:18 -0600541# Flag to apply erratum 2055002 workaround during reset. This erratum applies
542# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
543ERRATA_A710_2055002 ?=0
544
545# Flag to apply erratum 2017096 workaround during reset. This erratum applies
546# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
547ERRATA_A710_2017096 ?=0
548
549# Flag to apply erratum 2267065 workaround during reset. This erratum applies
550# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
551ERRATA_A710_2267065 ?=0
552
553# Flag to apply erratum 2136059 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_2136059 ?=0
556
Akram Ahmad3280e5e2022-07-21 15:25:08 +0100557# Flag to apply erratum 2147715 workaround during reset. This erratum applies
558# to revision r2p0 of the Cortex-A710 CPU and is fixed in revision r2p1.
559ERRATA_A710_2147715 ?=0
560
Jayanth Dodderi Chidanandb781fcf2022-09-01 22:09:54 +0100561# Flag to apply erratum 2216384 workaround during reset. This erratum applies
562# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
563ERRATA_A710_2216384 ?=0
564
johpow01ef934cd2022-02-28 18:34:04 -0600565# Flag to apply erratum 2282622 workaround during reset. This erratum applies
Bipin Ravia9f7a502022-12-22 13:31:46 -0600566# to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is still
567# open.
johpow01ef934cd2022-02-28 18:34:04 -0600568ERRATA_A710_2282622 ?=0
569
Boyan Karatotev888eafa2022-10-03 14:21:28 +0100570# Flag to apply erratum 2291219 workaround during reset. This erratum applies
571# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
572ERRATA_A710_2291219 ?=0
573
johpow01af220eb2022-03-09 16:23:04 -0600574# Flag to apply erratum 2008768 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_2008768 ?=0
577
Bipin Ravi3220f052022-07-12 15:53:21 -0500578# Flag to apply erratum 2371105 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_2371105 ?=0
581
Bipin Ravic90daab2022-12-07 13:32:35 -0600582# Flag to apply erratum 2768515 workaround during power down. This erratum
583# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-A710 cpu and is
584# still open.
585ERRATA_A710_2768515 ?=0
586
Bipin Ravib0b654f2022-12-07 17:01:26 -0600587# Flag to apply erratum 2002655 workaround during reset. This erratum applies
588# to revisions r0p0 of the Neoverse-N2 cpu, it is still open.
589ERRATA_N2_2002655 ?=0
590
Bipin Ravi65e04f22021-03-30 16:08:32 -0500591# Flag to apply erratum 2067956 workaround during reset. This erratum applies
592# to revision r0p0 of the Neoverse N2 cpu and is still open.
593ERRATA_N2_2067956 ?=0
594
Bipin Ravi4618b2b2021-03-31 10:10:27 -0500595# Flag to apply erratum 2025414 workaround during reset. This erratum applies
596# to revision r0p0 of the Neoverse N2 cpu and is still open.
597ERRATA_N2_2025414 ?=0
598
Bipin Ravi7cfae932021-08-30 13:02:51 -0500599# Flag to apply erratum 2189731 workaround during reset. This erratum applies
600# to revision r0p0 of the Neoverse N2 cpu and is still open.
601ERRATA_N2_2189731 ?=0
602
Bipin Ravi1cafb082021-09-01 01:36:43 -0500603# Flag to apply erratum 2138956 workaround during reset. This erratum applies
604# to revision r0p0 of the Neoverse N2 cpu and is still open.
605ERRATA_N2_2138956 ?=0
606
nayanpatel-armef8f0c52021-09-28 09:46:45 -0700607# Flag to apply erratum 2138953 workaround during reset. This erratum applies
608# to revision r0p0 of the Neoverse N2 cpu and is still open.
609ERRATA_N2_2138953 ?=0
610
nayanpatel-arm5819e232021-10-06 15:31:24 -0700611# Flag to apply erratum 2242415 workaround during reset. This erratum applies
612# to revision r0p0 of the Neoverse N2 cpu and is still open.
613ERRATA_N2_2242415 ?=0
614
nayanpatel-armc9481852021-10-20 18:28:58 -0700615# Flag to apply erratum 2138958 workaround during reset. This erratum applies
616# to revision r0p0 of the Neoverse N2 cpu and is still open.
617ERRATA_N2_2138958 ?=0
618
nayanpatel-arm603806d2021-10-07 17:59:33 -0700619# Flag to apply erratum 2242400 workaround during reset. This erratum applies
620# to revision r0p0 of the Neoverse N2 cpu and is still open.
621ERRATA_N2_2242400 ?=0
622
nayanpatel-arm0d2d9992021-10-20 17:30:46 -0700623# Flag to apply erratum 2280757 workaround during reset. This erratum applies
624# to revision r0p0 of the Neoverse N2 cpu and is still open.
625ERRATA_N2_2280757 ?=0
626
Boyan Karatotev43438ad2022-10-03 14:07:08 +0100627# Flag to apply erraturm 2326639 workaroud during powerdown. This erratum
628# applies to revision r0p0 of the Neoverse N2 cpu and is fixed in r0p1.
629ERRATA_N2_2326639 ?=0
630
Akram Ahmade6602d42022-07-18 12:27:29 +0100631# Flag to apply erratum 2376738 workaround during reset. This erratum applies
632# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
633ERRATA_N2_2376738 ?=0
634
Daniel Boulby884d5152022-07-06 14:33:13 +0100635# Flag to apply erratum 2388450 workaround during reset. This erratum applies
636# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
637ERRATA_N2_2388450 ?=0
638
Bipin Ravib0b654f2022-12-07 17:01:26 -0600639# Flag to apply erratum 2743089 workaround during during powerdown. This erratum
640# applies to all revisions <= r0p2 of the Neoverse N2 cpu, it is fixed in r0p3.
641ERRATA_N2_2743089 ?=0
642
johpow0134ee76d2021-12-02 13:25:50 -0600643# Flag to apply erratum 2002765 workaround during reset. This erratum applies
644# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravie7ca4432022-01-20 00:01:04 -0600645ERRATA_X2_2002765 ?=0
johpow0134ee76d2021-12-02 13:25:50 -0600646
johpow01e16045d2021-12-03 11:27:33 -0600647# Flag to apply erratum 2058056 workaround during reset. This erratum applies
648# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravie7ca4432022-01-20 00:01:04 -0600649ERRATA_X2_2058056 ?=0
johpow01e16045d2021-12-03 11:27:33 -0600650
johpow011db6cd62021-12-01 17:40:39 -0600651# Flag to apply erratum 2083908 workaround during reset. This erratum applies
652# to revision r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravie7ca4432022-01-20 00:01:04 -0600653ERRATA_X2_2083908 ?=0
654
655# Flag to apply erratum 2017096 workaround during reset. This erratum applies
656# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
657# r2p1.
658ERRATA_X2_2017096 ?=0
johpow011db6cd62021-12-01 17:40:39 -0600659
Bipin Ravic060b532022-01-20 00:42:05 -0600660# Flag to apply erratum 2081180 workaround during reset. This erratum applies
661# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
662# r2p1.
663ERRATA_X2_2081180 ?=0
664
Bipin Ravi4dff7592022-02-06 01:29:31 -0600665# Flag to apply erratum 2216384 workaround during reset. This erratum applies
666# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
667# r2p1.
668ERRATA_X2_2216384 ?=0
669
Bipin Ravi63446c22022-03-08 10:37:43 -0600670# Flag to apply erratum 2147715 workaround during reset. This erratum applies
671# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
672ERRATA_X2_2147715 ?=0
673
Bipin Ravibc0f84d2022-07-12 17:13:01 -0500674# Flag to apply erratum 2371105 workaround during reset. This erratum applies
675# to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1.
676ERRATA_X2_2371105 ?=0
677
Bipin Ravi262bb3a2022-12-07 13:54:02 -0600678# Flag to apply erratum 2768515 workaround during power down. This erratum
679# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is
680# still open.
681ERRATA_X2_2768515 ?=0
682
Boyan Karatotev79544122022-10-03 14:18:28 +0100683# Flag to apply erratum 2313909 workaround on powerdown. This erratum applies
684# to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1.
685ERRATA_X3_2313909 ?=0
686
Harrison Mutaibcdd5152022-11-11 14:09:55 +0000687# Flag to apply erratum 2615812 workaround on powerdown. This erratum applies
688# to revisions r0p0, r1p0, r1p1 of the Cortex-X3 cpu, it is still open.
689ERRATA_X3_2615812 ?=0
690
johpow0183435632022-01-04 16:15:18 -0600691# Flag to apply erratum 1922240 workaround during reset. This erratum applies
692# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
693ERRATA_A510_1922240 ?=0
694
johpow01d5e25122022-01-06 14:54:49 -0600695# Flag to apply erratum 2288014 workaround during reset. This erratum applies
696# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
697# fixed in r1p1.
698ERRATA_A510_2288014 ?=0
699
johpow01d48088a2022-01-07 17:12:31 -0600700# Flag to apply erratum 2042739 workaround during reset. This erratum applies
701# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
702ERRATA_A510_2042739 ?=0
703
johpow01e72bbe42022-01-11 17:54:41 -0600704# Flag to apply erratum 2041909 workaround during reset. This erratum applies
705# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
706# present in r0p0 and r0p1 but there is no workaround for those revisions.
707ERRATA_A510_2041909 ?=0
708
johpow017f304b02022-02-13 21:00:10 -0600709# Flag to apply erratum 2250311 workaround during reset. This erratum applies
710# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
711ERRATA_A510_2250311 ?=0
712
johpow01cc790182022-02-14 20:19:08 -0600713# Flag to apply erratum 2218950 workaround during reset. This erratum applies
714# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
715ERRATA_A510_2218950 ?=0
716
johpow01c0959d22022-02-15 22:55:22 -0600717# Flag to apply erratum 2172148 workaround during reset. This erratum applies
718# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
719ERRATA_A510_2172148 ?=0
720
Akram Ahmad11d448c2022-07-21 14:01:33 +0100721# Flag to apply erratum 2347730 workaround during reset. This erratum applies
722# to revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1 of the Cortex-A510 CPU,
723# and is fixed in r1p2.
724ERRATA_A510_2347730 ?=0
725
Akram Ahmada67c1b12022-07-22 16:20:44 +0100726# Flag to apply erratum 2371937 workaround during reset. This erratum applies
727# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
728ERRATA_A510_2371937 ?=0
729
Akram Ahmadafb5d062022-09-21 13:59:56 +0100730# Flag to apply erratum 2666669 workaround during reset. This erratum applies
731# to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2.
732ERRATA_A510_2666669 ?=0
733
Louis Mayencourt0e985d72019-04-09 16:29:01 +0100734# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
735# Applying the workaround results in higher DSU power consumption on idle.
736ERRATA_DSU_798953 ?=0
737
John Tsichritzis8a677182018-07-23 09:11:59 +0100738# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
739# the ACP interface and revision < r2p0. Applying the workaround results in
740# higher DSU power consumption on idle.
741ERRATA_DSU_936184 ?=0
742
Bipin Ravi7e3273e2021-12-22 14:35:21 -0600743# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
744# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
745# results in higher DSU power consumption on idle.
746ERRATA_DSU_2313941 ?=0
747
Joel Huttondd4cf2c2019-04-10 12:52:52 +0100748# Process ERRATA_A9_794073 flag
749$(eval $(call assert_boolean,ERRATA_A9_794073))
750$(eval $(call add_define,ERRATA_A9_794073))
751
Ambroise Vincent75a1ada2019-03-04 16:56:26 +0000752# Process ERRATA_A15_816470 flag
753$(eval $(call assert_boolean,ERRATA_A15_816470))
754$(eval $(call add_define,ERRATA_A15_816470))
755
Ambroise Vincent5f2c6902019-03-05 09:54:21 +0000756# Process ERRATA_A15_827671 flag
757$(eval $(call assert_boolean,ERRATA_A15_827671))
758$(eval $(call add_define,ERRATA_A15_827671))
759
Ambroise Vincent0b64c192019-02-28 16:23:53 +0000760# Process ERRATA_A17_852421 flag
761$(eval $(call assert_boolean,ERRATA_A17_852421))
762$(eval $(call add_define,ERRATA_A17_852421))
763
Ambroise Vincentbe10dcd2019-03-04 13:20:56 +0000764# Process ERRATA_A17_852423 flag
765$(eval $(call assert_boolean,ERRATA_A17_852423))
766$(eval $(call add_define,ERRATA_A17_852423))
767
Louis Mayencourtcba71b72019-04-05 16:25:25 +0100768# Process ERRATA_A35_855472 flag
769$(eval $(call assert_boolean,ERRATA_A35_855472))
770$(eval $(call add_define,ERRATA_A35_855472))
771
Ambroise Vincentbd393702019-02-21 14:16:24 +0000772# Process ERRATA_A53_819472 flag
773$(eval $(call assert_boolean,ERRATA_A53_819472))
774$(eval $(call add_define,ERRATA_A53_819472))
775
776# Process ERRATA_A53_824069 flag
777$(eval $(call assert_boolean,ERRATA_A53_824069))
778$(eval $(call add_define,ERRATA_A53_824069))
779
Jimmy Huang6b0d97b2015-07-29 20:55:31 +0800780# Process ERRATA_A53_826319 flag
781$(eval $(call assert_boolean,ERRATA_A53_826319))
782$(eval $(call add_define,ERRATA_A53_826319))
783
Ambroise Vincentbd393702019-02-21 14:16:24 +0000784# Process ERRATA_A53_827319 flag
785$(eval $(call assert_boolean,ERRATA_A53_827319))
786$(eval $(call add_define,ERRATA_A53_827319))
787
Douglas Raillarda94cc372017-06-19 15:38:02 +0100788# Process ERRATA_A53_835769 flag
789$(eval $(call assert_boolean,ERRATA_A53_835769))
790$(eval $(call add_define,ERRATA_A53_835769))
791
Jimmy Huang6b0d97b2015-07-29 20:55:31 +0800792# Process ERRATA_A53_836870 flag
793$(eval $(call assert_boolean,ERRATA_A53_836870))
794$(eval $(call add_define,ERRATA_A53_836870))
795
Douglas Raillarda94cc372017-06-19 15:38:02 +0100796# Process ERRATA_A53_843419 flag
797$(eval $(call assert_boolean,ERRATA_A53_843419))
798$(eval $(call add_define,ERRATA_A53_843419))
799
Andre Przywarab75dc0e2016-10-06 16:54:53 +0100800# Process ERRATA_A53_855873 flag
801$(eval $(call assert_boolean,ERRATA_A53_855873))
802$(eval $(call add_define,ERRATA_A53_855873))
803
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100804# Process ERRATA_A53_1530924 flag
805$(eval $(call assert_boolean,ERRATA_A53_1530924))
806$(eval $(call add_define,ERRATA_A53_1530924))
807
Ambroise Vincent1afeee92019-02-21 16:20:43 +0000808# Process ERRATA_A55_768277 flag
809$(eval $(call assert_boolean,ERRATA_A55_768277))
810$(eval $(call add_define,ERRATA_A55_768277))
811
Ambroise Vincenta6cc6612019-02-21 16:25:37 +0000812# Process ERRATA_A55_778703 flag
813$(eval $(call assert_boolean,ERRATA_A55_778703))
814$(eval $(call add_define,ERRATA_A55_778703))
815
Ambroise Vincent6ab87d22019-02-21 16:27:34 +0000816# Process ERRATA_A55_798797 flag
817$(eval $(call assert_boolean,ERRATA_A55_798797))
818$(eval $(call add_define,ERRATA_A55_798797))
819
Ambroise Vincent6e789732019-02-21 16:29:16 +0000820# Process ERRATA_A55_846532 flag
821$(eval $(call assert_boolean,ERRATA_A55_846532))
822$(eval $(call add_define,ERRATA_A55_846532))
823
Ambroise Vincent47949f32019-02-21 16:29:50 +0000824# Process ERRATA_A55_903758 flag
825$(eval $(call assert_boolean,ERRATA_A55_903758))
826$(eval $(call add_define,ERRATA_A55_903758))
827
Ambroise Vincent9af07df2019-05-28 09:52:48 +0100828# Process ERRATA_A55_1221012 flag
829$(eval $(call assert_boolean,ERRATA_A55_1221012))
830$(eval $(call add_define,ERRATA_A55_1221012))
831
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100832# Process ERRATA_A55_1530923 flag
833$(eval $(call assert_boolean,ERRATA_A55_1530923))
834$(eval $(call add_define,ERRATA_A55_1530923))
835
Soby Mathewd9bdaf22014-08-14 16:19:29 +0100836# Process ERRATA_A57_806969 flag
837$(eval $(call assert_boolean,ERRATA_A57_806969))
838$(eval $(call add_define,ERRATA_A57_806969))
839
Antonio Nino Diazccbec912017-02-24 11:39:22 +0000840# Process ERRATA_A57_813419 flag
841$(eval $(call assert_boolean,ERRATA_A57_813419))
842$(eval $(call add_define,ERRATA_A57_813419))
843
Soby Mathewd9bdaf22014-08-14 16:19:29 +0100844# Process ERRATA_A57_813420 flag
845$(eval $(call assert_boolean,ERRATA_A57_813420))
846$(eval $(call add_define,ERRATA_A57_813420))
Sandrine Bailleuxdf22d602016-04-14 13:32:31 +0100847
Ambroise Vincent0f6fbbd2019-02-21 16:35:07 +0000848# Process ERRATA_A57_814670 flag
849$(eval $(call assert_boolean,ERRATA_A57_814670))
850$(eval $(call add_define,ERRATA_A57_814670))
851
Ambroise Vincent5bd2c242019-02-21 16:35:49 +0000852# Process ERRATA_A57_817169 flag
853$(eval $(call assert_boolean,ERRATA_A57_817169))
854$(eval $(call add_define,ERRATA_A57_817169))
855
Sandrine Bailleuxdf22d602016-04-14 13:32:31 +0100856# Process ERRATA_A57_826974 flag
857$(eval $(call assert_boolean,ERRATA_A57_826974))
858$(eval $(call add_define,ERRATA_A57_826974))
Sandrine Bailleuxa8b1c762016-04-14 14:04:48 +0100859
Sandrine Bailleux07288862016-04-14 14:24:13 +0100860# Process ERRATA_A57_826977 flag
861$(eval $(call assert_boolean,ERRATA_A57_826977))
862$(eval $(call add_define,ERRATA_A57_826977))
863
Sandrine Bailleuxa8b1c762016-04-14 14:04:48 +0100864# Process ERRATA_A57_828024 flag
865$(eval $(call assert_boolean,ERRATA_A57_828024))
866$(eval $(call add_define,ERRATA_A57_828024))
Sandrine Bailleux0b771972016-04-14 14:18:07 +0100867
868# Process ERRATA_A57_829520 flag
869$(eval $(call assert_boolean,ERRATA_A57_829520))
870$(eval $(call add_define,ERRATA_A57_829520))
Sandrine Bailleuxadeecf92016-04-21 11:10:52 +0100871
872# Process ERRATA_A57_833471 flag
873$(eval $(call assert_boolean,ERRATA_A57_833471))
874$(eval $(call add_define,ERRATA_A57_833471))
Douglas Raillarda94cc372017-06-19 15:38:02 +0100875
Eleanor Bonnici45b52c22017-08-02 16:35:04 +0100876# Process ERRATA_A57_859972 flag
877$(eval $(call assert_boolean,ERRATA_A57_859972))
878$(eval $(call add_define,ERRATA_A57_859972))
879
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100880# Process ERRATA_A57_1319537 flag
881$(eval $(call assert_boolean,ERRATA_A57_1319537))
882$(eval $(call add_define,ERRATA_A57_1319537))
883
Eleanor Bonnici6de9b332017-08-02 18:33:41 +0100884# Process ERRATA_A72_859971 flag
885$(eval $(call assert_boolean,ERRATA_A72_859971))
886$(eval $(call add_define,ERRATA_A72_859971))
887
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100888# Process ERRATA_A72_1319367 flag
889$(eval $(call assert_boolean,ERRATA_A72_1319367))
890$(eval $(call add_define,ERRATA_A72_1319367))
891
Louis Mayencourt25278ea2019-02-27 14:24:16 +0000892# Process ERRATA_A73_852427 flag
893$(eval $(call assert_boolean,ERRATA_A73_852427))
894$(eval $(call add_define,ERRATA_A73_852427))
895
Louis Mayencourte6cab152019-02-21 16:38:16 +0000896# Process ERRATA_A73_855423 flag
897$(eval $(call assert_boolean,ERRATA_A73_855423))
898$(eval $(call add_define,ERRATA_A73_855423))
899
Louis Mayencourt5f5d1ed2019-02-20 12:11:41 +0000900# Process ERRATA_A75_764081 flag
901$(eval $(call assert_boolean,ERRATA_A75_764081))
902$(eval $(call add_define,ERRATA_A75_764081))
903
Louis Mayencourt98551592019-02-25 14:57:57 +0000904# Process ERRATA_A75_790748 flag
905$(eval $(call assert_boolean,ERRATA_A75_790748))
906$(eval $(call add_define,ERRATA_A75_790748))
907
Louis Mayencourt5c6aa012019-02-25 15:17:44 +0000908# Process ERRATA_A76_1073348 flag
909$(eval $(call assert_boolean,ERRATA_A76_1073348))
910$(eval $(call add_define,ERRATA_A76_1073348))
911
Louis Mayencourt508d7112019-02-21 17:35:07 +0000912# Process ERRATA_A76_1130799 flag
913$(eval $(call assert_boolean,ERRATA_A76_1130799))
914$(eval $(call add_define,ERRATA_A76_1130799))
915
Louis Mayencourt5cc8c7b2019-02-25 11:37:38 +0000916# Process ERRATA_A76_1220197 flag
917$(eval $(call assert_boolean,ERRATA_A76_1220197))
918$(eval $(call add_define,ERRATA_A76_1220197))
919
Soby Mathewe6e1d0a2019-05-01 09:43:18 +0100920# Process ERRATA_A76_1257314 flag
921$(eval $(call assert_boolean,ERRATA_A76_1257314))
922$(eval $(call add_define,ERRATA_A76_1257314))
923
924# Process ERRATA_A76_1262606 flag
925$(eval $(call assert_boolean,ERRATA_A76_1262606))
926$(eval $(call add_define,ERRATA_A76_1262606))
927
928# Process ERRATA_A76_1262888 flag
929$(eval $(call assert_boolean,ERRATA_A76_1262888))
930$(eval $(call add_define,ERRATA_A76_1262888))
931
932# Process ERRATA_A76_1275112 flag
933$(eval $(call assert_boolean,ERRATA_A76_1275112))
934$(eval $(call add_define,ERRATA_A76_1275112))
935
Soby Mathewf85edce2019-05-03 13:17:56 +0100936# Process ERRATA_A76_1286807 flag
937$(eval $(call assert_boolean,ERRATA_A76_1286807))
938$(eval $(call add_define,ERRATA_A76_1286807))
939
johpow01d7b08e62020-05-29 14:17:38 -0500940# Process ERRATA_A76_1791580 flag
941$(eval $(call assert_boolean,ERRATA_A76_1791580))
942$(eval $(call add_define,ERRATA_A76_1791580))
943
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100944# Process ERRATA_A76_1165522 flag
945$(eval $(call assert_boolean,ERRATA_A76_1165522))
946$(eval $(call add_define,ERRATA_A76_1165522))
947
johpow0155ff05f2020-09-29 17:19:09 -0500948# Process ERRATA_A76_1868343 flag
949$(eval $(call assert_boolean,ERRATA_A76_1868343))
950$(eval $(call add_define,ERRATA_A76_1868343))
951
johpow013f0d8362020-12-15 19:02:18 -0600952# Process ERRATA_A76_1946160 flag
953$(eval $(call assert_boolean,ERRATA_A76_1946160))
954$(eval $(call add_define,ERRATA_A76_1946160))
955
Bipin Ravi49273092022-11-02 16:50:03 -0500956# Process ERRATA_A76_2743102 flag
957$(eval $(call assert_boolean,ERRATA_A76_2743102))
958$(eval $(call add_define,ERRATA_A76_2743102))
959
laurenw-armaa3efe32020-07-14 14:18:34 -0500960# Process ERRATA_A77_1508412 flag
961$(eval $(call assert_boolean,ERRATA_A77_1508412))
962$(eval $(call add_define,ERRATA_A77_1508412))
963
johpow0135c75372020-09-10 13:39:26 -0500964# Process ERRATA_A77_1925769 flag
965$(eval $(call assert_boolean,ERRATA_A77_1925769))
966$(eval $(call add_define,ERRATA_A77_1925769))
967
laurenw-arma492edc2021-03-23 13:09:35 -0500968# Process ERRATA_A77_1946167 flag
969$(eval $(call assert_boolean,ERRATA_A77_1946167))
970$(eval $(call add_define,ERRATA_A77_1946167))
971
johpow013f0bec72021-05-03 13:37:13 -0500972# Process ERRATA_A77_1791578 flag
973$(eval $(call assert_boolean,ERRATA_A77_1791578))
974$(eval $(call add_define,ERRATA_A77_1791578))
975
Bipin Ravi7bf1a7a2022-06-08 15:27:00 -0500976# Process ERRATA_A77_2356587 flag
977$(eval $(call assert_boolean,ERRATA_A77_2356587))
978$(eval $(call add_define,ERRATA_A77_2356587))
979
Boyan Karatotev08e2fdb2022-09-27 10:37:54 +0100980# Process ERRATA_A77_1800714 flag
981$(eval $(call assert_boolean,ERRATA_A77_1800714))
982$(eval $(call add_define,ERRATA_A77_1800714))
983
Boyan Karatotev4fdeaff2022-11-01 11:22:12 +0000984# Process ERRATA_A77_2743100 flag
985$(eval $(call assert_boolean,ERRATA_A77_2743100))
986$(eval $(call add_define,ERRATA_A77_2743100))
987
Jimmy Brisson3f357092020-06-01 10:18:22 -0500988# Process ERRATA_A78_1688305 flag
989$(eval $(call assert_boolean,ERRATA_A78_1688305))
990$(eval $(call add_define,ERRATA_A78_1688305))
Madhukar Pappireddy83e95522019-12-18 15:56:27 -0600991
johpow01e26c59d2020-10-06 17:55:25 -0500992# Process ERRATA_A78_1941498 flag
993$(eval $(call assert_boolean,ERRATA_A78_1941498))
994$(eval $(call add_define,ERRATA_A78_1941498))
995
johpow013a2710d2020-10-07 15:08:01 -0500996# Process ERRATA_A78_1951500 flag
997$(eval $(call assert_boolean,ERRATA_A78_1951500))
998$(eval $(call add_define,ERRATA_A78_1951500))
999
johpow011a691452021-04-30 18:08:52 -05001000# Process ERRATA_A78_1821534 flag
1001$(eval $(call assert_boolean,ERRATA_A78_1821534))
1002$(eval $(call add_define,ERRATA_A78_1821534))
1003
nayanpatel-arm00bee992021-08-11 13:33:00 -07001004# Process ERRATA_A78_1952683 flag
1005$(eval $(call assert_boolean,ERRATA_A78_1952683))
1006$(eval $(call add_define,ERRATA_A78_1952683))
1007
nayanpatel-armb36fe212021-09-28 17:31:50 -07001008# Process ERRATA_A78_2132060 flag
1009$(eval $(call assert_boolean,ERRATA_A78_2132060))
1010$(eval $(call add_define,ERRATA_A78_2132060))
1011
johpow011ea91902021-09-02 17:53:30 -05001012# Process ERRATA_A78_2242635 flag
1013$(eval $(call assert_boolean,ERRATA_A78_2242635))
1014$(eval $(call add_define,ERRATA_A78_2242635))
1015
John Powell5d796b32022-05-03 15:22:57 -05001016# Process ERRATA_A78_2376745 flag
1017$(eval $(call assert_boolean,ERRATA_A78_2376745))
1018$(eval $(call add_define,ERRATA_A78_2376745))
1019
John Powell3b577ed2022-05-03 15:52:11 -05001020# Process ERRATA_A78_2395406 flag
1021$(eval $(call assert_boolean,ERRATA_A78_2395406))
1022$(eval $(call add_define,ERRATA_A78_2395406))
1023
Bipin Ravi3a801102022-12-15 14:48:21 -06001024# Process ERRATA_A78_2772019 flag
1025$(eval $(call assert_boolean,ERRATA_A78_2772019))
1026$(eval $(call add_define,ERRATA_A78_2772019))
1027
johpow011ea91902021-09-02 17:53:30 -05001028# Process ERRATA_A78_AE_1941500 flag
1029$(eval $(call assert_boolean,ERRATA_A78_AE_1941500))
1030$(eval $(call add_define,ERRATA_A78_AE_1941500))
1031
1032# Process ERRATA_A78_AE_1951502 flag
1033$(eval $(call assert_boolean,ERRATA_A78_AE_1951502))
1034$(eval $(call add_define,ERRATA_A78_AE_1951502))
1035
Varun Wadekar92e87082022-03-09 22:04:00 +00001036# Process ERRATA_A78_AE_2376748 flag
1037$(eval $(call assert_boolean,ERRATA_A78_AE_2376748))
1038$(eval $(call add_define,ERRATA_A78_AE_2376748))
1039
Varun Wadekar3f4d81d2022-03-09 22:20:32 +00001040# Process ERRATA_A78_AE_2395408 flag
1041$(eval $(call assert_boolean,ERRATA_A78_AE_2395408))
1042$(eval $(call add_define,ERRATA_A78_AE_2395408))
1043
laurenw-arm8008bab2022-07-12 10:43:52 -05001044# Process ERRATA_A78C_2132064 flag
1045$(eval $(call assert_boolean,ERRATA_A78C_2132064))
1046$(eval $(call add_define,ERRATA_A78C_2132064))
1047
Bipin Ravi6979f472022-07-15 17:20:16 -05001048# Process ERRATA_A78C_2242638 flag
1049$(eval $(call assert_boolean,ERRATA_A78C_2242638))
1050$(eval $(call add_define,ERRATA_A78C_2242638))
1051
Akram Ahmad5d3c1f52022-09-06 11:23:25 +01001052# Process ERRATA_A78C_2376749 flag
1053$(eval $(call assert_boolean,ERRATA_A78C_2376749))
1054$(eval $(call add_define,ERRATA_A78C_2376749))
1055
Akram Ahmad4b6f0022022-07-19 14:38:46 +01001056# Process ERRATA_A78C_2395411 flag
1057$(eval $(call assert_boolean,ERRATA_A78C_2395411))
1058$(eval $(call add_define,ERRATA_A78C_2395411))
1059
Okash Khawaja7b76c202022-04-21 12:20:21 +01001060# Process ERRATA_X1_1821534 flag
1061$(eval $(call assert_boolean,ERRATA_X1_1821534))
1062$(eval $(call add_define,ERRATA_X1_1821534))
1063
1064# Process ERRATA_X1_1688305 flag
1065$(eval $(call assert_boolean,ERRATA_X1_1688305))
1066$(eval $(call add_define,ERRATA_X1_1688305))
1067
1068# Process ERRATA_X1_1827429 flag
1069$(eval $(call assert_boolean,ERRATA_X1_1827429))
1070$(eval $(call add_define,ERRATA_X1_1827429))
1071
John Tsichritzisda6d75a2019-02-19 13:49:06 +00001072# Process ERRATA_N1_1043202 flag
1073$(eval $(call assert_boolean,ERRATA_N1_1043202))
1074$(eval $(call add_define,ERRATA_N1_1043202))
Dimitris Papastamos040b5462018-03-26 16:46:01 +01001075
lauwal01a601afe2019-06-24 11:23:50 -05001076# Process ERRATA_N1_1073348 flag
1077$(eval $(call assert_boolean,ERRATA_N1_1073348))
1078$(eval $(call add_define,ERRATA_N1_1073348))
1079
lauwal01e34606f2019-06-24 11:28:34 -05001080# Process ERRATA_N1_1130799 flag
1081$(eval $(call assert_boolean,ERRATA_N1_1130799))
1082$(eval $(call add_define,ERRATA_N1_1130799))
1083
lauwal012017ab22019-06-24 11:32:40 -05001084# Process ERRATA_N1_1165347 flag
1085$(eval $(call assert_boolean,ERRATA_N1_1165347))
1086$(eval $(call add_define,ERRATA_N1_1165347))
1087
lauwal01ef5fa7d2019-06-24 11:35:37 -05001088# Process ERRATA_N1_1207823 flag
1089$(eval $(call assert_boolean,ERRATA_N1_1207823))
1090$(eval $(call add_define,ERRATA_N1_1207823))
1091
lauwal019eceb022019-06-24 11:38:53 -05001092# Process ERRATA_N1_1220197 flag
1093$(eval $(call assert_boolean,ERRATA_N1_1220197))
1094$(eval $(call add_define,ERRATA_N1_1220197))
1095
lauwal01335b3c72019-06-24 11:42:02 -05001096# Process ERRATA_N1_1257314 flag
1097$(eval $(call assert_boolean,ERRATA_N1_1257314))
1098$(eval $(call add_define,ERRATA_N1_1257314))
1099
lauwal01411f4952019-06-24 11:44:58 -05001100# Process ERRATA_N1_1262606 flag
1101$(eval $(call assert_boolean,ERRATA_N1_1262606))
1102$(eval $(call add_define,ERRATA_N1_1262606))
1103
lauwal0111c48372019-06-24 11:47:30 -05001104# Process ERRATA_N1_1262888 flag
1105$(eval $(call assert_boolean,ERRATA_N1_1262888))
1106$(eval $(call add_define,ERRATA_N1_1262888))
1107
lauwal014d8801f2019-06-24 11:49:01 -05001108# Process ERRATA_N1_1275112 flag
1109$(eval $(call assert_boolean,ERRATA_N1_1275112))
1110$(eval $(call add_define,ERRATA_N1_1275112))
1111
Andre Przywara5f5d0762019-05-20 14:57:06 +01001112# Process ERRATA_N1_1315703 flag
1113$(eval $(call assert_boolean,ERRATA_N1_1315703))
1114$(eval $(call add_define,ERRATA_N1_1315703))
1115
laurenw-arm80942622019-08-20 15:51:24 -05001116# Process ERRATA_N1_1542419 flag
1117$(eval $(call assert_boolean,ERRATA_N1_1542419))
1118$(eval $(call add_define,ERRATA_N1_1542419))
1119
johpow0161f0ffc2020-08-05 12:27:12 -05001120# Process ERRATA_N1_1868343 flag
1121$(eval $(call assert_boolean,ERRATA_N1_1868343))
1122$(eval $(call add_define,ERRATA_N1_1868343))
1123
johpow01263ee782020-10-07 14:33:15 -05001124# Process ERRATA_N1_1946160 flag
1125$(eval $(call assert_boolean,ERRATA_N1_1946160))
1126$(eval $(call add_define,ERRATA_N1_1946160))
1127
Bipin Ravi8ce40502022-11-02 16:12:01 -05001128# Process ERRATA_N1_2743102 flag
1129$(eval $(call assert_boolean,ERRATA_N1_2743102))
1130$(eval $(call add_define,ERRATA_N1_2743102))
nayanpatel-arm9380f752021-08-06 17:46:10 -07001131
Juan Pablo Conde14a6fed2022-02-28 14:14:44 -05001132# Process ERRATA_V1_1618635 flag
1133$(eval $(call assert_boolean,ERRATA_V1_1618635))
1134$(eval $(call add_define,ERRATA_V1_1618635))
1135
laurenw-arm4789cf62021-08-02 13:22:32 -05001136# Process ERRATA_V1_1774420 flag
1137$(eval $(call assert_boolean,ERRATA_V1_1774420))
1138$(eval $(call add_define,ERRATA_V1_1774420))
1139
johpow0133e3e922021-05-03 15:33:39 -05001140# Process ERRATA_V1_1791573 flag
1141$(eval $(call assert_boolean,ERRATA_V1_1791573))
1142$(eval $(call add_define,ERRATA_V1_1791573))
1143
laurenw-arm143b1962021-08-02 14:40:08 -05001144# Process ERRATA_V1_1852267 flag
1145$(eval $(call assert_boolean,ERRATA_V1_1852267))
1146$(eval $(call add_define,ERRATA_V1_1852267))
1147
laurenw-arm741dd042021-08-02 15:00:15 -05001148# Process ERRATA_V1_1925756 flag
1149$(eval $(call assert_boolean,ERRATA_V1_1925756))
1150$(eval $(call add_define,ERRATA_V1_1925756))
1151
johpow01182ce102020-10-07 16:38:37 -05001152# Process ERRATA_V1_1940577 flag
1153$(eval $(call assert_boolean,ERRATA_V1_1940577))
1154$(eval $(call add_define,ERRATA_V1_1940577))
1155
johpow011a8804c2021-08-02 18:59:08 -05001156# Process ERRATA_V1_1966096 flag
1157$(eval $(call assert_boolean,ERRATA_V1_1966096))
1158$(eval $(call add_define,ERRATA_V1_1966096))
1159
johpow01100d4022021-08-03 14:35:20 -05001160# Process ERRATA_V1_2139242 flag
1161$(eval $(call assert_boolean,ERRATA_V1_2139242))
1162$(eval $(call add_define,ERRATA_V1_2139242))
1163
nayanpatel-arm8e140272021-09-28 13:41:03 -07001164# Process ERRATA_V1_2108267 flag
1165$(eval $(call assert_boolean,ERRATA_V1_2108267))
1166$(eval $(call add_define,ERRATA_V1_2108267))
1167
johpow014c8fe6b2021-09-02 18:29:17 -05001168# Process ERRATA_V1_2216392 flag
1169$(eval $(call assert_boolean,ERRATA_V1_2216392))
1170$(eval $(call add_define,ERRATA_V1_2216392))
1171
Bipin Ravi39eb5dd2022-06-08 16:28:46 -05001172# Process ERRATA_V1_2294912 flag
1173$(eval $(call assert_boolean,ERRATA_V1_2294912))
1174$(eval $(call add_define,ERRATA_V1_2294912))
1175
Bipin Ravi57b73d52022-06-14 17:09:23 -05001176# Process ERRATA_V1_2372203 flag
1177$(eval $(call assert_boolean,ERRATA_V1_2372203))
1178$(eval $(call add_define,ERRATA_V1_2372203))
1179
Bipin Ravib7f723e2022-12-15 11:57:53 -06001180# Process ERRATA_V1_2743093 flag
1181$(eval $(call assert_boolean,ERRATA_V1_2743093))
1182$(eval $(call add_define,ERRATA_V1_2743093))
1183
nayanpatel-armfbcf54a2021-08-06 16:39:48 -07001184# Process ERRATA_A710_1987031 flag
1185$(eval $(call assert_boolean,ERRATA_A710_1987031))
1186$(eval $(call add_define,ERRATA_A710_1987031))
1187
nayanpatel-arma64bcc22021-08-25 17:35:15 -07001188# Process ERRATA_A710_2081180 flag
1189$(eval $(call assert_boolean,ERRATA_A710_2081180))
1190$(eval $(call add_define,ERRATA_A710_2081180))
1191
nayanpatel-arm95fe1952021-09-16 15:27:53 -07001192# Process ERRATA_A710_2083908 flag
1193$(eval $(call assert_boolean,ERRATA_A710_2083908))
1194$(eval $(call add_define,ERRATA_A710_2083908))
1195
nayanpatel-arm744bdbf2021-09-22 12:35:03 -07001196# Process ERRATA_A710_2058056 flag
1197$(eval $(call assert_boolean,ERRATA_A710_2058056))
1198$(eval $(call add_define,ERRATA_A710_2058056))
1199
johpow0183435632022-01-04 16:15:18 -06001200# Process ERRATA_A710_2055002 flag
1201$(eval $(call assert_boolean,ERRATA_A710_2055002))
1202$(eval $(call add_define,ERRATA_A710_2055002))
1203
1204# Process ERRATA_A710_2017096 flag
1205$(eval $(call assert_boolean,ERRATA_A710_2017096))
1206$(eval $(call add_define,ERRATA_A710_2017096))
1207
1208# Process ERRATA_A710_2267065 flag
1209$(eval $(call assert_boolean,ERRATA_A710_2267065))
1210$(eval $(call add_define,ERRATA_A710_2267065))
1211
1212# Process ERRATA_A710_2136059 flag
1213$(eval $(call assert_boolean,ERRATA_A710_2136059))
1214$(eval $(call add_define,ERRATA_A710_2136059))
1215
Akram Ahmad3280e5e2022-07-21 15:25:08 +01001216# Process ERRATA_A710_2147715 flag
1217$(eval $(call assert_boolean,ERRATA_A710_2147715))
1218$(eval $(call add_define,ERRATA_A710_2147715))
1219
Jayanth Dodderi Chidanandb781fcf2022-09-01 22:09:54 +01001220# Process ERRATA_A710_2216384 flag
1221$(eval $(call assert_boolean,ERRATA_A710_2216384))
1222$(eval $(call add_define,ERRATA_A710_2216384))
1223
johpow01ef934cd2022-02-28 18:34:04 -06001224# Process ERRATA_A710_2282622 flag
1225$(eval $(call assert_boolean,ERRATA_A710_2282622))
1226$(eval $(call add_define,ERRATA_A710_2282622))
1227
Boyan Karatotev888eafa2022-10-03 14:21:28 +01001228# Process ERRATA_A710_2291219 flag
1229$(eval $(call assert_boolean,ERRATA_A710_2291219))
1230$(eval $(call add_define,ERRATA_A710_2291219))
1231
johpow01af220eb2022-03-09 16:23:04 -06001232# Process ERRATA_A710_2008768 flag
1233$(eval $(call assert_boolean,ERRATA_A710_2008768))
1234$(eval $(call add_define,ERRATA_A710_2008768))
1235
Bipin Ravi3220f052022-07-12 15:53:21 -05001236# Process ERRATA_A710_2371105 flag
1237$(eval $(call assert_boolean,ERRATA_A710_2371105))
1238$(eval $(call add_define,ERRATA_A710_2371105))
1239
Bipin Ravic90daab2022-12-07 13:32:35 -06001240# Process ERRATA_A710_2768515 flag
1241$(eval $(call assert_boolean,ERRATA_A710_2768515))
1242$(eval $(call add_define,ERRATA_A710_2768515))
1243
Bipin Ravib0b654f2022-12-07 17:01:26 -06001244# Process ERRATA_N2_2002655 flag
1245$(eval $(call assert_boolean,ERRATA_N2_2002655))
1246$(eval $(call add_define,ERRATA_N2_2002655))
1247
Bipin Ravi65e04f22021-03-30 16:08:32 -05001248# Process ERRATA_N2_2067956 flag
1249$(eval $(call assert_boolean,ERRATA_N2_2067956))
1250$(eval $(call add_define,ERRATA_N2_2067956))
1251
Bipin Ravi4618b2b2021-03-31 10:10:27 -05001252# Process ERRATA_N2_2025414 flag
1253$(eval $(call assert_boolean,ERRATA_N2_2025414))
1254$(eval $(call add_define,ERRATA_N2_2025414))
1255
Bipin Ravi7cfae932021-08-30 13:02:51 -05001256# Process ERRATA_N2_2189731 flag
1257$(eval $(call assert_boolean,ERRATA_N2_2189731))
1258$(eval $(call add_define,ERRATA_N2_2189731))
1259
Bipin Ravi1cafb082021-09-01 01:36:43 -05001260# Process ERRATA_N2_2138956 flag
1261$(eval $(call assert_boolean,ERRATA_N2_2138956))
1262$(eval $(call add_define,ERRATA_N2_2138956))
1263
nayanpatel-armef8f0c52021-09-28 09:46:45 -07001264# Process ERRATA_N2_2138953 flag
1265$(eval $(call assert_boolean,ERRATA_N2_2138953))
1266$(eval $(call add_define,ERRATA_N2_2138953))
1267
nayanpatel-arm5819e232021-10-06 15:31:24 -07001268# Process ERRATA_N2_2242415 flag
1269$(eval $(call assert_boolean,ERRATA_N2_2242415))
1270$(eval $(call add_define,ERRATA_N2_2242415))
1271
nayanpatel-armc9481852021-10-20 18:28:58 -07001272# Process ERRATA_N2_2138958 flag
1273$(eval $(call assert_boolean,ERRATA_N2_2138958))
1274$(eval $(call add_define,ERRATA_N2_2138958))
1275
nayanpatel-arm603806d2021-10-07 17:59:33 -07001276# Process ERRATA_N2_2242400 flag
1277$(eval $(call assert_boolean,ERRATA_N2_2242400))
1278$(eval $(call add_define,ERRATA_N2_2242400))
1279
nayanpatel-arm0d2d9992021-10-20 17:30:46 -07001280# Process ERRATA_N2_2280757 flag
1281$(eval $(call assert_boolean,ERRATA_N2_2280757))
1282$(eval $(call add_define,ERRATA_N2_2280757))
1283
Boyan Karatotev43438ad2022-10-03 14:07:08 +01001284# Process ERRATA_N2_2326639 flag
1285$(eval $(call assert_boolean,ERRATA_N2_2326639))
1286$(eval $(call add_define,ERRATA_N2_2326639))
1287
Akram Ahmade6602d42022-07-18 12:27:29 +01001288# Process ERRATA_N2_2376738 flag
1289$(eval $(call assert_boolean,ERRATA_N2_2376738))
1290$(eval $(call add_define,ERRATA_N2_2376738))
1291
Daniel Boulby884d5152022-07-06 14:33:13 +01001292# Process ERRATA_N2_2388450 flag
1293$(eval $(call assert_boolean,ERRATA_N2_2388450))
1294$(eval $(call add_define,ERRATA_N2_2388450))
1295
Bipin Ravib0b654f2022-12-07 17:01:26 -06001296# Process ERRATA_N2_2743089 flag
1297$(eval $(call assert_boolean,ERRATA_N2_2743089))
1298$(eval $(call add_define,ERRATA_N2_2743089))
1299
johpow0134ee76d2021-12-02 13:25:50 -06001300# Process ERRATA_X2_2002765 flag
1301$(eval $(call assert_boolean,ERRATA_X2_2002765))
1302$(eval $(call add_define,ERRATA_X2_2002765))
1303
johpow01e16045d2021-12-03 11:27:33 -06001304# Process ERRATA_X2_2058056 flag
1305$(eval $(call assert_boolean,ERRATA_X2_2058056))
1306$(eval $(call add_define,ERRATA_X2_2058056))
1307
johpow011db6cd62021-12-01 17:40:39 -06001308# Process ERRATA_X2_2083908 flag
1309$(eval $(call assert_boolean,ERRATA_X2_2083908))
1310$(eval $(call add_define,ERRATA_X2_2083908))
1311
Bipin Ravie7ca4432022-01-20 00:01:04 -06001312# Process ERRATA_X2_2017096 flag
1313$(eval $(call assert_boolean,ERRATA_X2_2017096))
1314$(eval $(call add_define,ERRATA_X2_2017096))
1315
Bipin Ravic060b532022-01-20 00:42:05 -06001316# Process ERRATA_X2_2081180 flag
1317$(eval $(call assert_boolean,ERRATA_X2_2081180))
1318$(eval $(call add_define,ERRATA_X2_2081180))
1319
Bipin Ravi4dff7592022-02-06 01:29:31 -06001320# Process ERRATA_X2_2216384 flag
1321$(eval $(call assert_boolean,ERRATA_X2_2216384))
1322$(eval $(call add_define,ERRATA_X2_2216384))
1323
Bipin Ravi63446c22022-03-08 10:37:43 -06001324# Process ERRATA_X2_2147715 flag
1325$(eval $(call assert_boolean,ERRATA_X2_2147715))
1326$(eval $(call add_define,ERRATA_X2_2147715))
1327
Bipin Ravibc0f84d2022-07-12 17:13:01 -05001328# Process ERRATA_X2_2371105 flag
1329$(eval $(call assert_boolean,ERRATA_X2_2371105))
1330$(eval $(call add_define,ERRATA_X2_2371105))
1331
Bipin Ravi262bb3a2022-12-07 13:54:02 -06001332# Process ERRATA_X2_2768515 flag
1333$(eval $(call assert_boolean,ERRATA_X2_2768515))
1334$(eval $(call add_define,ERRATA_X2_2768515))
1335
Boyan Karatotev79544122022-10-03 14:18:28 +01001336# Process ERRATA_X3_2313909 flag
1337$(eval $(call assert_boolean,ERRATA_X3_2313909))
1338$(eval $(call add_define,ERRATA_X3_2313909))
1339
Harrison Mutaibcdd5152022-11-11 14:09:55 +00001340# Process ERRATA_X3_2615812 flag
1341$(eval $(call assert_boolean,ERRATA_X3_2615812))
1342$(eval $(call add_define,ERRATA_X3_2615812))
1343
johpow0183435632022-01-04 16:15:18 -06001344# Process ERRATA_A510_1922240 flag
1345$(eval $(call assert_boolean,ERRATA_A510_1922240))
1346$(eval $(call add_define,ERRATA_A510_1922240))
1347
johpow01d5e25122022-01-06 14:54:49 -06001348# Process ERRATA_A510_2288014 flag
1349$(eval $(call assert_boolean,ERRATA_A510_2288014))
1350$(eval $(call add_define,ERRATA_A510_2288014))
1351
johpow01d48088a2022-01-07 17:12:31 -06001352# Process ERRATA_A510_2042739 flag
1353$(eval $(call assert_boolean,ERRATA_A510_2042739))
1354$(eval $(call add_define,ERRATA_A510_2042739))
1355
johpow01e72bbe42022-01-11 17:54:41 -06001356# Process ERRATA_A510_2041909 flag
1357$(eval $(call assert_boolean,ERRATA_A510_2041909))
1358$(eval $(call add_define,ERRATA_A510_2041909))
1359
johpow017f304b02022-02-13 21:00:10 -06001360# Process ERRATA_A510_2250311 flag
1361$(eval $(call assert_boolean,ERRATA_A510_2250311))
1362$(eval $(call add_define,ERRATA_A510_2250311))
1363
johpow01cc790182022-02-14 20:19:08 -06001364# Process ERRATA_A510_2218950 flag
1365$(eval $(call assert_boolean,ERRATA_A510_2218950))
1366$(eval $(call add_define,ERRATA_A510_2218950))
1367
johpow01c0959d22022-02-15 22:55:22 -06001368# Process ERRATA_A510_2172148 flag
1369$(eval $(call assert_boolean,ERRATA_A510_2172148))
1370$(eval $(call add_define,ERRATA_A510_2172148))
1371
Akram Ahmad11d448c2022-07-21 14:01:33 +01001372# Process ERRATA_A510_2347730 flag
1373$(eval $(call assert_boolean,ERRATA_A510_2347730))
1374$(eval $(call add_define,ERRATA_A510_2347730))
1375
Akram Ahmada67c1b12022-07-22 16:20:44 +01001376# Process ERRATA_A510_2371937 flag
1377$(eval $(call assert_boolean,ERRATA_A510_2371937))
1378$(eval $(call add_define,ERRATA_A510_2371937))
1379
Akram Ahmadafb5d062022-09-21 13:59:56 +01001380# Process ERRATA_A510_2666669 flag
1381$(eval $(call assert_boolean,ERRATA_A510_2666669))
1382$(eval $(call add_define,ERRATA_A510_2666669))
1383
1384#Process ERRATA_DSU_798953 flag
Louis Mayencourt0e985d72019-04-09 16:29:01 +01001385$(eval $(call assert_boolean,ERRATA_DSU_798953))
1386$(eval $(call add_define,ERRATA_DSU_798953))
1387
John Tsichritzis8a677182018-07-23 09:11:59 +01001388# Process ERRATA_DSU_936184 flag
1389$(eval $(call assert_boolean,ERRATA_DSU_936184))
1390$(eval $(call add_define,ERRATA_DSU_936184))
1391
Bipin Ravi7e3273e2021-12-22 14:35:21 -06001392# Process ERRATA_DSU_2313941 flag
1393$(eval $(call assert_boolean,ERRATA_DSU_2313941))
1394$(eval $(call add_define,ERRATA_DSU_2313941))
1395
Douglas Raillarda94cc372017-06-19 15:38:02 +01001396# Errata build flags
1397ifneq (${ERRATA_A53_843419},0)
Douglas Raillardc2b88062017-06-22 14:44:48 +01001398TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419
Douglas Raillarda94cc372017-06-19 15:38:02 +01001399endif
1400
1401ifneq (${ERRATA_A53_835769},0)
1402TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769
Douglas Raillardc2b88062017-06-22 14:44:48 +01001403TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769
Douglas Raillarda94cc372017-06-19 15:38:02 +01001404endif
Manish V Badarkhee1c49332020-08-03 18:43:14 +01001405
1406ifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \
1407 ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1408ERRATA_SPECULATIVE_AT := 1
1409else
1410ERRATA_SPECULATIVE_AT := 0
1411endif