xref: /rk3399_ARM-atf/lib/cpus/cpu-ops.mk (revision c948185c973c13df36c62c4bcb50e22b14d6e06a)
15541bb3fSSoby Mathew#
2e26c59d2Sjohpow01# Copyright (c) 2014-2021, ARM Limited and Contributors. All rights reserved.
38913047aSVarun Wadekar# Copyright (c) 2020-2021, NVIDIA Corporation. All rights reserved.
45541bb3fSSoby Mathew#
582cb2c1aSdp-arm# SPDX-License-Identifier: BSD-3-Clause
65541bb3fSSoby Mathew#
75541bb3fSSoby Mathew
85541bb3fSSoby Mathew# Cortex A57 specific optimisation to skip L1 cache flush when
95541bb3fSSoby Mathew# cluster is powered down.
105541bb3fSSoby MathewSKIP_A57_L1_FLUSH_PWR_DWN	?=0
115541bb3fSSoby Mathew
1254035fc4SSandrine Bailleux# Flag to disable the cache non-temporal hint.
1354035fc4SSandrine Bailleux# It is enabled by default.
1454035fc4SSandrine BailleuxA53_DISABLE_NON_TEMPORAL_HINT	?=1
1554035fc4SSandrine Bailleux
1654035fc4SSandrine Bailleux# Flag to disable the cache non-temporal hint.
1754035fc4SSandrine Bailleux# It is enabled by default.
1854035fc4SSandrine BailleuxA57_DISABLE_NON_TEMPORAL_HINT	?=1
1954035fc4SSandrine Bailleux
20cd0ea184SVarun Wadekar# Flag to enable higher performance non-cacheable load forwarding.
21cd0ea184SVarun Wadekar# It is disabled by default.
22cd0ea184SVarun WadekarA57_ENABLE_NONCACHEABLE_LOAD_FWD	?= 0
23cd0ea184SVarun Wadekar
24f62ad322SDimitris PapastamosWORKAROUND_CVE_2017_5715	?=1
25b8a25bbbSDimitris PapastamosWORKAROUND_CVE_2018_3639	?=1
26fe007b2eSDimitris PapastamosDYNAMIC_WORKAROUND_CVE_2018_3639	?=0
27f62ad322SDimitris Papastamos
2825bbbd2dSJavier Almansa Sobrino# Flags to indicate internal or external Last level cache
29f2d6b4eeSManish Pandey# By default internal
3025bbbd2dSJavier Almansa SobrinoNEOVERSE_Nx_EXTERNAL_LLC	?=0
31f2d6b4eeSManish Pandey
32cd0ea184SVarun Wadekar# Process A57_ENABLE_NONCACHEABLE_LOAD_FWD flag
33cd0ea184SVarun Wadekar$(eval $(call assert_boolean,A57_ENABLE_NONCACHEABLE_LOAD_FWD))
34cd0ea184SVarun Wadekar$(eval $(call add_define,A57_ENABLE_NONCACHEABLE_LOAD_FWD))
35cd0ea184SVarun Wadekar
365541bb3fSSoby Mathew# Process SKIP_A57_L1_FLUSH_PWR_DWN flag
375541bb3fSSoby Mathew$(eval $(call assert_boolean,SKIP_A57_L1_FLUSH_PWR_DWN))
385541bb3fSSoby Mathew$(eval $(call add_define,SKIP_A57_L1_FLUSH_PWR_DWN))
395541bb3fSSoby Mathew
4054035fc4SSandrine Bailleux# Process A53_DISABLE_NON_TEMPORAL_HINT flag
4154035fc4SSandrine Bailleux$(eval $(call assert_boolean,A53_DISABLE_NON_TEMPORAL_HINT))
4254035fc4SSandrine Bailleux$(eval $(call add_define,A53_DISABLE_NON_TEMPORAL_HINT))
4354035fc4SSandrine Bailleux
4454035fc4SSandrine Bailleux# Process A57_DISABLE_NON_TEMPORAL_HINT flag
4554035fc4SSandrine Bailleux$(eval $(call assert_boolean,A57_DISABLE_NON_TEMPORAL_HINT))
4654035fc4SSandrine Bailleux$(eval $(call add_define,A57_DISABLE_NON_TEMPORAL_HINT))
4754035fc4SSandrine Bailleux
48f62ad322SDimitris Papastamos# Process WORKAROUND_CVE_2017_5715 flag
49f62ad322SDimitris Papastamos$(eval $(call assert_boolean,WORKAROUND_CVE_2017_5715))
50f62ad322SDimitris Papastamos$(eval $(call add_define,WORKAROUND_CVE_2017_5715))
515541bb3fSSoby Mathew
52b8a25bbbSDimitris Papastamos# Process WORKAROUND_CVE_2018_3639 flag
53b8a25bbbSDimitris Papastamos$(eval $(call assert_boolean,WORKAROUND_CVE_2018_3639))
54b8a25bbbSDimitris Papastamos$(eval $(call add_define,WORKAROUND_CVE_2018_3639))
55b8a25bbbSDimitris Papastamos
56fe007b2eSDimitris Papastamos$(eval $(call assert_boolean,DYNAMIC_WORKAROUND_CVE_2018_3639))
57fe007b2eSDimitris Papastamos$(eval $(call add_define,DYNAMIC_WORKAROUND_CVE_2018_3639))
58fe007b2eSDimitris Papastamos
5925bbbd2dSJavier Almansa Sobrino$(eval $(call assert_boolean,NEOVERSE_Nx_EXTERNAL_LLC))
6025bbbd2dSJavier Almansa Sobrino$(eval $(call add_define,NEOVERSE_Nx_EXTERNAL_LLC))
61f2d6b4eeSManish Pandey
62fe007b2eSDimitris Papastamosifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
63fe007b2eSDimitris Papastamos    ifeq (${WORKAROUND_CVE_2018_3639},0)
64fe007b2eSDimitris Papastamos        $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1")
65fe007b2eSDimitris Papastamos    endif
66fe007b2eSDimitris Papastamosendif
67fe007b2eSDimitris Papastamos
68097b787aSSandrine Bailleux# CPU Errata Build flags.
69097b787aSSandrine Bailleux# These should be enabled by the platform if the erratum workaround needs to be
70097b787aSSandrine Bailleux# applied.
715541bb3fSSoby Mathew
72dd4cf2c7SJoel Hutton# Flag to apply erratum 794073 workaround when disabling mmu.
73dd4cf2c7SJoel HuttonERRATA_A9_794073	?=0
74dd4cf2c7SJoel Hutton
7575a1ada9SAmbroise Vincent# Flag to apply erratum 816470 workaround during power down. This erratum
7675a1ada9SAmbroise Vincent# applies only to revision >= r3p0 of the Cortex A15 cpu.
7775a1ada9SAmbroise VincentERRATA_A15_816470	?=0
7875a1ada9SAmbroise Vincent
795f2c690dSAmbroise Vincent# Flag to apply erratum 827671 workaround during reset. This erratum applies
805f2c690dSAmbroise Vincent# only to revision >= r3p0 of the Cortex A15 cpu.
815f2c690dSAmbroise VincentERRATA_A15_827671	?=0
825f2c690dSAmbroise Vincent
830b64c194SAmbroise Vincent# Flag to apply erratum 852421 workaround during reset. This erratum applies
840b64c194SAmbroise Vincent# only to revision <= r1p2 of the Cortex A17 cpu.
850b64c194SAmbroise VincentERRATA_A17_852421	?=0
860b64c194SAmbroise Vincent
87be10dcdeSAmbroise Vincent# Flag to apply erratum 852423 workaround during reset. This erratum applies
88be10dcdeSAmbroise Vincent# only to revision <= r1p2 of the Cortex A17 cpu.
89be10dcdeSAmbroise VincentERRATA_A17_852423	?=0
90be10dcdeSAmbroise Vincent
91cba71b70SLouis Mayencourt# Flag to apply erratum 855472 workaround during reset. This erratum applies
92cba71b70SLouis Mayencourt# only to revision r0p0 of the Cortex A35 cpu.
93cba71b70SLouis MayencourtERRATA_A35_855472	?=0
94cba71b70SLouis Mayencourt
95bd393704SAmbroise Vincent# Flag to apply erratum 819472 workaround during reset. This erratum applies
96bd393704SAmbroise Vincent# only to revision <= r0p1 of the Cortex A53 cpu.
97bd393704SAmbroise VincentERRATA_A53_819472	?=0
98bd393704SAmbroise Vincent
99bd393704SAmbroise Vincent# Flag to apply erratum 824069 workaround during reset. This erratum applies
100bd393704SAmbroise Vincent# only to revision <= r0p2 of the Cortex A53 cpu.
101bd393704SAmbroise VincentERRATA_A53_824069	?=0
102bd393704SAmbroise Vincent
103097b787aSSandrine Bailleux# Flag to apply erratum 826319 workaround during reset. This erratum applies
104097b787aSSandrine Bailleux# only to revision <= r0p2 of the Cortex A53 cpu.
1056b0d97b2SJimmy HuangERRATA_A53_826319	?=0
1066b0d97b2SJimmy Huang
107bd393704SAmbroise Vincent# Flag to apply erratum 827319 workaround during reset. This erratum applies
108bd393704SAmbroise Vincent# only to revision <= r0p2 of the Cortex A53 cpu.
109bd393704SAmbroise VincentERRATA_A53_827319	?=0
110bd393704SAmbroise Vincent
111a94cc374SDouglas Raillard# Flag to apply erratum 835769 workaround at compile and link time.  This
112a94cc374SDouglas Raillard# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
113a94cc374SDouglas Raillard# workaround can lead the linker to create "*.stub" sections.
114a94cc374SDouglas RaillardERRATA_A53_835769	?=0
115a94cc374SDouglas Raillard
116097b787aSSandrine Bailleux# Flag to apply erratum 836870 workaround during reset. This erratum applies
117097b787aSSandrine Bailleux# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
1183fbe46d7SDouglas Raillard# erratum workaround is enabled by default in hardware.
1196b0d97b2SJimmy HuangERRATA_A53_836870	?=0
1206b0d97b2SJimmy Huang
121a94cc374SDouglas Raillard# Flag to apply erratum 843419 workaround at link time.
122a94cc374SDouglas Raillard# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
123a94cc374SDouglas Raillard# workaround could lead the linker to emit "*.stub" sections which are 4kB
124a94cc374SDouglas Raillard# aligned.
125a94cc374SDouglas RaillardERRATA_A53_843419	?=0
126a94cc374SDouglas Raillard
127b75dc0e4SAndre Przywara# Flag to apply errata 855873 during reset. This errata applies to all
128b75dc0e4SAndre Przywara# revisions of the Cortex A53 CPU, but this firmware workaround only works
129b75dc0e4SAndre Przywara# for revisions r0p3 and higher. Earlier revisions are taken care
130b75dc0e4SAndre Przywara# of by the rich OS.
131b75dc0e4SAndre PrzywaraERRATA_A53_855873	?=0
132b75dc0e4SAndre Przywara
133e1c49333SManish V Badarkhe# Flag to apply erratum 1530924 workaround during reset. This erratum applies
134e1c49333SManish V Badarkhe# to all revisions of Cortex A53 cpu.
135e1c49333SManish V BadarkheERRATA_A53_1530924	?=0
136e1c49333SManish V Badarkhe
1371afeee92SAmbroise Vincent# Flag to apply erratum 768277 workaround during reset. This erratum applies
1381afeee92SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu.
1391afeee92SAmbroise VincentERRATA_A55_768277	?=0
1401afeee92SAmbroise Vincent
141a6cc6610SAmbroise Vincent# Flag to apply erratum 778703 workaround during reset. This erratum applies
142a6cc6610SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu.
143a6cc6610SAmbroise VincentERRATA_A55_778703	?=0
144a6cc6610SAmbroise Vincent
1456ab87d29SAmbroise Vincent# Flag to apply erratum 798797 workaround during reset. This erratum applies
1466ab87d29SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu.
1476ab87d29SAmbroise VincentERRATA_A55_798797	?=0
1486ab87d29SAmbroise Vincent
1496e78973eSAmbroise Vincent# Flag to apply erratum 846532 workaround during reset. This erratum applies
1506e78973eSAmbroise Vincent# only to revision <= r0p1 of the Cortex A55 cpu.
1516e78973eSAmbroise VincentERRATA_A55_846532	?=0
1526e78973eSAmbroise Vincent
15347949f3fSAmbroise Vincent# Flag to apply erratum 903758 workaround during reset. This erratum applies
15447949f3fSAmbroise Vincent# only to revision <= r0p1 of the Cortex A55 cpu.
15547949f3fSAmbroise VincentERRATA_A55_903758	?=0
15647949f3fSAmbroise Vincent
1579af07df0SAmbroise Vincent# Flag to apply erratum 1221012 workaround during reset. This erratum applies
1589af07df0SAmbroise Vincent# only to revision <= r1p0 of the Cortex A55 cpu.
1599af07df0SAmbroise VincentERRATA_A55_1221012	?=0
1609af07df0SAmbroise Vincent
161e1c49333SManish V Badarkhe# Flag to apply erratum 1530923 workaround during reset. This erratum applies
162e1c49333SManish V Badarkhe# to all revisions of Cortex A55 cpu.
163e1c49333SManish V BadarkheERRATA_A55_1530923	?=0
164e1c49333SManish V Badarkhe
165097b787aSSandrine Bailleux# Flag to apply erratum 806969 workaround during reset. This erratum applies
166097b787aSSandrine Bailleux# only to revision r0p0 of the Cortex A57 cpu.
1675541bb3fSSoby MathewERRATA_A57_806969	?=0
1685541bb3fSSoby Mathew
169ccbec91cSAntonio Nino Diaz# Flag to apply erratum 813419 workaround during reset. This erratum applies
170ccbec91cSAntonio Nino Diaz# only to revision r0p0 of the Cortex A57 cpu.
171ccbec91cSAntonio Nino DiazERRATA_A57_813419	?=0
172ccbec91cSAntonio Nino Diaz
173097b787aSSandrine Bailleux# Flag to apply erratum 813420  workaround during reset. This erratum applies
174097b787aSSandrine Bailleux# only to revision r0p0 of the Cortex A57 cpu.
1755541bb3fSSoby MathewERRATA_A57_813420	?=0
1765541bb3fSSoby Mathew
1770f6fbbd2SAmbroise Vincent# Flag to apply erratum 814670  workaround during reset. This erratum applies
1780f6fbbd2SAmbroise Vincent# only to revision r0p0 of the Cortex A57 cpu.
1790f6fbbd2SAmbroise VincentERRATA_A57_814670	?=0
1800f6fbbd2SAmbroise Vincent
1815bd2c24fSAmbroise Vincent# Flag to apply erratum 817169 workaround during power down. This erratum
1825bd2c24fSAmbroise Vincent# applies only to revision <= r0p1 of the Cortex A57 cpu.
1835bd2c24fSAmbroise VincentERRATA_A57_817169	?=0
1845bd2c24fSAmbroise Vincent
185df22d602SSandrine Bailleux# Flag to apply erratum 826974 workaround during reset. This erratum applies
186df22d602SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu.
187df22d602SSandrine BailleuxERRATA_A57_826974	?=0
188df22d602SSandrine Bailleux
18907288865SSandrine Bailleux# Flag to apply erratum 826977 workaround during reset. This erratum applies
19007288865SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu.
19107288865SSandrine BailleuxERRATA_A57_826977	?=0
19207288865SSandrine Bailleux
193a8b1c769SSandrine Bailleux# Flag to apply erratum 828024 workaround during reset. This erratum applies
194a8b1c769SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu.
195a8b1c769SSandrine BailleuxERRATA_A57_828024	?=0
196a8b1c769SSandrine Bailleux
1970b77197bSSandrine Bailleux# Flag to apply erratum 829520 workaround during reset. This erratum applies
1980b77197bSSandrine Bailleux# only to revision <= r1p2 of the Cortex A57 cpu.
1990b77197bSSandrine BailleuxERRATA_A57_829520	?=0
2000b77197bSSandrine Bailleux
201adeecf92SSandrine Bailleux# Flag to apply erratum 833471 workaround during reset. This erratum applies
202adeecf92SSandrine Bailleux# only to revision <= r1p2 of the Cortex A57 cpu.
203adeecf92SSandrine BailleuxERRATA_A57_833471	?=0
204adeecf92SSandrine Bailleux
20545b52c20SEleanor Bonnici# Flag to apply erratum 855972 workaround during reset. This erratum applies
20645b52c20SEleanor Bonnici# only to revision <= r1p3 of the Cortex A57 cpu.
20745b52c20SEleanor BonniciERRATA_A57_859972	?=0
20845b52c20SEleanor Bonnici
209e1c49333SManish V Badarkhe# Flag to apply erratum 1319537 workaround during reset. This erratum applies
210e1c49333SManish V Badarkhe# to all revisions of Cortex A57 cpu.
211e1c49333SManish V BadarkheERRATA_A57_1319537	?=0
212e1c49333SManish V Badarkhe
2136de9b336SEleanor Bonnici# Flag to apply erratum 855971 workaround during reset. This erratum applies
2146de9b336SEleanor Bonnici# only to revision <= r0p3 of the Cortex A72 cpu.
2156de9b336SEleanor BonniciERRATA_A72_859971	?=0
2166de9b336SEleanor Bonnici
217e1c49333SManish V Badarkhe# Flag to apply erratum 1319367 workaround during reset. This erratum applies
218e1c49333SManish V Badarkhe# to all revisions of Cortex A72 cpu.
219e1c49333SManish V BadarkheERRATA_A72_1319367	?=0
220e1c49333SManish V Badarkhe
22125278eabSLouis Mayencourt# Flag to apply erratum 852427 workaround during reset. This erratum applies
22225278eabSLouis Mayencourt# only to revision r0p0 of the Cortex A73 cpu.
22325278eabSLouis MayencourtERRATA_A73_852427	?=0
22425278eabSLouis Mayencourt
225e6cab15dSLouis Mayencourt# Flag to apply erratum 855423 workaround during reset. This erratum applies
226e6cab15dSLouis Mayencourt# only to revision <= r0p1 of the Cortex A73 cpu.
227e6cab15dSLouis MayencourtERRATA_A73_855423	?=0
228e6cab15dSLouis Mayencourt
2295f5d1ed7SLouis Mayencourt# Flag to apply erratum 764081 workaround during reset. This erratum applies
2305f5d1ed7SLouis Mayencourt# only to revision <= r0p0 of the Cortex A75 cpu.
2315f5d1ed7SLouis MayencourtERRATA_A75_764081	?=0
2325f5d1ed7SLouis Mayencourt
23398551591SLouis Mayencourt# Flag to apply erratum 790748 workaround during reset. This erratum applies
23498551591SLouis Mayencourt# only to revision <= r0p0 of the Cortex A75 cpu.
23598551591SLouis MayencourtERRATA_A75_790748	?=0
23698551591SLouis Mayencourt
2375c6aa01aSLouis Mayencourt# Flag to apply erratum 1073348 workaround during reset. This erratum applies
2385c6aa01aSLouis Mayencourt# only to revision <= r1p0 of the Cortex A76 cpu.
2395c6aa01aSLouis MayencourtERRATA_A76_1073348	?=0
2405c6aa01aSLouis Mayencourt
241508d7110SLouis Mayencourt# Flag to apply erratum 1130799 workaround during reset. This erratum applies
242508d7110SLouis Mayencourt# only to revision <= r2p0 of the Cortex A76 cpu.
243508d7110SLouis MayencourtERRATA_A76_1130799	?=0
244508d7110SLouis Mayencourt
2455cc8c7baSLouis Mayencourt# Flag to apply erratum 1220197 workaround during reset. This erratum applies
2465cc8c7baSLouis Mayencourt# only to revision <= r2p0 of the Cortex A76 cpu.
2475cc8c7baSLouis MayencourtERRATA_A76_1220197	?=0
2485cc8c7baSLouis Mayencourt
249e6e1d0acSSoby Mathew# Flag to apply erratum 1257314 workaround during reset. This erratum applies
250e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
251e6e1d0acSSoby MathewERRATA_A76_1257314	?=0
252e6e1d0acSSoby Mathew
253e6e1d0acSSoby Mathew# Flag to apply erratum 1262606 workaround during reset. This erratum applies
254e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
255e6e1d0acSSoby MathewERRATA_A76_1262606	?=0
256e6e1d0acSSoby Mathew
257e6e1d0acSSoby Mathew# Flag to apply erratum 1262888 workaround during reset. This erratum applies
258e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
259e6e1d0acSSoby MathewERRATA_A76_1262888	?=0
260e6e1d0acSSoby Mathew
261e6e1d0acSSoby Mathew# Flag to apply erratum 1275112 workaround during reset. This erratum applies
262e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
263e6e1d0acSSoby MathewERRATA_A76_1275112	?=0
264e6e1d0acSSoby Mathew
265f85edceaSSoby Mathew# Flag to apply erratum 1286807 workaround during reset. This erratum applies
266f85edceaSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
267f85edceaSSoby MathewERRATA_A76_1286807	?=0
268f85edceaSSoby Mathew
269d7b08e69Sjohpow01# Flag to apply erratum 1791580 workaround during reset. This erratum applies
270d7b08e69Sjohpow01# only to revision <= r4p0 of the Cortex A76 cpu.
271d7b08e69Sjohpow01ERRATA_A76_1791580	?=0
272d7b08e69Sjohpow01
273e1c49333SManish V Badarkhe# Flag to apply erratum 1165522 workaround during reset. This erratum applies
274e1c49333SManish V Badarkhe# to all revisions of Cortex A76 cpu.
275e1c49333SManish V BadarkheERRATA_A76_1165522	?=0
276e1c49333SManish V Badarkhe
27755ff05f3Sjohpow01# Flag to apply erratum 1868343 workaround during reset. This erratum applies
27855ff05f3Sjohpow01# only to revision <= r4p0 of the Cortex A76 cpu.
27955ff05f3Sjohpow01ERRATA_A76_1868343	?=0
28055ff05f3Sjohpow01
2813f0d8369Sjohpow01# Flag to apply erratum 1946160 workaround during reset. This erratum applies
2823f0d8369Sjohpow01# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
2833f0d8369Sjohpow01ERRATA_A76_1946160	?=0
2843f0d8369Sjohpow01
285aa3efe3dSlaurenw-arm# Flag to apply erratum 1508412 workaround during reset. This erratum applies
286aa3efe3dSlaurenw-arm# only to revision <= r1p0 of the Cortex A77 cpu.
287aa3efe3dSlaurenw-armERRATA_A77_1508412	?=0
288aa3efe3dSlaurenw-arm
28935c75377Sjohpow01# Flag to apply erratum 1925769 workaround during reset. This erratum applies
29035c75377Sjohpow01# only to revision <= r1p1 of the Cortex A77 cpu.
29135c75377Sjohpow01ERRATA_A77_1925769	?=0
29235c75377Sjohpow01
293a492edc4Slaurenw-arm# Flag to apply erratum 1946167 workaround during reset. This erratum applies
294a492edc4Slaurenw-arm# only to revision <= r1p1 of the Cortex A77 cpu.
295a492edc4Slaurenw-armERRATA_A77_1946167	?=0
296a492edc4Slaurenw-arm
2973f0bec7cSjohpow01# Flag to apply erratum 1791578 workaround during reset. This erratum applies
2983f0bec7cSjohpow01# to revisions r0p0, r1p0, and r1p1, it is still open.
2993f0bec7cSjohpow01ERRATA_A77_1791578	?=0
3003f0bec7cSjohpow01
30183e95524SMadhukar Pappireddy# Flag to apply erratum 1688305 workaround during reset. This erratum applies
3023f35709cSJimmy Brisson# to revisions r0p0 - r1p0 of the A78 cpu.
3033f35709cSJimmy BrissonERRATA_A78_1688305	?=0
30483e95524SMadhukar Pappireddy
305e26c59d2Sjohpow01# Flag to apply erratum 1941498 workaround during reset. This erratum applies
306e26c59d2Sjohpow01# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
307e26c59d2Sjohpow01ERRATA_A78_1941498	?=0
308e26c59d2Sjohpow01
3093a2710dcSjohpow01# Flag to apply erratum 1951500 workaround during reset. This erratum applies
3103a2710dcSjohpow01# to revisions r1p0 and r1p1 of the A78 cpu.  The issue is present in r0p0 as
3113a2710dcSjohpow01# well but there is no workaround for that revision.
3123a2710dcSjohpow01ERRATA_A78_1951500	?=0
3133a2710dcSjohpow01
31447d6f5ffSVarun Wadekar# Flag to apply erratum 1941500 workaround during reset. This erratum applies
31547d6f5ffSVarun Wadekar# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
31647d6f5ffSVarun WadekarERRATA_A78_AE_1941500	?=0
31747d6f5ffSVarun Wadekar
3188913047aSVarun Wadekar# Flag to apply erratum 1951502 workaround during reset. This erratum applies
3198913047aSVarun Wadekar# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
3208913047aSVarun WadekarERRATA_A78_AE_1951502	?=0
3218913047aSVarun Wadekar
3221a691455Sjohpow01# Flag to apply erratum 1821534 workaround during reset. This erratum applies
3231a691455Sjohpow01# to revisions r0p0 and r1p0 of the A78 cpu.
3241a691455Sjohpow01ERRATA_A78_1821534	?=0
3251a691455Sjohpow01
32600bee997Snayanpatel-arm# Flag to apply erratum 1952683 workaround during reset. This erratum applies
32700bee997Snayanpatel-arm# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
32800bee997Snayanpatel-armERRATA_A78_1952683	?=0
32900bee997Snayanpatel-arm
330b36fe212Snayanpatel-arm# Flag to apply erratum 2132060 workaround during reset. This erratum applies
331b36fe212Snayanpatel-arm# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
332b36fe212Snayanpatel-armERRATA_A78_2132060	?=0
333b36fe212Snayanpatel-arm
334040b546eSDimitris Papastamos# Flag to apply T32 CLREX workaround during reset. This erratum applies
335da6d75a0SJohn Tsichritzis# only to r0p0 and r1p0 of the Neoverse N1 cpu.
336dbafda7cSlaurenw-armERRATA_N1_1043202	?=0
337040b546eSDimitris Papastamos
338a601afe1Slauwal01# Flag to apply erratum 1073348 workaround during reset. This erratum applies
339a601afe1Slauwal01# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
340a601afe1Slauwal01ERRATA_N1_1073348	?=0
341a601afe1Slauwal01
342e34606f2Slauwal01# Flag to apply erratum 1130799 workaround during reset. This erratum applies
343e34606f2Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
344e34606f2Slauwal01ERRATA_N1_1130799	?=0
345e34606f2Slauwal01
3462017ab24Slauwal01# Flag to apply erratum 1165347 workaround during reset. This erratum applies
3472017ab24Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
3482017ab24Slauwal01ERRATA_N1_1165347	?=0
3492017ab24Slauwal01
350ef5fa7d4Slauwal01# Flag to apply erratum 1207823 workaround during reset. This erratum applies
351ef5fa7d4Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
352ef5fa7d4Slauwal01ERRATA_N1_1207823	?=0
353ef5fa7d4Slauwal01
3549eceb020Slauwal01# Flag to apply erratum 1220197 workaround during reset. This erratum applies
3559eceb020Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
3569eceb020Slauwal01ERRATA_N1_1220197	?=0
3579eceb020Slauwal01
358335b3c79Slauwal01# Flag to apply erratum 1257314 workaround during reset. This erratum applies
359335b3c79Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
360335b3c79Slauwal01ERRATA_N1_1257314	?=0
361335b3c79Slauwal01
362411f4959Slauwal01# Flag to apply erratum 1262606 workaround during reset. This erratum applies
363411f4959Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
364411f4959Slauwal01ERRATA_N1_1262606	?=0
365411f4959Slauwal01
36611c48370Slauwal01# Flag to apply erratum 1262888 workaround during reset. This erratum applies
36711c48370Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
36811c48370Slauwal01ERRATA_N1_1262888	?=0
36911c48370Slauwal01
3704d8801feSlauwal01# Flag to apply erratum 1275112 workaround during reset. This erratum applies
3714d8801feSlauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
3724d8801feSlauwal01ERRATA_N1_1275112	?=0
3734d8801feSlauwal01
3745f5d0763SAndre Przywara# Flag to apply erratum 1315703 workaround during reset. This erratum applies
3755f5d0763SAndre Przywara# to revisions before r3p1 of the Neoverse N1 cpu.
376dbafda7cSlaurenw-armERRATA_N1_1315703	?=0
3775f5d0763SAndre Przywara
37880942622Slaurenw-arm# Flag to apply erratum 1542419 workaround during reset. This erratum applies
37980942622Slaurenw-arm# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
38080942622Slaurenw-armERRATA_N1_1542419	?=0
38180942622Slaurenw-arm
38261f0ffc4Sjohpow01# Flag to apply erratum 1868343 workaround during reset. This erratum applies
38361f0ffc4Sjohpow01# to revision <= r4p0 of the Neoverse N1 cpu.
38461f0ffc4Sjohpow01ERRATA_N1_1868343	?=0
38561f0ffc4Sjohpow01
386263ee781Sjohpow01# Flag to apply erratum 1946160 workaround during reset. This erratum applies
387263ee781Sjohpow01# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu.  The issue
388263ee781Sjohpow01# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
389263ee781Sjohpow01ERRATA_N1_1946160	?=0
390263ee781Sjohpow01
3919380f754Snayanpatel-arm# Flag to apply erratum 2002655 workaround during reset. This erratum applies
3929380f754Snayanpatel-arm# to revisions r0p0 of the Neoverse-N2 cpu, it is still open.
3939380f754Snayanpatel-armERRATA_N2_2002655	?=0
3949380f754Snayanpatel-arm
3954789cf66Slaurenw-arm# Flag to apply erratum 1774420 workaround during reset.  This erratum applies
3964789cf66Slaurenw-arm# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
3974789cf66Slaurenw-armERRATA_V1_1774420	?=0
3984789cf66Slaurenw-arm
39933e3e925Sjohpow01# Flag to apply erratum 1791573 workaround during reset.  This erratum applies
40033e3e925Sjohpow01# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
40133e3e925Sjohpow01ERRATA_V1_1791573	?=0
40233e3e925Sjohpow01
403143b1965Slaurenw-arm# Flag to apply erratum 1852267 workaround during reset.  This erratum applies
404143b1965Slaurenw-arm# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
405143b1965Slaurenw-armERRATA_V1_1852267	?=0
406143b1965Slaurenw-arm
407741dd04cSlaurenw-arm# Flag to apply erratum 1925756 workaround during reset.  This needs to be
408741dd04cSlaurenw-arm# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
409741dd04cSlaurenw-armERRATA_V1_1925756	?=0
410741dd04cSlaurenw-arm
411182ce101Sjohpow01# Flag to apply erratum 1940577 workaround during reset. This erratum applies
412182ce101Sjohpow01# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
413182ce101Sjohpow01ERRATA_V1_1940577	?=0
414182ce101Sjohpow01
4151a8804c3Sjohpow01# Flag to apply erratum 1966096 workaround during reset. This erratum applies
4161a8804c3Sjohpow01# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open.  This issue
4171a8804c3Sjohpow01# exists in r0p0 as well but there is no workaround for that revision.
4181a8804c3Sjohpow01ERRATA_V1_1966096	?=0
4191a8804c3Sjohpow01
420100d4029Sjohpow01# Flag to apply erratum 2139242 workaround during reset. This erratum applies
421100d4029Sjohpow01# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
422100d4029Sjohpow01ERRATA_V1_2139242	?=0
423100d4029Sjohpow01
4248e140272Snayanpatel-arm# Flag to apply erratum 2108267 workaround during reset. This erratum applies
4258e140272Snayanpatel-arm# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
4268e140272Snayanpatel-armERRATA_V1_2108267	?=0
4278e140272Snayanpatel-arm
428fbcf54aeSnayanpatel-arm# Flag to apply erratum 1987031 workaround during reset. This erratum applies
429fbcf54aeSnayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
430fbcf54aeSnayanpatel-armERRATA_A710_1987031	?=0
431fbcf54aeSnayanpatel-arm
432a64bcc2bSnayanpatel-arm# Flag to apply erratum 2081180 workaround during reset. This erratum applies
433a64bcc2bSnayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
434a64bcc2bSnayanpatel-armERRATA_A710_2081180	?=0
435a64bcc2bSnayanpatel-arm
43695fe195dSnayanpatel-arm# Flag to apply erratum 2083908 workaround during reset. This erratum applies
43795fe195dSnayanpatel-arm# to revision r2p0 of the Cortex-A710 cpu and is still open.
43895fe195dSnayanpatel-armERRATA_A710_2083908	?=0
43995fe195dSnayanpatel-arm
440744bdbf7Snayanpatel-arm# Flag to apply erratum 2058056 workaround during reset. This erratum applies
441744bdbf7Snayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
442744bdbf7Snayanpatel-armERRATA_A710_2058056	?=0
443744bdbf7Snayanpatel-arm
44465e04f27SBipin Ravi# Flag to apply erratum 2067956 workaround during reset. This erratum applies
44565e04f27SBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
44665e04f27SBipin RaviERRATA_N2_2067956	?=0
44765e04f27SBipin Ravi
4484618b2bfSBipin Ravi# Flag to apply erratum 2025414 workaround during reset. This erratum applies
4494618b2bfSBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
4504618b2bfSBipin RaviERRATA_N2_2025414	?=0
4514618b2bfSBipin Ravi
4527cfae932SBipin Ravi# Flag to apply erratum 2189731 workaround during reset. This erratum applies
4537cfae932SBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
4547cfae932SBipin RaviERRATA_N2_2189731	?=0
4557cfae932SBipin Ravi
4561cafb08dSBipin Ravi# Flag to apply erratum 2138956 workaround during reset. This erratum applies
4571cafb08dSBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
4581cafb08dSBipin RaviERRATA_N2_2138956	?=0
4591cafb08dSBipin Ravi
460ef8f0c52Snayanpatel-arm# Flag to apply erratum 2138953 workaround during reset. This erratum applies
461ef8f0c52Snayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
462ef8f0c52Snayanpatel-armERRATA_N2_2138953	?=0
463ef8f0c52Snayanpatel-arm
4645819e23bSnayanpatel-arm# Flag to apply erratum 2242415 workaround during reset. This erratum applies
4655819e23bSnayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
4665819e23bSnayanpatel-armERRATA_N2_2242415	?=0
4675819e23bSnayanpatel-arm
468*c948185cSnayanpatel-arm# Flag to apply erratum 2138958 workaround during reset. This erratum applies
469*c948185cSnayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
470*c948185cSnayanpatel-armERRATA_N2_2138958	?=0
471*c948185cSnayanpatel-arm
472213afde9SBipin Ravi# Flag to apply erratum 2055002 workaround during reset. This erratum applies
473213afde9SBipin Ravi# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
474213afde9SBipin RaviERRATA_A710_2055002	?=0
475213afde9SBipin Ravi
476afc2ed63SBipin Ravi# Flag to apply erratum 2017096 workaround during reset. This erratum applies
477afc2ed63SBipin Ravi# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
478afc2ed63SBipin RaviERRATA_A710_2017096	?=0
479afc2ed63SBipin Ravi
4800e985d70SLouis Mayencourt# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
4810e985d70SLouis Mayencourt# Applying the workaround results in higher DSU power consumption on idle.
4820e985d70SLouis MayencourtERRATA_DSU_798953	?=0
4830e985d70SLouis Mayencourt
4848a677180SJohn Tsichritzis# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
4858a677180SJohn Tsichritzis# the ACP interface and revision < r2p0. Applying the workaround results in
4868a677180SJohn Tsichritzis# higher DSU power consumption on idle.
4878a677180SJohn TsichritzisERRATA_DSU_936184	?=0
4888a677180SJohn Tsichritzis
489dd4cf2c7SJoel Hutton# Process ERRATA_A9_794073 flag
490dd4cf2c7SJoel Hutton$(eval $(call assert_boolean,ERRATA_A9_794073))
491dd4cf2c7SJoel Hutton$(eval $(call add_define,ERRATA_A9_794073))
492dd4cf2c7SJoel Hutton
49375a1ada9SAmbroise Vincent# Process ERRATA_A15_816470 flag
49475a1ada9SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A15_816470))
49575a1ada9SAmbroise Vincent$(eval $(call add_define,ERRATA_A15_816470))
49675a1ada9SAmbroise Vincent
4975f2c690dSAmbroise Vincent# Process ERRATA_A15_827671 flag
4985f2c690dSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A15_827671))
4995f2c690dSAmbroise Vincent$(eval $(call add_define,ERRATA_A15_827671))
5005f2c690dSAmbroise Vincent
5010b64c194SAmbroise Vincent# Process ERRATA_A17_852421 flag
5020b64c194SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A17_852421))
5030b64c194SAmbroise Vincent$(eval $(call add_define,ERRATA_A17_852421))
5040b64c194SAmbroise Vincent
505be10dcdeSAmbroise Vincent# Process ERRATA_A17_852423 flag
506be10dcdeSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A17_852423))
507be10dcdeSAmbroise Vincent$(eval $(call add_define,ERRATA_A17_852423))
508be10dcdeSAmbroise Vincent
509cba71b70SLouis Mayencourt# Process ERRATA_A35_855472 flag
510cba71b70SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A35_855472))
511cba71b70SLouis Mayencourt$(eval $(call add_define,ERRATA_A35_855472))
512cba71b70SLouis Mayencourt
513bd393704SAmbroise Vincent# Process ERRATA_A53_819472 flag
514bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_819472))
515bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_819472))
516bd393704SAmbroise Vincent
517bd393704SAmbroise Vincent# Process ERRATA_A53_824069 flag
518bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_824069))
519bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_824069))
520bd393704SAmbroise Vincent
5216b0d97b2SJimmy Huang# Process ERRATA_A53_826319 flag
5226b0d97b2SJimmy Huang$(eval $(call assert_boolean,ERRATA_A53_826319))
5236b0d97b2SJimmy Huang$(eval $(call add_define,ERRATA_A53_826319))
5246b0d97b2SJimmy Huang
525bd393704SAmbroise Vincent# Process ERRATA_A53_827319 flag
526bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_827319))
527bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_827319))
528bd393704SAmbroise Vincent
529a94cc374SDouglas Raillard# Process ERRATA_A53_835769 flag
530a94cc374SDouglas Raillard$(eval $(call assert_boolean,ERRATA_A53_835769))
531a94cc374SDouglas Raillard$(eval $(call add_define,ERRATA_A53_835769))
532a94cc374SDouglas Raillard
5336b0d97b2SJimmy Huang# Process ERRATA_A53_836870 flag
5346b0d97b2SJimmy Huang$(eval $(call assert_boolean,ERRATA_A53_836870))
5356b0d97b2SJimmy Huang$(eval $(call add_define,ERRATA_A53_836870))
5366b0d97b2SJimmy Huang
537a94cc374SDouglas Raillard# Process ERRATA_A53_843419 flag
538a94cc374SDouglas Raillard$(eval $(call assert_boolean,ERRATA_A53_843419))
539a94cc374SDouglas Raillard$(eval $(call add_define,ERRATA_A53_843419))
540a94cc374SDouglas Raillard
541b75dc0e4SAndre Przywara# Process ERRATA_A53_855873 flag
542b75dc0e4SAndre Przywara$(eval $(call assert_boolean,ERRATA_A53_855873))
543b75dc0e4SAndre Przywara$(eval $(call add_define,ERRATA_A53_855873))
544b75dc0e4SAndre Przywara
545e1c49333SManish V Badarkhe# Process ERRATA_A53_1530924 flag
546e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A53_1530924))
547e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A53_1530924))
548e1c49333SManish V Badarkhe
5491afeee92SAmbroise Vincent# Process ERRATA_A55_768277 flag
5501afeee92SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_768277))
5511afeee92SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_768277))
5521afeee92SAmbroise Vincent
553a6cc6610SAmbroise Vincent# Process ERRATA_A55_778703 flag
554a6cc6610SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_778703))
555a6cc6610SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_778703))
556a6cc6610SAmbroise Vincent
5576ab87d29SAmbroise Vincent# Process ERRATA_A55_798797 flag
5586ab87d29SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_798797))
5596ab87d29SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_798797))
5606ab87d29SAmbroise Vincent
5616e78973eSAmbroise Vincent# Process ERRATA_A55_846532 flag
5626e78973eSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_846532))
5636e78973eSAmbroise Vincent$(eval $(call add_define,ERRATA_A55_846532))
5646e78973eSAmbroise Vincent
56547949f3fSAmbroise Vincent# Process ERRATA_A55_903758 flag
56647949f3fSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_903758))
56747949f3fSAmbroise Vincent$(eval $(call add_define,ERRATA_A55_903758))
56847949f3fSAmbroise Vincent
5699af07df0SAmbroise Vincent# Process ERRATA_A55_1221012 flag
5709af07df0SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_1221012))
5719af07df0SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_1221012))
5729af07df0SAmbroise Vincent
573e1c49333SManish V Badarkhe# Process ERRATA_A55_1530923 flag
574e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A55_1530923))
575e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A55_1530923))
576e1c49333SManish V Badarkhe
5775541bb3fSSoby Mathew# Process ERRATA_A57_806969 flag
5785541bb3fSSoby Mathew$(eval $(call assert_boolean,ERRATA_A57_806969))
5795541bb3fSSoby Mathew$(eval $(call add_define,ERRATA_A57_806969))
5805541bb3fSSoby Mathew
581ccbec91cSAntonio Nino Diaz# Process ERRATA_A57_813419 flag
582ccbec91cSAntonio Nino Diaz$(eval $(call assert_boolean,ERRATA_A57_813419))
583ccbec91cSAntonio Nino Diaz$(eval $(call add_define,ERRATA_A57_813419))
584ccbec91cSAntonio Nino Diaz
5855541bb3fSSoby Mathew# Process ERRATA_A57_813420 flag
5865541bb3fSSoby Mathew$(eval $(call assert_boolean,ERRATA_A57_813420))
5875541bb3fSSoby Mathew$(eval $(call add_define,ERRATA_A57_813420))
588df22d602SSandrine Bailleux
5890f6fbbd2SAmbroise Vincent# Process ERRATA_A57_814670 flag
5900f6fbbd2SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A57_814670))
5910f6fbbd2SAmbroise Vincent$(eval $(call add_define,ERRATA_A57_814670))
5920f6fbbd2SAmbroise Vincent
5935bd2c24fSAmbroise Vincent# Process ERRATA_A57_817169 flag
5945bd2c24fSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A57_817169))
5955bd2c24fSAmbroise Vincent$(eval $(call add_define,ERRATA_A57_817169))
5965bd2c24fSAmbroise Vincent
597df22d602SSandrine Bailleux# Process ERRATA_A57_826974 flag
598df22d602SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_826974))
599df22d602SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_826974))
600a8b1c769SSandrine Bailleux
60107288865SSandrine Bailleux# Process ERRATA_A57_826977 flag
60207288865SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_826977))
60307288865SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_826977))
60407288865SSandrine Bailleux
605a8b1c769SSandrine Bailleux# Process ERRATA_A57_828024 flag
606a8b1c769SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_828024))
607a8b1c769SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_828024))
6080b77197bSSandrine Bailleux
6090b77197bSSandrine Bailleux# Process ERRATA_A57_829520 flag
6100b77197bSSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_829520))
6110b77197bSSandrine Bailleux$(eval $(call add_define,ERRATA_A57_829520))
612adeecf92SSandrine Bailleux
613adeecf92SSandrine Bailleux# Process ERRATA_A57_833471 flag
614adeecf92SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_833471))
615adeecf92SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_833471))
616a94cc374SDouglas Raillard
61745b52c20SEleanor Bonnici# Process ERRATA_A57_859972 flag
61845b52c20SEleanor Bonnici$(eval $(call assert_boolean,ERRATA_A57_859972))
61945b52c20SEleanor Bonnici$(eval $(call add_define,ERRATA_A57_859972))
62045b52c20SEleanor Bonnici
621e1c49333SManish V Badarkhe# Process ERRATA_A57_1319537 flag
622e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A57_1319537))
623e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A57_1319537))
624e1c49333SManish V Badarkhe
6256de9b336SEleanor Bonnici# Process ERRATA_A72_859971 flag
6266de9b336SEleanor Bonnici$(eval $(call assert_boolean,ERRATA_A72_859971))
6276de9b336SEleanor Bonnici$(eval $(call add_define,ERRATA_A72_859971))
6286de9b336SEleanor Bonnici
629e1c49333SManish V Badarkhe# Process ERRATA_A72_1319367 flag
630e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A72_1319367))
631e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A72_1319367))
632e1c49333SManish V Badarkhe
63325278eabSLouis Mayencourt# Process ERRATA_A73_852427 flag
63425278eabSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A73_852427))
63525278eabSLouis Mayencourt$(eval $(call add_define,ERRATA_A73_852427))
63625278eabSLouis Mayencourt
637e6cab15dSLouis Mayencourt# Process ERRATA_A73_855423 flag
638e6cab15dSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A73_855423))
639e6cab15dSLouis Mayencourt$(eval $(call add_define,ERRATA_A73_855423))
640e6cab15dSLouis Mayencourt
6415f5d1ed7SLouis Mayencourt# Process ERRATA_A75_764081 flag
6425f5d1ed7SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A75_764081))
6435f5d1ed7SLouis Mayencourt$(eval $(call add_define,ERRATA_A75_764081))
6445f5d1ed7SLouis Mayencourt
64598551591SLouis Mayencourt# Process ERRATA_A75_790748 flag
64698551591SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A75_790748))
64798551591SLouis Mayencourt$(eval $(call add_define,ERRATA_A75_790748))
64898551591SLouis Mayencourt
6495c6aa01aSLouis Mayencourt# Process ERRATA_A76_1073348 flag
6505c6aa01aSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1073348))
6515c6aa01aSLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1073348))
6525c6aa01aSLouis Mayencourt
653508d7110SLouis Mayencourt# Process ERRATA_A76_1130799 flag
654508d7110SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1130799))
655508d7110SLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1130799))
656508d7110SLouis Mayencourt
6575cc8c7baSLouis Mayencourt# Process ERRATA_A76_1220197 flag
6585cc8c7baSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1220197))
6595cc8c7baSLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1220197))
6605cc8c7baSLouis Mayencourt
661e6e1d0acSSoby Mathew# Process ERRATA_A76_1257314 flag
662e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1257314))
663e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1257314))
664e6e1d0acSSoby Mathew
665e6e1d0acSSoby Mathew# Process ERRATA_A76_1262606 flag
666e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1262606))
667e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1262606))
668e6e1d0acSSoby Mathew
669e6e1d0acSSoby Mathew# Process ERRATA_A76_1262888 flag
670e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1262888))
671e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1262888))
672e6e1d0acSSoby Mathew
673e6e1d0acSSoby Mathew# Process ERRATA_A76_1275112 flag
674e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1275112))
675e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1275112))
676e6e1d0acSSoby Mathew
677f85edceaSSoby Mathew# Process ERRATA_A76_1286807 flag
678f85edceaSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1286807))
679f85edceaSSoby Mathew$(eval $(call add_define,ERRATA_A76_1286807))
680f85edceaSSoby Mathew
681d7b08e69Sjohpow01# Process ERRATA_A76_1791580 flag
682d7b08e69Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1791580))
683d7b08e69Sjohpow01$(eval $(call add_define,ERRATA_A76_1791580))
684d7b08e69Sjohpow01
685e1c49333SManish V Badarkhe# Process ERRATA_A76_1165522 flag
686e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A76_1165522))
687e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A76_1165522))
688e1c49333SManish V Badarkhe
68955ff05f3Sjohpow01# Process ERRATA_A76_1868343 flag
69055ff05f3Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1868343))
69155ff05f3Sjohpow01$(eval $(call add_define,ERRATA_A76_1868343))
69255ff05f3Sjohpow01
6933f0d8369Sjohpow01# Process ERRATA_A76_1946160 flag
6943f0d8369Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1946160))
6953f0d8369Sjohpow01$(eval $(call add_define,ERRATA_A76_1946160))
6963f0d8369Sjohpow01
697aa3efe3dSlaurenw-arm# Process ERRATA_A77_1508412 flag
698aa3efe3dSlaurenw-arm$(eval $(call assert_boolean,ERRATA_A77_1508412))
699aa3efe3dSlaurenw-arm$(eval $(call add_define,ERRATA_A77_1508412))
700aa3efe3dSlaurenw-arm
70135c75377Sjohpow01# Process ERRATA_A77_1925769 flag
70235c75377Sjohpow01$(eval $(call assert_boolean,ERRATA_A77_1925769))
70335c75377Sjohpow01$(eval $(call add_define,ERRATA_A77_1925769))
70435c75377Sjohpow01
705a492edc4Slaurenw-arm# Process ERRATA_A77_1946167 flag
706a492edc4Slaurenw-arm$(eval $(call assert_boolean,ERRATA_A77_1946167))
707a492edc4Slaurenw-arm$(eval $(call add_define,ERRATA_A77_1946167))
708a492edc4Slaurenw-arm
7093f0bec7cSjohpow01# Process ERRATA_A77_1791578 flag
7103f0bec7cSjohpow01$(eval $(call assert_boolean,ERRATA_A77_1791578))
7113f0bec7cSjohpow01$(eval $(call add_define,ERRATA_A77_1791578))
7123f0bec7cSjohpow01
7133f35709cSJimmy Brisson# Process ERRATA_A78_1688305 flag
7143f35709cSJimmy Brisson$(eval $(call assert_boolean,ERRATA_A78_1688305))
7153f35709cSJimmy Brisson$(eval $(call add_define,ERRATA_A78_1688305))
71683e95524SMadhukar Pappireddy
717e26c59d2Sjohpow01# Process ERRATA_A78_1941498 flag
718e26c59d2Sjohpow01$(eval $(call assert_boolean,ERRATA_A78_1941498))
719e26c59d2Sjohpow01$(eval $(call add_define,ERRATA_A78_1941498))
720e26c59d2Sjohpow01
7213a2710dcSjohpow01# Process ERRATA_A78_1951500 flag
7223a2710dcSjohpow01$(eval $(call assert_boolean,ERRATA_A78_1951500))
7233a2710dcSjohpow01$(eval $(call add_define,ERRATA_A78_1951500))
7243a2710dcSjohpow01
72547d6f5ffSVarun Wadekar# Process ERRATA_A78_AE_1941500 flag
72647d6f5ffSVarun Wadekar$(eval $(call assert_boolean,ERRATA_A78_AE_1941500))
72747d6f5ffSVarun Wadekar$(eval $(call add_define,ERRATA_A78_AE_1941500))
72847d6f5ffSVarun Wadekar
7298913047aSVarun Wadekar# Process ERRATA_A78_AE_1951502 flag
7308913047aSVarun Wadekar$(eval $(call assert_boolean,ERRATA_A78_AE_1951502))
7318913047aSVarun Wadekar$(eval $(call add_define,ERRATA_A78_AE_1951502))
7328913047aSVarun Wadekar
7331a691455Sjohpow01# Process ERRATA_A78_1821534 flag
7341a691455Sjohpow01$(eval $(call assert_boolean,ERRATA_A78_1821534))
7351a691455Sjohpow01$(eval $(call add_define,ERRATA_A78_1821534))
7361a691455Sjohpow01
73700bee997Snayanpatel-arm# Process ERRATA_A78_1952683 flag
73800bee997Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A78_1952683))
73900bee997Snayanpatel-arm$(eval $(call add_define,ERRATA_A78_1952683))
74000bee997Snayanpatel-arm
741b36fe212Snayanpatel-arm# Process ERRATA_A78_2132060 flag
742b36fe212Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A78_2132060))
743b36fe212Snayanpatel-arm$(eval $(call add_define,ERRATA_A78_2132060))
744b36fe212Snayanpatel-arm
745da6d75a0SJohn Tsichritzis# Process ERRATA_N1_1043202 flag
746da6d75a0SJohn Tsichritzis$(eval $(call assert_boolean,ERRATA_N1_1043202))
747da6d75a0SJohn Tsichritzis$(eval $(call add_define,ERRATA_N1_1043202))
748040b546eSDimitris Papastamos
749a601afe1Slauwal01# Process ERRATA_N1_1073348 flag
750a601afe1Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1073348))
751a601afe1Slauwal01$(eval $(call add_define,ERRATA_N1_1073348))
752a601afe1Slauwal01
753e34606f2Slauwal01# Process ERRATA_N1_1130799 flag
754e34606f2Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1130799))
755e34606f2Slauwal01$(eval $(call add_define,ERRATA_N1_1130799))
756e34606f2Slauwal01
7572017ab24Slauwal01# Process ERRATA_N1_1165347 flag
7582017ab24Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1165347))
7592017ab24Slauwal01$(eval $(call add_define,ERRATA_N1_1165347))
7602017ab24Slauwal01
761ef5fa7d4Slauwal01# Process ERRATA_N1_1207823 flag
762ef5fa7d4Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1207823))
763ef5fa7d4Slauwal01$(eval $(call add_define,ERRATA_N1_1207823))
764ef5fa7d4Slauwal01
7659eceb020Slauwal01# Process ERRATA_N1_1220197 flag
7669eceb020Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1220197))
7679eceb020Slauwal01$(eval $(call add_define,ERRATA_N1_1220197))
7689eceb020Slauwal01
769335b3c79Slauwal01# Process ERRATA_N1_1257314 flag
770335b3c79Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1257314))
771335b3c79Slauwal01$(eval $(call add_define,ERRATA_N1_1257314))
772335b3c79Slauwal01
773411f4959Slauwal01# Process ERRATA_N1_1262606 flag
774411f4959Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1262606))
775411f4959Slauwal01$(eval $(call add_define,ERRATA_N1_1262606))
776411f4959Slauwal01
77711c48370Slauwal01# Process ERRATA_N1_1262888 flag
77811c48370Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1262888))
77911c48370Slauwal01$(eval $(call add_define,ERRATA_N1_1262888))
78011c48370Slauwal01
7814d8801feSlauwal01# Process ERRATA_N1_1275112 flag
7824d8801feSlauwal01$(eval $(call assert_boolean,ERRATA_N1_1275112))
7834d8801feSlauwal01$(eval $(call add_define,ERRATA_N1_1275112))
7844d8801feSlauwal01
7855f5d0763SAndre Przywara# Process ERRATA_N1_1315703 flag
7865f5d0763SAndre Przywara$(eval $(call assert_boolean,ERRATA_N1_1315703))
7875f5d0763SAndre Przywara$(eval $(call add_define,ERRATA_N1_1315703))
7885f5d0763SAndre Przywara
78980942622Slaurenw-arm# Process ERRATA_N1_1542419 flag
79080942622Slaurenw-arm$(eval $(call assert_boolean,ERRATA_N1_1542419))
79180942622Slaurenw-arm$(eval $(call add_define,ERRATA_N1_1542419))
79280942622Slaurenw-arm
79361f0ffc4Sjohpow01# Process ERRATA_N1_1868343 flag
79461f0ffc4Sjohpow01$(eval $(call assert_boolean,ERRATA_N1_1868343))
79561f0ffc4Sjohpow01$(eval $(call add_define,ERRATA_N1_1868343))
79661f0ffc4Sjohpow01
797263ee781Sjohpow01# Process ERRATA_N1_1946160 flag
798263ee781Sjohpow01$(eval $(call assert_boolean,ERRATA_N1_1946160))
799263ee781Sjohpow01$(eval $(call add_define,ERRATA_N1_1946160))
800263ee781Sjohpow01
8019380f754Snayanpatel-arm# Process ERRATA_N2_2002655 flag
8029380f754Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2002655))
8039380f754Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2002655))
8049380f754Snayanpatel-arm
8054789cf66Slaurenw-arm# Process ERRATA_V1_1774420 flag
8064789cf66Slaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1774420))
8074789cf66Slaurenw-arm$(eval $(call add_define,ERRATA_V1_1774420))
8084789cf66Slaurenw-arm
80933e3e925Sjohpow01# Process ERRATA_V1_1791573 flag
81033e3e925Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1791573))
81133e3e925Sjohpow01$(eval $(call add_define,ERRATA_V1_1791573))
81233e3e925Sjohpow01
813143b1965Slaurenw-arm# Process ERRATA_V1_1852267 flag
814143b1965Slaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1852267))
815143b1965Slaurenw-arm$(eval $(call add_define,ERRATA_V1_1852267))
816143b1965Slaurenw-arm
817741dd04cSlaurenw-arm# Process ERRATA_V1_1925756 flag
818741dd04cSlaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1925756))
819741dd04cSlaurenw-arm$(eval $(call add_define,ERRATA_V1_1925756))
820741dd04cSlaurenw-arm
821182ce101Sjohpow01# Process ERRATA_V1_1940577 flag
822182ce101Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1940577))
823182ce101Sjohpow01$(eval $(call add_define,ERRATA_V1_1940577))
824182ce101Sjohpow01
8251a8804c3Sjohpow01# Process ERRATA_V1_1966096 flag
8261a8804c3Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1966096))
8271a8804c3Sjohpow01$(eval $(call add_define,ERRATA_V1_1966096))
8281a8804c3Sjohpow01
829100d4029Sjohpow01# Process ERRATA_V1_2139242 flag
830100d4029Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_2139242))
831100d4029Sjohpow01$(eval $(call add_define,ERRATA_V1_2139242))
832100d4029Sjohpow01
8338e140272Snayanpatel-arm# Process ERRATA_V1_2108267 flag
8348e140272Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_V1_2108267))
8358e140272Snayanpatel-arm$(eval $(call add_define,ERRATA_V1_2108267))
8368e140272Snayanpatel-arm
837fbcf54aeSnayanpatel-arm# Process ERRATA_A710_1987031 flag
838fbcf54aeSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_1987031))
839fbcf54aeSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_1987031))
840fbcf54aeSnayanpatel-arm
841a64bcc2bSnayanpatel-arm# Process ERRATA_A710_2081180 flag
842a64bcc2bSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2081180))
843a64bcc2bSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_2081180))
844a64bcc2bSnayanpatel-arm
84595fe195dSnayanpatel-arm# Process ERRATA_A710_2083908 flag
84695fe195dSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2083908))
84795fe195dSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_2083908))
84895fe195dSnayanpatel-arm
849744bdbf7Snayanpatel-arm# Process ERRATA_A710_2058056 flag
850744bdbf7Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2058056))
851744bdbf7Snayanpatel-arm$(eval $(call add_define,ERRATA_A710_2058056))
852744bdbf7Snayanpatel-arm
85365e04f27SBipin Ravi# Process ERRATA_N2_2067956 flag
85465e04f27SBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2067956))
85565e04f27SBipin Ravi$(eval $(call add_define,ERRATA_N2_2067956))
85665e04f27SBipin Ravi
8574618b2bfSBipin Ravi# Process ERRATA_N2_2025414 flag
8584618b2bfSBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2025414))
8594618b2bfSBipin Ravi$(eval $(call add_define,ERRATA_N2_2025414))
8604618b2bfSBipin Ravi
8617cfae932SBipin Ravi# Process ERRATA_N2_2189731 flag
8627cfae932SBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2189731))
8637cfae932SBipin Ravi$(eval $(call add_define,ERRATA_N2_2189731))
8647cfae932SBipin Ravi
8651cafb08dSBipin Ravi# Process ERRATA_N2_2138956 flag
8661cafb08dSBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2138956))
8671cafb08dSBipin Ravi$(eval $(call add_define,ERRATA_N2_2138956))
8681cafb08dSBipin Ravi
869ef8f0c52Snayanpatel-arm# Process ERRATA_N2_2138953 flag
870ef8f0c52Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2138953))
871ef8f0c52Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2138953))
872ef8f0c52Snayanpatel-arm
8735819e23bSnayanpatel-arm# Process ERRATA_N2_2242415 flag
8745819e23bSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2242415))
8755819e23bSnayanpatel-arm$(eval $(call add_define,ERRATA_N2_2242415))
8765819e23bSnayanpatel-arm
877*c948185cSnayanpatel-arm# Process ERRATA_N2_2138958 flag
878*c948185cSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2138958))
879*c948185cSnayanpatel-arm$(eval $(call add_define,ERRATA_N2_2138958))
880*c948185cSnayanpatel-arm
881213afde9SBipin Ravi# Process ERRATA_A710_2055002 flag
882213afde9SBipin Ravi$(eval $(call assert_boolean,ERRATA_A710_2055002))
883213afde9SBipin Ravi$(eval $(call add_define,ERRATA_A710_2055002))
884213afde9SBipin Ravi
885afc2ed63SBipin Ravi# Process ERRATA_A710_2017096 flag
886afc2ed63SBipin Ravi$(eval $(call assert_boolean,ERRATA_A710_2017096))
887afc2ed63SBipin Ravi$(eval $(call add_define,ERRATA_A710_2017096))
888afc2ed63SBipin Ravi
8890e985d70SLouis Mayencourt# Process ERRATA_DSU_798953 flag
8900e985d70SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_DSU_798953))
8910e985d70SLouis Mayencourt$(eval $(call add_define,ERRATA_DSU_798953))
8920e985d70SLouis Mayencourt
8938a677180SJohn Tsichritzis# Process ERRATA_DSU_936184 flag
8948a677180SJohn Tsichritzis$(eval $(call assert_boolean,ERRATA_DSU_936184))
8958a677180SJohn Tsichritzis$(eval $(call add_define,ERRATA_DSU_936184))
8968a677180SJohn Tsichritzis
897a94cc374SDouglas Raillard# Errata build flags
898a94cc374SDouglas Raillardifneq (${ERRATA_A53_843419},0)
899c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-843419
900a94cc374SDouglas Raillardendif
901a94cc374SDouglas Raillard
902a94cc374SDouglas Raillardifneq (${ERRATA_A53_835769},0)
903a94cc374SDouglas RaillardTF_CFLAGS_aarch64	+= -mfix-cortex-a53-835769
904c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-835769
905a94cc374SDouglas Raillardendif
906e1c49333SManish V Badarkhe
907e1c49333SManish V Badarkheifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923}	\
908e1c49333SManish V Badarkhe	${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
909e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 1
910e1c49333SManish V Badarkheelse
911e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 0
912e1c49333SManish V Badarkheendif
913