blob: 2c08a27b8f97f2d31ffececee5d0551a783eee41 [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
laurenw-armaa3efe32020-07-14 14:18:34 -0500290# Flag to apply erratum 1508412 workaround during reset. This erratum applies
291# only to revision <= r1p0 of the Cortex A77 cpu.
292ERRATA_A77_1508412 ?=0
293
johpow0135c75372020-09-10 13:39:26 -0500294# Flag to apply erratum 1925769 workaround during reset. This erratum applies
295# only to revision <= r1p1 of the Cortex A77 cpu.
296ERRATA_A77_1925769 ?=0
297
laurenw-arma492edc42021-03-23 13:09:35 -0500298# Flag to apply erratum 1946167 workaround during reset. This erratum applies
299# only to revision <= r1p1 of the Cortex A77 cpu.
300ERRATA_A77_1946167 ?=0
301
johpow013f0bec72021-05-03 13:37:13 -0500302# Flag to apply erratum 1791578 workaround during reset. This erratum applies
303# to revisions r0p0, r1p0, and r1p1, it is still open.
304ERRATA_A77_1791578 ?=0
305
Bipin Ravi7bf1a7a2022-06-08 15:27:00 -0500306# Flag to apply erratum 2356587 workaround during reset. This erratum applies
307# to revisions r0p0, r1p0, and r1p1, it is still open.
308ERRATA_A77_2356587 ?=0
309
Madhukar Pappireddy83e95522019-12-18 15:56:27 -0600310# Flag to apply erratum 1688305 workaround during reset. This erratum applies
Jimmy Brisson3f357092020-06-01 10:18:22 -0500311# to revisions r0p0 - r1p0 of the A78 cpu.
312ERRATA_A78_1688305 ?=0
Madhukar Pappireddy83e95522019-12-18 15:56:27 -0600313
johpow01e26c59d2020-10-06 17:55:25 -0500314# Flag to apply erratum 1941498 workaround during reset. This erratum applies
315# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
316ERRATA_A78_1941498 ?=0
317
johpow013a2710d2020-10-07 15:08:01 -0500318# Flag to apply erratum 1951500 workaround during reset. This erratum applies
johpow0183435632022-01-04 16:15:18 -0600319# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
johpow013a2710d2020-10-07 15:08:01 -0500320# well but there is no workaround for that revision.
321ERRATA_A78_1951500 ?=0
322
johpow011ea91902021-09-02 17:53:30 -0500323# Flag to apply erratum 1821534 workaround during reset. This erratum applies
324# to revisions r0p0 and r1p0 of the A78 cpu.
325ERRATA_A78_1821534 ?=0
326
327# Flag to apply erratum 1952683 workaround during reset. This erratum applies
328# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
johpow0183435632022-01-04 16:15:18 -0600329ERRATA_A78_1952683 ?=0
johpow011ea91902021-09-02 17:53:30 -0500330
331# Flag to apply erratum 2132060 workaround during reset. This erratum applies
332# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
johpow0183435632022-01-04 16:15:18 -0600333ERRATA_A78_2132060 ?=0
johpow011ea91902021-09-02 17:53:30 -0500334
335# Flag to apply erratum 2242635 workaround during reset. This erratum applies
336# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
337# present in r0p0 as well but there is no workaround for that revision.
338ERRATA_A78_2242635 ?=0
339
John Powell5d796b32022-05-03 15:22:57 -0500340# Flag to apply erratum 2376745 workaround during reset. This erratum applies
341# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
342ERRATA_A78_2376745 ?=0
343
John Powell3b577ed2022-05-03 15:52:11 -0500344# Flag to apply erratum 2395406 workaround during reset. This erratum applies
345# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
346ERRATA_A78_2395406 ?=0
347
Varun Wadekar47d6f5f2021-07-27 02:32:29 -0700348# Flag to apply erratum 1941500 workaround during reset. This erratum applies
349# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
350ERRATA_A78_AE_1941500 ?=0
351
Varun Wadekar89130472021-07-27 00:39:40 -0700352# Flag to apply erratum 1951502 workaround during reset. This erratum applies
353# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
354ERRATA_A78_AE_1951502 ?=0
355
Varun Wadekar92e87082022-03-09 22:04:00 +0000356# Flag to apply erratum 2376748 workaround during reset. This erratum applies
357# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
358ERRATA_A78_AE_2376748 ?=0
359
Varun Wadekar3f4d81d2022-03-09 22:20:32 +0000360# Flag to apply erratum 2395408 workaround during reset. This erratum applies
361# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
362ERRATA_A78_AE_2395408 ?=0
363
laurenw-arm8008bab2022-07-12 10:43:52 -0500364# Flag to apply erratum 2132064 workaround during reset. This erratum applies
365# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
366ERRATA_A78C_2132064 ?=0
367
Bipin Ravi6979f472022-07-15 17:20:16 -0500368# Flag to apply erratum 2242638 workaround during reset. This erratum applies
369# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
370ERRATA_A78C_2242638 ?=0
371
Okash Khawaja7b76c202022-04-21 12:20:21 +0100372# Flag to apply erratum 1821534 workaround during reset. This erratum applies
373# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
374ERRATA_X1_1821534 ?=0
375
376# Flag to apply erratum 1688305 workaround during reset. This erratum applies
377# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
378ERRATA_X1_1688305 ?=0
379
380# Flag to apply erratum 1827429 workaround during reset. This erratum applies
381# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
382ERRATA_X1_1827429 ?=0
383
Dimitris Papastamos040b5462018-03-26 16:46:01 +0100384# Flag to apply T32 CLREX workaround during reset. This erratum applies
John Tsichritzisda6d75a2019-02-19 13:49:06 +0000385# only to r0p0 and r1p0 of the Neoverse N1 cpu.
laurenw-armdbafda72020-01-22 13:30:39 -0600386ERRATA_N1_1043202 ?=0
Dimitris Papastamos040b5462018-03-26 16:46:01 +0100387
lauwal01a601afe2019-06-24 11:23:50 -0500388# Flag to apply erratum 1073348 workaround during reset. This erratum applies
389# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
390ERRATA_N1_1073348 ?=0
391
lauwal01e34606f2019-06-24 11:28:34 -0500392# Flag to apply erratum 1130799 workaround during reset. This erratum applies
393# only to revision <= r2p0 of the Neoverse N1 cpu.
394ERRATA_N1_1130799 ?=0
395
lauwal012017ab22019-06-24 11:32:40 -0500396# Flag to apply erratum 1165347 workaround during reset. This erratum applies
397# only to revision <= r2p0 of the Neoverse N1 cpu.
398ERRATA_N1_1165347 ?=0
399
lauwal01ef5fa7d2019-06-24 11:35:37 -0500400# Flag to apply erratum 1207823 workaround during reset. This erratum applies
401# only to revision <= r2p0 of the Neoverse N1 cpu.
402ERRATA_N1_1207823 ?=0
403
lauwal019eceb022019-06-24 11:38:53 -0500404# Flag to apply erratum 1220197 workaround during reset. This erratum applies
405# only to revision <= r2p0 of the Neoverse N1 cpu.
406ERRATA_N1_1220197 ?=0
407
lauwal01335b3c72019-06-24 11:42:02 -0500408# Flag to apply erratum 1257314 workaround during reset. This erratum applies
409# only to revision <= r3p0 of the Neoverse N1 cpu.
410ERRATA_N1_1257314 ?=0
411
lauwal01411f4952019-06-24 11:44:58 -0500412# Flag to apply erratum 1262606 workaround during reset. This erratum applies
413# only to revision <= r3p0 of the Neoverse N1 cpu.
414ERRATA_N1_1262606 ?=0
415
lauwal0111c48372019-06-24 11:47:30 -0500416# Flag to apply erratum 1262888 workaround during reset. This erratum applies
417# only to revision <= r3p0 of the Neoverse N1 cpu.
418ERRATA_N1_1262888 ?=0
419
lauwal014d8801f2019-06-24 11:49:01 -0500420# Flag to apply erratum 1275112 workaround during reset. This erratum applies
421# only to revision <= r3p0 of the Neoverse N1 cpu.
422ERRATA_N1_1275112 ?=0
423
Andre Przywara5f5d0762019-05-20 14:57:06 +0100424# Flag to apply erratum 1315703 workaround during reset. This erratum applies
425# to revisions before r3p1 of the Neoverse N1 cpu.
laurenw-armdbafda72020-01-22 13:30:39 -0600426ERRATA_N1_1315703 ?=0
Andre Przywara5f5d0762019-05-20 14:57:06 +0100427
laurenw-arm80942622019-08-20 15:51:24 -0500428# Flag to apply erratum 1542419 workaround during reset. This erratum applies
429# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
430ERRATA_N1_1542419 ?=0
431
johpow0161f0ffc2020-08-05 12:27:12 -0500432# Flag to apply erratum 1868343 workaround during reset. This erratum applies
433# to revision <= r4p0 of the Neoverse N1 cpu.
434ERRATA_N1_1868343 ?=0
435
johpow01263ee782020-10-07 14:33:15 -0500436# Flag to apply erratum 1946160 workaround during reset. This erratum applies
johpow0183435632022-01-04 16:15:18 -0600437# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
johpow01263ee782020-10-07 14:33:15 -0500438# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
439ERRATA_N1_1946160 ?=0
440
nayanpatel-arm9380f752021-08-06 17:46:10 -0700441# Flag to apply erratum 2002655 workaround during reset. This erratum applies
442# to revisions r0p0 of the Neoverse-N2 cpu, it is still open.
443ERRATA_N2_2002655 ?=0
444
johpow0183435632022-01-04 16:15:18 -0600445# Flag to apply erratum 1774420 workaround during reset. This erratum applies
laurenw-arm4789cf62021-08-02 13:22:32 -0500446# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
447ERRATA_V1_1774420 ?=0
448
johpow0183435632022-01-04 16:15:18 -0600449# Flag to apply erratum 1791573 workaround during reset. This erratum applies
johpow0133e3e922021-05-03 15:33:39 -0500450# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
451ERRATA_V1_1791573 ?=0
452
johpow0183435632022-01-04 16:15:18 -0600453# Flag to apply erratum 1852267 workaround during reset. This erratum applies
laurenw-arm143b1962021-08-02 14:40:08 -0500454# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
455ERRATA_V1_1852267 ?=0
456
johpow0183435632022-01-04 16:15:18 -0600457# Flag to apply erratum 1925756 workaround during reset. This needs to be
laurenw-arm741dd042021-08-02 15:00:15 -0500458# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
459ERRATA_V1_1925756 ?=0
460
johpow01182ce102020-10-07 16:38:37 -0500461# Flag to apply erratum 1940577 workaround during reset. This erratum applies
462# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
463ERRATA_V1_1940577 ?=0
464
johpow011a8804c2021-08-02 18:59:08 -0500465# Flag to apply erratum 1966096 workaround during reset. This erratum applies
johpow0183435632022-01-04 16:15:18 -0600466# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
johpow011a8804c2021-08-02 18:59:08 -0500467# exists in r0p0 as well but there is no workaround for that revision.
nayanpatel-arm8e140272021-09-28 13:41:03 -0700468ERRATA_V1_1966096 ?=0
johpow011a8804c2021-08-02 18:59:08 -0500469
johpow01100d4022021-08-03 14:35:20 -0500470# Flag to apply erratum 2139242 workaround during reset. This erratum applies
471# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
nayanpatel-arm8e140272021-09-28 13:41:03 -0700472ERRATA_V1_2139242 ?=0
473
474# Flag to apply erratum 2108267 workaround during reset. This erratum applies
475# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
476ERRATA_V1_2108267 ?=0
johpow01100d4022021-08-03 14:35:20 -0500477
johpow014c8fe6b2021-09-02 18:29:17 -0500478# Flag to apply erratum 2216392 workaround during reset. This erratum applies
479# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
480# issue exists in r0p0 as well but there is no workaround for that revision.
481ERRATA_V1_2216392 ?=0
482
Bipin Ravi39eb5dd2022-06-08 16:28:46 -0500483# Flag to apply erratum 2294912 workaround during reset. This erratum applies
484# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
485ERRATA_V1_2294912 ?=0
486
Bipin Ravi57b73d52022-06-14 17:09:23 -0500487# Flag to apply erratum 2372203 workaround during reset. This erratum applies
488# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
489ERRATA_V1_2372203 ?=0
490
nayanpatel-armfbcf54a2021-08-06 16:39:48 -0700491# Flag to apply erratum 1987031 workaround during reset. This erratum applies
492# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
493ERRATA_A710_1987031 ?=0
494
nayanpatel-arma64bcc22021-08-25 17:35:15 -0700495# Flag to apply erratum 2081180 workaround during reset. This erratum applies
496# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
497ERRATA_A710_2081180 ?=0
498
nayanpatel-arm95fe1952021-09-16 15:27:53 -0700499# Flag to apply erratum 2083908 workaround during reset. This erratum applies
500# to revision r2p0 of the Cortex-A710 cpu and is still open.
501ERRATA_A710_2083908 ?=0
502
nayanpatel-arm744bdbf2021-09-22 12:35:03 -0700503# Flag to apply erratum 2058056 workaround during reset. This erratum applies
504# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
505ERRATA_A710_2058056 ?=0
506
johpow0183435632022-01-04 16:15:18 -0600507# Flag to apply erratum 2055002 workaround during reset. This erratum applies
508# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
509ERRATA_A710_2055002 ?=0
510
511# Flag to apply erratum 2017096 workaround during reset. This erratum applies
512# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
513ERRATA_A710_2017096 ?=0
514
515# Flag to apply erratum 2267065 workaround during reset. This erratum applies
516# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
517ERRATA_A710_2267065 ?=0
518
519# Flag to apply erratum 2136059 workaround during reset. This erratum applies
520# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
521ERRATA_A710_2136059 ?=0
522
johpow01ef934cd2022-02-28 18:34:04 -0600523# Flag to apply erratum 2282622 workaround during reset. This erratum applies
524# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
525ERRATA_A710_2282622 ?=0
526
johpow01af220eb2022-03-09 16:23:04 -0600527# Flag to apply erratum 2008768 workaround during reset. This erratum applies
528# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
529ERRATA_A710_2008768 ?=0
530
Bipin Ravi65e04f22021-03-30 16:08:32 -0500531# Flag to apply erratum 2067956 workaround during reset. This erratum applies
532# to revision r0p0 of the Neoverse N2 cpu and is still open.
533ERRATA_N2_2067956 ?=0
534
Bipin Ravi4618b2b2021-03-31 10:10:27 -0500535# Flag to apply erratum 2025414 workaround during reset. This erratum applies
536# to revision r0p0 of the Neoverse N2 cpu and is still open.
537ERRATA_N2_2025414 ?=0
538
Bipin Ravi7cfae932021-08-30 13:02:51 -0500539# Flag to apply erratum 2189731 workaround during reset. This erratum applies
540# to revision r0p0 of the Neoverse N2 cpu and is still open.
541ERRATA_N2_2189731 ?=0
542
Bipin Ravi1cafb082021-09-01 01:36:43 -0500543# Flag to apply erratum 2138956 workaround during reset. This erratum applies
544# to revision r0p0 of the Neoverse N2 cpu and is still open.
545ERRATA_N2_2138956 ?=0
546
nayanpatel-armef8f0c52021-09-28 09:46:45 -0700547# Flag to apply erratum 2138953 workaround during reset. This erratum applies
548# to revision r0p0 of the Neoverse N2 cpu and is still open.
549ERRATA_N2_2138953 ?=0
550
nayanpatel-arm5819e232021-10-06 15:31:24 -0700551# Flag to apply erratum 2242415 workaround during reset. This erratum applies
552# to revision r0p0 of the Neoverse N2 cpu and is still open.
553ERRATA_N2_2242415 ?=0
554
nayanpatel-armc9481852021-10-20 18:28:58 -0700555# Flag to apply erratum 2138958 workaround during reset. This erratum applies
556# to revision r0p0 of the Neoverse N2 cpu and is still open.
557ERRATA_N2_2138958 ?=0
558
nayanpatel-arm603806d2021-10-07 17:59:33 -0700559# Flag to apply erratum 2242400 workaround during reset. This erratum applies
560# to revision r0p0 of the Neoverse N2 cpu and is still open.
561ERRATA_N2_2242400 ?=0
562
nayanpatel-arm0d2d9992021-10-20 17:30:46 -0700563# Flag to apply erratum 2280757 workaround during reset. This erratum applies
564# to revision r0p0 of the Neoverse N2 cpu and is still open.
565ERRATA_N2_2280757 ?=0
566
Daniel Boulby884d5152022-07-06 14:33:13 +0100567# Flag to apply erratum 2388450 workaround during reset. This erratum applies
568# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
569ERRATA_N2_2388450 ?=0
570
johpow0134ee76d2021-12-02 13:25:50 -0600571# Flag to apply erratum 2002765 workaround during reset. This erratum applies
572# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravie7ca4432022-01-20 00:01:04 -0600573ERRATA_X2_2002765 ?=0
johpow0134ee76d2021-12-02 13:25:50 -0600574
johpow01e16045d2021-12-03 11:27:33 -0600575# Flag to apply erratum 2058056 workaround during reset. This erratum applies
576# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravie7ca4432022-01-20 00:01:04 -0600577ERRATA_X2_2058056 ?=0
johpow01e16045d2021-12-03 11:27:33 -0600578
johpow011db6cd62021-12-01 17:40:39 -0600579# Flag to apply erratum 2083908 workaround during reset. This erratum applies
580# to revision r2p0 of the Cortex-X2 cpu and is still open.
Bipin Ravie7ca4432022-01-20 00:01:04 -0600581ERRATA_X2_2083908 ?=0
582
583# Flag to apply erratum 2017096 workaround during reset. This erratum applies
584# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
585# r2p1.
586ERRATA_X2_2017096 ?=0
johpow011db6cd62021-12-01 17:40:39 -0600587
Bipin Ravic060b532022-01-20 00:42:05 -0600588# Flag to apply erratum 2081180 workaround during reset. This erratum applies
589# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
590# r2p1.
591ERRATA_X2_2081180 ?=0
592
Bipin Ravi4dff7592022-02-06 01:29:31 -0600593# Flag to apply erratum 2216384 workaround during reset. This erratum applies
594# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
595# r2p1.
596ERRATA_X2_2216384 ?=0
597
Bipin Ravi63446c22022-03-08 10:37:43 -0600598# Flag to apply erratum 2147715 workaround during reset. This erratum applies
599# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
600ERRATA_X2_2147715 ?=0
601
johpow0183435632022-01-04 16:15:18 -0600602# Flag to apply erratum 1922240 workaround during reset. This erratum applies
603# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
604ERRATA_A510_1922240 ?=0
605
johpow01d5e25122022-01-06 14:54:49 -0600606# Flag to apply erratum 2288014 workaround during reset. This erratum applies
607# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
608# fixed in r1p1.
609ERRATA_A510_2288014 ?=0
610
johpow01d48088a2022-01-07 17:12:31 -0600611# Flag to apply erratum 2042739 workaround during reset. This erratum applies
612# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
613ERRATA_A510_2042739 ?=0
614
johpow01e72bbe42022-01-11 17:54:41 -0600615# Flag to apply erratum 2041909 workaround during reset. This erratum applies
616# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
617# present in r0p0 and r0p1 but there is no workaround for those revisions.
618ERRATA_A510_2041909 ?=0
619
johpow017f304b02022-02-13 21:00:10 -0600620# Flag to apply erratum 2250311 workaround during reset. This erratum applies
621# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
622ERRATA_A510_2250311 ?=0
623
johpow01cc790182022-02-14 20:19:08 -0600624# Flag to apply erratum 2218950 workaround during reset. This erratum applies
625# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
626ERRATA_A510_2218950 ?=0
627
johpow01c0959d22022-02-15 22:55:22 -0600628# Flag to apply erratum 2172148 workaround during reset. This erratum applies
629# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
630ERRATA_A510_2172148 ?=0
631
Louis Mayencourt0e985d72019-04-09 16:29:01 +0100632# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
633# Applying the workaround results in higher DSU power consumption on idle.
634ERRATA_DSU_798953 ?=0
635
John Tsichritzis8a677182018-07-23 09:11:59 +0100636# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
637# the ACP interface and revision < r2p0. Applying the workaround results in
638# higher DSU power consumption on idle.
639ERRATA_DSU_936184 ?=0
640
Bipin Ravi7e3273e2021-12-22 14:35:21 -0600641# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
642# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
643# results in higher DSU power consumption on idle.
644ERRATA_DSU_2313941 ?=0
645
Joel Huttondd4cf2c2019-04-10 12:52:52 +0100646# Process ERRATA_A9_794073 flag
647$(eval $(call assert_boolean,ERRATA_A9_794073))
648$(eval $(call add_define,ERRATA_A9_794073))
649
Ambroise Vincent75a1ada2019-03-04 16:56:26 +0000650# Process ERRATA_A15_816470 flag
651$(eval $(call assert_boolean,ERRATA_A15_816470))
652$(eval $(call add_define,ERRATA_A15_816470))
653
Ambroise Vincent5f2c6902019-03-05 09:54:21 +0000654# Process ERRATA_A15_827671 flag
655$(eval $(call assert_boolean,ERRATA_A15_827671))
656$(eval $(call add_define,ERRATA_A15_827671))
657
Ambroise Vincent0b64c192019-02-28 16:23:53 +0000658# Process ERRATA_A17_852421 flag
659$(eval $(call assert_boolean,ERRATA_A17_852421))
660$(eval $(call add_define,ERRATA_A17_852421))
661
Ambroise Vincentbe10dcd2019-03-04 13:20:56 +0000662# Process ERRATA_A17_852423 flag
663$(eval $(call assert_boolean,ERRATA_A17_852423))
664$(eval $(call add_define,ERRATA_A17_852423))
665
Louis Mayencourtcba71b72019-04-05 16:25:25 +0100666# Process ERRATA_A35_855472 flag
667$(eval $(call assert_boolean,ERRATA_A35_855472))
668$(eval $(call add_define,ERRATA_A35_855472))
669
Ambroise Vincentbd393702019-02-21 14:16:24 +0000670# Process ERRATA_A53_819472 flag
671$(eval $(call assert_boolean,ERRATA_A53_819472))
672$(eval $(call add_define,ERRATA_A53_819472))
673
674# Process ERRATA_A53_824069 flag
675$(eval $(call assert_boolean,ERRATA_A53_824069))
676$(eval $(call add_define,ERRATA_A53_824069))
677
Jimmy Huang6b0d97b2015-07-29 20:55:31 +0800678# Process ERRATA_A53_826319 flag
679$(eval $(call assert_boolean,ERRATA_A53_826319))
680$(eval $(call add_define,ERRATA_A53_826319))
681
Ambroise Vincentbd393702019-02-21 14:16:24 +0000682# Process ERRATA_A53_827319 flag
683$(eval $(call assert_boolean,ERRATA_A53_827319))
684$(eval $(call add_define,ERRATA_A53_827319))
685
Douglas Raillarda94cc372017-06-19 15:38:02 +0100686# Process ERRATA_A53_835769 flag
687$(eval $(call assert_boolean,ERRATA_A53_835769))
688$(eval $(call add_define,ERRATA_A53_835769))
689
Jimmy Huang6b0d97b2015-07-29 20:55:31 +0800690# Process ERRATA_A53_836870 flag
691$(eval $(call assert_boolean,ERRATA_A53_836870))
692$(eval $(call add_define,ERRATA_A53_836870))
693
Douglas Raillarda94cc372017-06-19 15:38:02 +0100694# Process ERRATA_A53_843419 flag
695$(eval $(call assert_boolean,ERRATA_A53_843419))
696$(eval $(call add_define,ERRATA_A53_843419))
697
Andre Przywarab75dc0e2016-10-06 16:54:53 +0100698# Process ERRATA_A53_855873 flag
699$(eval $(call assert_boolean,ERRATA_A53_855873))
700$(eval $(call add_define,ERRATA_A53_855873))
701
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100702# Process ERRATA_A53_1530924 flag
703$(eval $(call assert_boolean,ERRATA_A53_1530924))
704$(eval $(call add_define,ERRATA_A53_1530924))
705
Ambroise Vincent1afeee92019-02-21 16:20:43 +0000706# Process ERRATA_A55_768277 flag
707$(eval $(call assert_boolean,ERRATA_A55_768277))
708$(eval $(call add_define,ERRATA_A55_768277))
709
Ambroise Vincenta6cc6612019-02-21 16:25:37 +0000710# Process ERRATA_A55_778703 flag
711$(eval $(call assert_boolean,ERRATA_A55_778703))
712$(eval $(call add_define,ERRATA_A55_778703))
713
Ambroise Vincent6ab87d22019-02-21 16:27:34 +0000714# Process ERRATA_A55_798797 flag
715$(eval $(call assert_boolean,ERRATA_A55_798797))
716$(eval $(call add_define,ERRATA_A55_798797))
717
Ambroise Vincent6e789732019-02-21 16:29:16 +0000718# Process ERRATA_A55_846532 flag
719$(eval $(call assert_boolean,ERRATA_A55_846532))
720$(eval $(call add_define,ERRATA_A55_846532))
721
Ambroise Vincent47949f32019-02-21 16:29:50 +0000722# Process ERRATA_A55_903758 flag
723$(eval $(call assert_boolean,ERRATA_A55_903758))
724$(eval $(call add_define,ERRATA_A55_903758))
725
Ambroise Vincent9af07df2019-05-28 09:52:48 +0100726# Process ERRATA_A55_1221012 flag
727$(eval $(call assert_boolean,ERRATA_A55_1221012))
728$(eval $(call add_define,ERRATA_A55_1221012))
729
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100730# Process ERRATA_A55_1530923 flag
731$(eval $(call assert_boolean,ERRATA_A55_1530923))
732$(eval $(call add_define,ERRATA_A55_1530923))
733
Soby Mathewd9bdaf22014-08-14 16:19:29 +0100734# Process ERRATA_A57_806969 flag
735$(eval $(call assert_boolean,ERRATA_A57_806969))
736$(eval $(call add_define,ERRATA_A57_806969))
737
Antonio Nino Diazccbec912017-02-24 11:39:22 +0000738# Process ERRATA_A57_813419 flag
739$(eval $(call assert_boolean,ERRATA_A57_813419))
740$(eval $(call add_define,ERRATA_A57_813419))
741
Soby Mathewd9bdaf22014-08-14 16:19:29 +0100742# Process ERRATA_A57_813420 flag
743$(eval $(call assert_boolean,ERRATA_A57_813420))
744$(eval $(call add_define,ERRATA_A57_813420))
Sandrine Bailleuxdf22d602016-04-14 13:32:31 +0100745
Ambroise Vincent0f6fbbd2019-02-21 16:35:07 +0000746# Process ERRATA_A57_814670 flag
747$(eval $(call assert_boolean,ERRATA_A57_814670))
748$(eval $(call add_define,ERRATA_A57_814670))
749
Ambroise Vincent5bd2c242019-02-21 16:35:49 +0000750# Process ERRATA_A57_817169 flag
751$(eval $(call assert_boolean,ERRATA_A57_817169))
752$(eval $(call add_define,ERRATA_A57_817169))
753
Sandrine Bailleuxdf22d602016-04-14 13:32:31 +0100754# Process ERRATA_A57_826974 flag
755$(eval $(call assert_boolean,ERRATA_A57_826974))
756$(eval $(call add_define,ERRATA_A57_826974))
Sandrine Bailleuxa8b1c762016-04-14 14:04:48 +0100757
Sandrine Bailleux07288862016-04-14 14:24:13 +0100758# Process ERRATA_A57_826977 flag
759$(eval $(call assert_boolean,ERRATA_A57_826977))
760$(eval $(call add_define,ERRATA_A57_826977))
761
Sandrine Bailleuxa8b1c762016-04-14 14:04:48 +0100762# Process ERRATA_A57_828024 flag
763$(eval $(call assert_boolean,ERRATA_A57_828024))
764$(eval $(call add_define,ERRATA_A57_828024))
Sandrine Bailleux0b771972016-04-14 14:18:07 +0100765
766# Process ERRATA_A57_829520 flag
767$(eval $(call assert_boolean,ERRATA_A57_829520))
768$(eval $(call add_define,ERRATA_A57_829520))
Sandrine Bailleuxadeecf92016-04-21 11:10:52 +0100769
770# Process ERRATA_A57_833471 flag
771$(eval $(call assert_boolean,ERRATA_A57_833471))
772$(eval $(call add_define,ERRATA_A57_833471))
Douglas Raillarda94cc372017-06-19 15:38:02 +0100773
Eleanor Bonnici45b52c22017-08-02 16:35:04 +0100774# Process ERRATA_A57_859972 flag
775$(eval $(call assert_boolean,ERRATA_A57_859972))
776$(eval $(call add_define,ERRATA_A57_859972))
777
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100778# Process ERRATA_A57_1319537 flag
779$(eval $(call assert_boolean,ERRATA_A57_1319537))
780$(eval $(call add_define,ERRATA_A57_1319537))
781
Eleanor Bonnici6de9b332017-08-02 18:33:41 +0100782# Process ERRATA_A72_859971 flag
783$(eval $(call assert_boolean,ERRATA_A72_859971))
784$(eval $(call add_define,ERRATA_A72_859971))
785
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100786# Process ERRATA_A72_1319367 flag
787$(eval $(call assert_boolean,ERRATA_A72_1319367))
788$(eval $(call add_define,ERRATA_A72_1319367))
789
Louis Mayencourt25278ea2019-02-27 14:24:16 +0000790# Process ERRATA_A73_852427 flag
791$(eval $(call assert_boolean,ERRATA_A73_852427))
792$(eval $(call add_define,ERRATA_A73_852427))
793
Louis Mayencourte6cab152019-02-21 16:38:16 +0000794# Process ERRATA_A73_855423 flag
795$(eval $(call assert_boolean,ERRATA_A73_855423))
796$(eval $(call add_define,ERRATA_A73_855423))
797
Louis Mayencourt5f5d1ed2019-02-20 12:11:41 +0000798# Process ERRATA_A75_764081 flag
799$(eval $(call assert_boolean,ERRATA_A75_764081))
800$(eval $(call add_define,ERRATA_A75_764081))
801
Louis Mayencourt98551592019-02-25 14:57:57 +0000802# Process ERRATA_A75_790748 flag
803$(eval $(call assert_boolean,ERRATA_A75_790748))
804$(eval $(call add_define,ERRATA_A75_790748))
805
Louis Mayencourt5c6aa012019-02-25 15:17:44 +0000806# Process ERRATA_A76_1073348 flag
807$(eval $(call assert_boolean,ERRATA_A76_1073348))
808$(eval $(call add_define,ERRATA_A76_1073348))
809
Louis Mayencourt508d7112019-02-21 17:35:07 +0000810# Process ERRATA_A76_1130799 flag
811$(eval $(call assert_boolean,ERRATA_A76_1130799))
812$(eval $(call add_define,ERRATA_A76_1130799))
813
Louis Mayencourt5cc8c7b2019-02-25 11:37:38 +0000814# Process ERRATA_A76_1220197 flag
815$(eval $(call assert_boolean,ERRATA_A76_1220197))
816$(eval $(call add_define,ERRATA_A76_1220197))
817
Soby Mathewe6e1d0a2019-05-01 09:43:18 +0100818# Process ERRATA_A76_1257314 flag
819$(eval $(call assert_boolean,ERRATA_A76_1257314))
820$(eval $(call add_define,ERRATA_A76_1257314))
821
822# Process ERRATA_A76_1262606 flag
823$(eval $(call assert_boolean,ERRATA_A76_1262606))
824$(eval $(call add_define,ERRATA_A76_1262606))
825
826# Process ERRATA_A76_1262888 flag
827$(eval $(call assert_boolean,ERRATA_A76_1262888))
828$(eval $(call add_define,ERRATA_A76_1262888))
829
830# Process ERRATA_A76_1275112 flag
831$(eval $(call assert_boolean,ERRATA_A76_1275112))
832$(eval $(call add_define,ERRATA_A76_1275112))
833
Soby Mathewf85edce2019-05-03 13:17:56 +0100834# Process ERRATA_A76_1286807 flag
835$(eval $(call assert_boolean,ERRATA_A76_1286807))
836$(eval $(call add_define,ERRATA_A76_1286807))
837
johpow01d7b08e62020-05-29 14:17:38 -0500838# Process ERRATA_A76_1791580 flag
839$(eval $(call assert_boolean,ERRATA_A76_1791580))
840$(eval $(call add_define,ERRATA_A76_1791580))
841
Manish V Badarkhee1c49332020-08-03 18:43:14 +0100842# Process ERRATA_A76_1165522 flag
843$(eval $(call assert_boolean,ERRATA_A76_1165522))
844$(eval $(call add_define,ERRATA_A76_1165522))
845
johpow0155ff05f2020-09-29 17:19:09 -0500846# Process ERRATA_A76_1868343 flag
847$(eval $(call assert_boolean,ERRATA_A76_1868343))
848$(eval $(call add_define,ERRATA_A76_1868343))
849
johpow013f0d8362020-12-15 19:02:18 -0600850# Process ERRATA_A76_1946160 flag
851$(eval $(call assert_boolean,ERRATA_A76_1946160))
852$(eval $(call add_define,ERRATA_A76_1946160))
853
laurenw-armaa3efe32020-07-14 14:18:34 -0500854# Process ERRATA_A77_1508412 flag
855$(eval $(call assert_boolean,ERRATA_A77_1508412))
856$(eval $(call add_define,ERRATA_A77_1508412))
857
johpow0135c75372020-09-10 13:39:26 -0500858# Process ERRATA_A77_1925769 flag
859$(eval $(call assert_boolean,ERRATA_A77_1925769))
860$(eval $(call add_define,ERRATA_A77_1925769))
861
laurenw-arma492edc42021-03-23 13:09:35 -0500862# Process ERRATA_A77_1946167 flag
863$(eval $(call assert_boolean,ERRATA_A77_1946167))
864$(eval $(call add_define,ERRATA_A77_1946167))
865
johpow013f0bec72021-05-03 13:37:13 -0500866# Process ERRATA_A77_1791578 flag
867$(eval $(call assert_boolean,ERRATA_A77_1791578))
868$(eval $(call add_define,ERRATA_A77_1791578))
869
Bipin Ravi7bf1a7a2022-06-08 15:27:00 -0500870# Process ERRATA_A77_2356587 flag
871$(eval $(call assert_boolean,ERRATA_A77_2356587))
872$(eval $(call add_define,ERRATA_A77_2356587))
873
Jimmy Brisson3f357092020-06-01 10:18:22 -0500874# Process ERRATA_A78_1688305 flag
875$(eval $(call assert_boolean,ERRATA_A78_1688305))
876$(eval $(call add_define,ERRATA_A78_1688305))
Madhukar Pappireddy83e95522019-12-18 15:56:27 -0600877
johpow01e26c59d2020-10-06 17:55:25 -0500878# Process ERRATA_A78_1941498 flag
879$(eval $(call assert_boolean,ERRATA_A78_1941498))
880$(eval $(call add_define,ERRATA_A78_1941498))
881
johpow013a2710d2020-10-07 15:08:01 -0500882# Process ERRATA_A78_1951500 flag
883$(eval $(call assert_boolean,ERRATA_A78_1951500))
884$(eval $(call add_define,ERRATA_A78_1951500))
885
johpow011a691452021-04-30 18:08:52 -0500886# Process ERRATA_A78_1821534 flag
887$(eval $(call assert_boolean,ERRATA_A78_1821534))
888$(eval $(call add_define,ERRATA_A78_1821534))
889
nayanpatel-arm00bee992021-08-11 13:33:00 -0700890# Process ERRATA_A78_1952683 flag
891$(eval $(call assert_boolean,ERRATA_A78_1952683))
892$(eval $(call add_define,ERRATA_A78_1952683))
893
nayanpatel-armb36fe212021-09-28 17:31:50 -0700894# Process ERRATA_A78_2132060 flag
895$(eval $(call assert_boolean,ERRATA_A78_2132060))
896$(eval $(call add_define,ERRATA_A78_2132060))
897
johpow011ea91902021-09-02 17:53:30 -0500898# Process ERRATA_A78_2242635 flag
899$(eval $(call assert_boolean,ERRATA_A78_2242635))
900$(eval $(call add_define,ERRATA_A78_2242635))
901
John Powell5d796b32022-05-03 15:22:57 -0500902# Process ERRATA_A78_2376745 flag
903$(eval $(call assert_boolean,ERRATA_A78_2376745))
904$(eval $(call add_define,ERRATA_A78_2376745))
905
John Powell3b577ed2022-05-03 15:52:11 -0500906# Process ERRATA_A78_2395406 flag
907$(eval $(call assert_boolean,ERRATA_A78_2395406))
908$(eval $(call add_define,ERRATA_A78_2395406))
909
johpow011ea91902021-09-02 17:53:30 -0500910# Process ERRATA_A78_AE_1941500 flag
911$(eval $(call assert_boolean,ERRATA_A78_AE_1941500))
912$(eval $(call add_define,ERRATA_A78_AE_1941500))
913
914# Process ERRATA_A78_AE_1951502 flag
915$(eval $(call assert_boolean,ERRATA_A78_AE_1951502))
916$(eval $(call add_define,ERRATA_A78_AE_1951502))
917
Varun Wadekar92e87082022-03-09 22:04:00 +0000918# Process ERRATA_A78_AE_2376748 flag
919$(eval $(call assert_boolean,ERRATA_A78_AE_2376748))
920$(eval $(call add_define,ERRATA_A78_AE_2376748))
921
Varun Wadekar3f4d81d2022-03-09 22:20:32 +0000922# Process ERRATA_A78_AE_2395408 flag
923$(eval $(call assert_boolean,ERRATA_A78_AE_2395408))
924$(eval $(call add_define,ERRATA_A78_AE_2395408))
925
laurenw-arm8008bab2022-07-12 10:43:52 -0500926# Process ERRATA_A78C_2132064 flag
927$(eval $(call assert_boolean,ERRATA_A78C_2132064))
928$(eval $(call add_define,ERRATA_A78C_2132064))
929
Bipin Ravi6979f472022-07-15 17:20:16 -0500930# Process ERRATA_A78C_2242638 flag
931$(eval $(call assert_boolean,ERRATA_A78C_2242638))
932$(eval $(call add_define,ERRATA_A78C_2242638))
933
Okash Khawaja7b76c202022-04-21 12:20:21 +0100934# Process ERRATA_X1_1821534 flag
935$(eval $(call assert_boolean,ERRATA_X1_1821534))
936$(eval $(call add_define,ERRATA_X1_1821534))
937
938# Process ERRATA_X1_1688305 flag
939$(eval $(call assert_boolean,ERRATA_X1_1688305))
940$(eval $(call add_define,ERRATA_X1_1688305))
941
942# Process ERRATA_X1_1827429 flag
943$(eval $(call assert_boolean,ERRATA_X1_1827429))
944$(eval $(call add_define,ERRATA_X1_1827429))
945
John Tsichritzisda6d75a2019-02-19 13:49:06 +0000946# Process ERRATA_N1_1043202 flag
947$(eval $(call assert_boolean,ERRATA_N1_1043202))
948$(eval $(call add_define,ERRATA_N1_1043202))
Dimitris Papastamos040b5462018-03-26 16:46:01 +0100949
lauwal01a601afe2019-06-24 11:23:50 -0500950# Process ERRATA_N1_1073348 flag
951$(eval $(call assert_boolean,ERRATA_N1_1073348))
952$(eval $(call add_define,ERRATA_N1_1073348))
953
lauwal01e34606f2019-06-24 11:28:34 -0500954# Process ERRATA_N1_1130799 flag
955$(eval $(call assert_boolean,ERRATA_N1_1130799))
956$(eval $(call add_define,ERRATA_N1_1130799))
957
lauwal012017ab22019-06-24 11:32:40 -0500958# Process ERRATA_N1_1165347 flag
959$(eval $(call assert_boolean,ERRATA_N1_1165347))
960$(eval $(call add_define,ERRATA_N1_1165347))
961
lauwal01ef5fa7d2019-06-24 11:35:37 -0500962# Process ERRATA_N1_1207823 flag
963$(eval $(call assert_boolean,ERRATA_N1_1207823))
964$(eval $(call add_define,ERRATA_N1_1207823))
965
lauwal019eceb022019-06-24 11:38:53 -0500966# Process ERRATA_N1_1220197 flag
967$(eval $(call assert_boolean,ERRATA_N1_1220197))
968$(eval $(call add_define,ERRATA_N1_1220197))
969
lauwal01335b3c72019-06-24 11:42:02 -0500970# Process ERRATA_N1_1257314 flag
971$(eval $(call assert_boolean,ERRATA_N1_1257314))
972$(eval $(call add_define,ERRATA_N1_1257314))
973
lauwal01411f4952019-06-24 11:44:58 -0500974# Process ERRATA_N1_1262606 flag
975$(eval $(call assert_boolean,ERRATA_N1_1262606))
976$(eval $(call add_define,ERRATA_N1_1262606))
977
lauwal0111c48372019-06-24 11:47:30 -0500978# Process ERRATA_N1_1262888 flag
979$(eval $(call assert_boolean,ERRATA_N1_1262888))
980$(eval $(call add_define,ERRATA_N1_1262888))
981
lauwal014d8801f2019-06-24 11:49:01 -0500982# Process ERRATA_N1_1275112 flag
983$(eval $(call assert_boolean,ERRATA_N1_1275112))
984$(eval $(call add_define,ERRATA_N1_1275112))
985
Andre Przywara5f5d0762019-05-20 14:57:06 +0100986# Process ERRATA_N1_1315703 flag
987$(eval $(call assert_boolean,ERRATA_N1_1315703))
988$(eval $(call add_define,ERRATA_N1_1315703))
989
laurenw-arm80942622019-08-20 15:51:24 -0500990# Process ERRATA_N1_1542419 flag
991$(eval $(call assert_boolean,ERRATA_N1_1542419))
992$(eval $(call add_define,ERRATA_N1_1542419))
993
johpow0161f0ffc2020-08-05 12:27:12 -0500994# Process ERRATA_N1_1868343 flag
995$(eval $(call assert_boolean,ERRATA_N1_1868343))
996$(eval $(call add_define,ERRATA_N1_1868343))
997
johpow01263ee782020-10-07 14:33:15 -0500998# Process ERRATA_N1_1946160 flag
999$(eval $(call assert_boolean,ERRATA_N1_1946160))
1000$(eval $(call add_define,ERRATA_N1_1946160))
1001
nayanpatel-arm9380f752021-08-06 17:46:10 -07001002# Process ERRATA_N2_2002655 flag
1003$(eval $(call assert_boolean,ERRATA_N2_2002655))
1004$(eval $(call add_define,ERRATA_N2_2002655))
1005
laurenw-arm4789cf62021-08-02 13:22:32 -05001006# Process ERRATA_V1_1774420 flag
1007$(eval $(call assert_boolean,ERRATA_V1_1774420))
1008$(eval $(call add_define,ERRATA_V1_1774420))
1009
johpow0133e3e922021-05-03 15:33:39 -05001010# Process ERRATA_V1_1791573 flag
1011$(eval $(call assert_boolean,ERRATA_V1_1791573))
1012$(eval $(call add_define,ERRATA_V1_1791573))
1013
laurenw-arm143b1962021-08-02 14:40:08 -05001014# Process ERRATA_V1_1852267 flag
1015$(eval $(call assert_boolean,ERRATA_V1_1852267))
1016$(eval $(call add_define,ERRATA_V1_1852267))
1017
laurenw-arm741dd042021-08-02 15:00:15 -05001018# Process ERRATA_V1_1925756 flag
1019$(eval $(call assert_boolean,ERRATA_V1_1925756))
1020$(eval $(call add_define,ERRATA_V1_1925756))
1021
johpow01182ce102020-10-07 16:38:37 -05001022# Process ERRATA_V1_1940577 flag
1023$(eval $(call assert_boolean,ERRATA_V1_1940577))
1024$(eval $(call add_define,ERRATA_V1_1940577))
1025
johpow011a8804c2021-08-02 18:59:08 -05001026# Process ERRATA_V1_1966096 flag
1027$(eval $(call assert_boolean,ERRATA_V1_1966096))
1028$(eval $(call add_define,ERRATA_V1_1966096))
1029
johpow01100d4022021-08-03 14:35:20 -05001030# Process ERRATA_V1_2139242 flag
1031$(eval $(call assert_boolean,ERRATA_V1_2139242))
1032$(eval $(call add_define,ERRATA_V1_2139242))
1033
nayanpatel-arm8e140272021-09-28 13:41:03 -07001034# Process ERRATA_V1_2108267 flag
1035$(eval $(call assert_boolean,ERRATA_V1_2108267))
1036$(eval $(call add_define,ERRATA_V1_2108267))
1037
johpow014c8fe6b2021-09-02 18:29:17 -05001038# Process ERRATA_V1_2216392 flag
1039$(eval $(call assert_boolean,ERRATA_V1_2216392))
1040$(eval $(call add_define,ERRATA_V1_2216392))
1041
Bipin Ravi39eb5dd2022-06-08 16:28:46 -05001042# Process ERRATA_V1_2294912 flag
1043$(eval $(call assert_boolean,ERRATA_V1_2294912))
1044$(eval $(call add_define,ERRATA_V1_2294912))
1045
Bipin Ravi57b73d52022-06-14 17:09:23 -05001046# Process ERRATA_V1_2372203 flag
1047$(eval $(call assert_boolean,ERRATA_V1_2372203))
1048$(eval $(call add_define,ERRATA_V1_2372203))
1049
nayanpatel-armfbcf54a2021-08-06 16:39:48 -07001050# Process ERRATA_A710_1987031 flag
1051$(eval $(call assert_boolean,ERRATA_A710_1987031))
1052$(eval $(call add_define,ERRATA_A710_1987031))
1053
nayanpatel-arma64bcc22021-08-25 17:35:15 -07001054# Process ERRATA_A710_2081180 flag
1055$(eval $(call assert_boolean,ERRATA_A710_2081180))
1056$(eval $(call add_define,ERRATA_A710_2081180))
1057
nayanpatel-arm95fe1952021-09-16 15:27:53 -07001058# Process ERRATA_A710_2083908 flag
1059$(eval $(call assert_boolean,ERRATA_A710_2083908))
1060$(eval $(call add_define,ERRATA_A710_2083908))
1061
nayanpatel-arm744bdbf2021-09-22 12:35:03 -07001062# Process ERRATA_A710_2058056 flag
1063$(eval $(call assert_boolean,ERRATA_A710_2058056))
1064$(eval $(call add_define,ERRATA_A710_2058056))
1065
johpow0183435632022-01-04 16:15:18 -06001066# Process ERRATA_A710_2055002 flag
1067$(eval $(call assert_boolean,ERRATA_A710_2055002))
1068$(eval $(call add_define,ERRATA_A710_2055002))
1069
1070# Process ERRATA_A710_2017096 flag
1071$(eval $(call assert_boolean,ERRATA_A710_2017096))
1072$(eval $(call add_define,ERRATA_A710_2017096))
1073
1074# Process ERRATA_A710_2267065 flag
1075$(eval $(call assert_boolean,ERRATA_A710_2267065))
1076$(eval $(call add_define,ERRATA_A710_2267065))
1077
1078# Process ERRATA_A710_2136059 flag
1079$(eval $(call assert_boolean,ERRATA_A710_2136059))
1080$(eval $(call add_define,ERRATA_A710_2136059))
1081
johpow01ef934cd2022-02-28 18:34:04 -06001082# Process ERRATA_A710_2282622 flag
1083$(eval $(call assert_boolean,ERRATA_A710_2282622))
1084$(eval $(call add_define,ERRATA_A710_2282622))
1085
johpow01af220eb2022-03-09 16:23:04 -06001086# Process ERRATA_A710_2008768 flag
1087$(eval $(call assert_boolean,ERRATA_A710_2008768))
1088$(eval $(call add_define,ERRATA_A710_2008768))
1089
Bipin Ravi65e04f22021-03-30 16:08:32 -05001090# Process ERRATA_N2_2067956 flag
1091$(eval $(call assert_boolean,ERRATA_N2_2067956))
1092$(eval $(call add_define,ERRATA_N2_2067956))
1093
Bipin Ravi4618b2b2021-03-31 10:10:27 -05001094# Process ERRATA_N2_2025414 flag
1095$(eval $(call assert_boolean,ERRATA_N2_2025414))
1096$(eval $(call add_define,ERRATA_N2_2025414))
1097
Bipin Ravi7cfae932021-08-30 13:02:51 -05001098# Process ERRATA_N2_2189731 flag
1099$(eval $(call assert_boolean,ERRATA_N2_2189731))
1100$(eval $(call add_define,ERRATA_N2_2189731))
1101
Bipin Ravi1cafb082021-09-01 01:36:43 -05001102# Process ERRATA_N2_2138956 flag
1103$(eval $(call assert_boolean,ERRATA_N2_2138956))
1104$(eval $(call add_define,ERRATA_N2_2138956))
1105
nayanpatel-armef8f0c52021-09-28 09:46:45 -07001106# Process ERRATA_N2_2138953 flag
1107$(eval $(call assert_boolean,ERRATA_N2_2138953))
1108$(eval $(call add_define,ERRATA_N2_2138953))
1109
nayanpatel-arm5819e232021-10-06 15:31:24 -07001110# Process ERRATA_N2_2242415 flag
1111$(eval $(call assert_boolean,ERRATA_N2_2242415))
1112$(eval $(call add_define,ERRATA_N2_2242415))
1113
nayanpatel-armc9481852021-10-20 18:28:58 -07001114# Process ERRATA_N2_2138958 flag
1115$(eval $(call assert_boolean,ERRATA_N2_2138958))
1116$(eval $(call add_define,ERRATA_N2_2138958))
1117
nayanpatel-arm603806d2021-10-07 17:59:33 -07001118# Process ERRATA_N2_2242400 flag
1119$(eval $(call assert_boolean,ERRATA_N2_2242400))
1120$(eval $(call add_define,ERRATA_N2_2242400))
1121
nayanpatel-arm0d2d9992021-10-20 17:30:46 -07001122# Process ERRATA_N2_2280757 flag
1123$(eval $(call assert_boolean,ERRATA_N2_2280757))
1124$(eval $(call add_define,ERRATA_N2_2280757))
1125
Daniel Boulby884d5152022-07-06 14:33:13 +01001126# Process ERRATA_N2_2388450 flag
1127$(eval $(call assert_boolean,ERRATA_N2_2388450))
1128$(eval $(call add_define,ERRATA_N2_2388450))
1129
johpow0134ee76d2021-12-02 13:25:50 -06001130# Process ERRATA_X2_2002765 flag
1131$(eval $(call assert_boolean,ERRATA_X2_2002765))
1132$(eval $(call add_define,ERRATA_X2_2002765))
1133
johpow01e16045d2021-12-03 11:27:33 -06001134# Process ERRATA_X2_2058056 flag
1135$(eval $(call assert_boolean,ERRATA_X2_2058056))
1136$(eval $(call add_define,ERRATA_X2_2058056))
1137
johpow011db6cd62021-12-01 17:40:39 -06001138# Process ERRATA_X2_2083908 flag
1139$(eval $(call assert_boolean,ERRATA_X2_2083908))
1140$(eval $(call add_define,ERRATA_X2_2083908))
1141
Bipin Ravie7ca4432022-01-20 00:01:04 -06001142# Process ERRATA_X2_2017096 flag
1143$(eval $(call assert_boolean,ERRATA_X2_2017096))
1144$(eval $(call add_define,ERRATA_X2_2017096))
1145
Bipin Ravic060b532022-01-20 00:42:05 -06001146# Process ERRATA_X2_2081180 flag
1147$(eval $(call assert_boolean,ERRATA_X2_2081180))
1148$(eval $(call add_define,ERRATA_X2_2081180))
1149
Bipin Ravi4dff7592022-02-06 01:29:31 -06001150# Process ERRATA_X2_2216384 flag
1151$(eval $(call assert_boolean,ERRATA_X2_2216384))
1152$(eval $(call add_define,ERRATA_X2_2216384))
1153
Bipin Ravi63446c22022-03-08 10:37:43 -06001154# Process ERRATA_X2_2147715 flag
1155$(eval $(call assert_boolean,ERRATA_X2_2147715))
1156$(eval $(call add_define,ERRATA_X2_2147715))
1157
johpow0183435632022-01-04 16:15:18 -06001158# Process ERRATA_A510_1922240 flag
1159$(eval $(call assert_boolean,ERRATA_A510_1922240))
1160$(eval $(call add_define,ERRATA_A510_1922240))
1161
johpow01d5e25122022-01-06 14:54:49 -06001162# Process ERRATA_A510_2288014 flag
1163$(eval $(call assert_boolean,ERRATA_A510_2288014))
1164$(eval $(call add_define,ERRATA_A510_2288014))
1165
johpow01d48088a2022-01-07 17:12:31 -06001166# Process ERRATA_A510_2042739 flag
1167$(eval $(call assert_boolean,ERRATA_A510_2042739))
1168$(eval $(call add_define,ERRATA_A510_2042739))
1169
johpow01e72bbe42022-01-11 17:54:41 -06001170# Process ERRATA_A510_2041909 flag
1171$(eval $(call assert_boolean,ERRATA_A510_2041909))
1172$(eval $(call add_define,ERRATA_A510_2041909))
1173
johpow017f304b02022-02-13 21:00:10 -06001174# Process ERRATA_A510_2250311 flag
1175$(eval $(call assert_boolean,ERRATA_A510_2250311))
1176$(eval $(call add_define,ERRATA_A510_2250311))
1177
johpow01cc790182022-02-14 20:19:08 -06001178# Process ERRATA_A510_2218950 flag
1179$(eval $(call assert_boolean,ERRATA_A510_2218950))
1180$(eval $(call add_define,ERRATA_A510_2218950))
1181
johpow01c0959d22022-02-15 22:55:22 -06001182# Process ERRATA_A510_2172148 flag
1183$(eval $(call assert_boolean,ERRATA_A510_2172148))
1184$(eval $(call add_define,ERRATA_A510_2172148))
1185
Louis Mayencourt0e985d72019-04-09 16:29:01 +01001186# Process ERRATA_DSU_798953 flag
1187$(eval $(call assert_boolean,ERRATA_DSU_798953))
1188$(eval $(call add_define,ERRATA_DSU_798953))
1189
John Tsichritzis8a677182018-07-23 09:11:59 +01001190# Process ERRATA_DSU_936184 flag
1191$(eval $(call assert_boolean,ERRATA_DSU_936184))
1192$(eval $(call add_define,ERRATA_DSU_936184))
1193
Bipin Ravi7e3273e2021-12-22 14:35:21 -06001194# Process ERRATA_DSU_2313941 flag
1195$(eval $(call assert_boolean,ERRATA_DSU_2313941))
1196$(eval $(call add_define,ERRATA_DSU_2313941))
1197
Douglas Raillarda94cc372017-06-19 15:38:02 +01001198# Errata build flags
1199ifneq (${ERRATA_A53_843419},0)
Douglas Raillardc2b88062017-06-22 14:44:48 +01001200TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419
Douglas Raillarda94cc372017-06-19 15:38:02 +01001201endif
1202
1203ifneq (${ERRATA_A53_835769},0)
1204TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769
Douglas Raillardc2b88062017-06-22 14:44:48 +01001205TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769
Douglas Raillarda94cc372017-06-19 15:38:02 +01001206endif
Manish V Badarkhee1c49332020-08-03 18:43:14 +01001207
1208ifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \
1209 ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1210ERRATA_SPECULATIVE_AT := 1
1211else
1212ERRATA_SPECULATIVE_AT := 0
1213endif