xref: /rk3399_ARM-atf/lib/cpus/cpu-ops.mk (revision 6979f47fecfd34ac1405117c23f2e36ecb552a20)
15541bb3fSSoby Mathew#
27e3273e8SBipin Ravi# Copyright (c) 2014-2022, Arm Limited and Contributors. All rights reserved.
392e87084SVarun Wadekar# Copyright (c) 2020-2022, 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
271fe4a9d1SBipin RaviWORKAROUND_CVE_2022_23960		?=1
28f62ad322SDimitris Papastamos
2925bbbd2dSJavier Almansa Sobrino# Flags to indicate internal or external Last level cache
30f2d6b4eeSManish Pandey# By default internal
3125bbbd2dSJavier Almansa SobrinoNEOVERSE_Nx_EXTERNAL_LLC		?=0
32f2d6b4eeSManish Pandey
33cd0ea184SVarun Wadekar# Process A57_ENABLE_NONCACHEABLE_LOAD_FWD flag
34cd0ea184SVarun Wadekar$(eval $(call assert_boolean,A57_ENABLE_NONCACHEABLE_LOAD_FWD))
35cd0ea184SVarun Wadekar$(eval $(call add_define,A57_ENABLE_NONCACHEABLE_LOAD_FWD))
36cd0ea184SVarun Wadekar
375541bb3fSSoby Mathew# Process SKIP_A57_L1_FLUSH_PWR_DWN flag
385541bb3fSSoby Mathew$(eval $(call assert_boolean,SKIP_A57_L1_FLUSH_PWR_DWN))
395541bb3fSSoby Mathew$(eval $(call add_define,SKIP_A57_L1_FLUSH_PWR_DWN))
405541bb3fSSoby Mathew
4154035fc4SSandrine Bailleux# Process A53_DISABLE_NON_TEMPORAL_HINT flag
4254035fc4SSandrine Bailleux$(eval $(call assert_boolean,A53_DISABLE_NON_TEMPORAL_HINT))
4354035fc4SSandrine Bailleux$(eval $(call add_define,A53_DISABLE_NON_TEMPORAL_HINT))
4454035fc4SSandrine Bailleux
4554035fc4SSandrine Bailleux# Process A57_DISABLE_NON_TEMPORAL_HINT flag
4654035fc4SSandrine Bailleux$(eval $(call assert_boolean,A57_DISABLE_NON_TEMPORAL_HINT))
4754035fc4SSandrine Bailleux$(eval $(call add_define,A57_DISABLE_NON_TEMPORAL_HINT))
4854035fc4SSandrine Bailleux
49f62ad322SDimitris Papastamos# Process WORKAROUND_CVE_2017_5715 flag
50f62ad322SDimitris Papastamos$(eval $(call assert_boolean,WORKAROUND_CVE_2017_5715))
51f62ad322SDimitris Papastamos$(eval $(call add_define,WORKAROUND_CVE_2017_5715))
525541bb3fSSoby Mathew
53b8a25bbbSDimitris Papastamos# Process WORKAROUND_CVE_2018_3639 flag
54b8a25bbbSDimitris Papastamos$(eval $(call assert_boolean,WORKAROUND_CVE_2018_3639))
55b8a25bbbSDimitris Papastamos$(eval $(call add_define,WORKAROUND_CVE_2018_3639))
56b8a25bbbSDimitris Papastamos
57fe007b2eSDimitris Papastamos$(eval $(call assert_boolean,DYNAMIC_WORKAROUND_CVE_2018_3639))
58fe007b2eSDimitris Papastamos$(eval $(call add_define,DYNAMIC_WORKAROUND_CVE_2018_3639))
59fe007b2eSDimitris Papastamos
601fe4a9d1SBipin Ravi# Process WORKAROUND_CVE_2022_23960 flag
611fe4a9d1SBipin Ravi$(eval $(call assert_boolean,WORKAROUND_CVE_2022_23960))
621fe4a9d1SBipin Ravi$(eval $(call add_define,WORKAROUND_CVE_2022_23960))
631fe4a9d1SBipin Ravi
6425bbbd2dSJavier Almansa Sobrino$(eval $(call assert_boolean,NEOVERSE_Nx_EXTERNAL_LLC))
6525bbbd2dSJavier Almansa Sobrino$(eval $(call add_define,NEOVERSE_Nx_EXTERNAL_LLC))
66f2d6b4eeSManish Pandey
67fe007b2eSDimitris Papastamosifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0)
68fe007b2eSDimitris Papastamos	ifeq (${WORKAROUND_CVE_2018_3639},0)
69fe007b2eSDimitris Papastamos		$(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1")
70fe007b2eSDimitris Papastamos	endif
71fe007b2eSDimitris Papastamosendif
72fe007b2eSDimitris Papastamos
73097b787aSSandrine Bailleux# CPU Errata Build flags.
74097b787aSSandrine Bailleux# These should be enabled by the platform if the erratum workaround needs to be
75097b787aSSandrine Bailleux# applied.
765541bb3fSSoby Mathew
77dd4cf2c7SJoel Hutton# Flag to apply erratum 794073 workaround when disabling mmu.
78dd4cf2c7SJoel HuttonERRATA_A9_794073	?=0
79dd4cf2c7SJoel Hutton
8075a1ada9SAmbroise Vincent# Flag to apply erratum 816470 workaround during power down. This erratum
8175a1ada9SAmbroise Vincent# applies only to revision >= r3p0 of the Cortex A15 cpu.
8275a1ada9SAmbroise VincentERRATA_A15_816470	?=0
8375a1ada9SAmbroise Vincent
845f2c690dSAmbroise Vincent# Flag to apply erratum 827671 workaround during reset. This erratum applies
855f2c690dSAmbroise Vincent# only to revision >= r3p0 of the Cortex A15 cpu.
865f2c690dSAmbroise VincentERRATA_A15_827671	?=0
875f2c690dSAmbroise Vincent
880b64c194SAmbroise Vincent# Flag to apply erratum 852421 workaround during reset. This erratum applies
890b64c194SAmbroise Vincent# only to revision <= r1p2 of the Cortex A17 cpu.
900b64c194SAmbroise VincentERRATA_A17_852421	?=0
910b64c194SAmbroise Vincent
92be10dcdeSAmbroise Vincent# Flag to apply erratum 852423 workaround during reset. This erratum applies
93be10dcdeSAmbroise Vincent# only to revision <= r1p2 of the Cortex A17 cpu.
94be10dcdeSAmbroise VincentERRATA_A17_852423	?=0
95be10dcdeSAmbroise Vincent
96cba71b70SLouis Mayencourt# Flag to apply erratum 855472 workaround during reset. This erratum applies
97cba71b70SLouis Mayencourt# only to revision r0p0 of the Cortex A35 cpu.
98cba71b70SLouis MayencourtERRATA_A35_855472	?=0
99cba71b70SLouis Mayencourt
100bd393704SAmbroise Vincent# Flag to apply erratum 819472 workaround during reset. This erratum applies
101bd393704SAmbroise Vincent# only to revision <= r0p1 of the Cortex A53 cpu.
102bd393704SAmbroise VincentERRATA_A53_819472	?=0
103bd393704SAmbroise Vincent
104bd393704SAmbroise Vincent# Flag to apply erratum 824069 workaround during reset. This erratum applies
105bd393704SAmbroise Vincent# only to revision <= r0p2 of the Cortex A53 cpu.
106bd393704SAmbroise VincentERRATA_A53_824069	?=0
107bd393704SAmbroise Vincent
108097b787aSSandrine Bailleux# Flag to apply erratum 826319 workaround during reset. This erratum applies
109097b787aSSandrine Bailleux# only to revision <= r0p2 of the Cortex A53 cpu.
1106b0d97b2SJimmy HuangERRATA_A53_826319	?=0
1116b0d97b2SJimmy Huang
112bd393704SAmbroise Vincent# Flag to apply erratum 827319 workaround during reset. This erratum applies
113bd393704SAmbroise Vincent# only to revision <= r0p2 of the Cortex A53 cpu.
114bd393704SAmbroise VincentERRATA_A53_827319	?=0
115bd393704SAmbroise Vincent
116a94cc374SDouglas Raillard# Flag to apply erratum 835769 workaround at compile and link time. This
117a94cc374SDouglas Raillard# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
118a94cc374SDouglas Raillard# workaround can lead the linker to create "*.stub" sections.
119a94cc374SDouglas RaillardERRATA_A53_835769	?=0
120a94cc374SDouglas Raillard
121097b787aSSandrine Bailleux# Flag to apply erratum 836870 workaround during reset. This erratum applies
122097b787aSSandrine Bailleux# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this
1233fbe46d7SDouglas Raillard# erratum workaround is enabled by default in hardware.
1246b0d97b2SJimmy HuangERRATA_A53_836870	?=0
1256b0d97b2SJimmy Huang
126a94cc374SDouglas Raillard# Flag to apply erratum 843419 workaround at link time.
127a94cc374SDouglas Raillard# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this
128a94cc374SDouglas Raillard# workaround could lead the linker to emit "*.stub" sections which are 4kB
129a94cc374SDouglas Raillard# aligned.
130a94cc374SDouglas RaillardERRATA_A53_843419	?=0
131a94cc374SDouglas Raillard
132b75dc0e4SAndre Przywara# Flag to apply errata 855873 during reset. This errata applies to all
133b75dc0e4SAndre Przywara# revisions of the Cortex A53 CPU, but this firmware workaround only works
134b75dc0e4SAndre Przywara# for revisions r0p3 and higher. Earlier revisions are taken care
135b75dc0e4SAndre Przywara# of by the rich OS.
136b75dc0e4SAndre PrzywaraERRATA_A53_855873	?=0
137b75dc0e4SAndre Przywara
138e1c49333SManish V Badarkhe# Flag to apply erratum 1530924 workaround during reset. This erratum applies
139e1c49333SManish V Badarkhe# to all revisions of Cortex A53 cpu.
140e1c49333SManish V BadarkheERRATA_A53_1530924	?=0
141e1c49333SManish V Badarkhe
1421afeee92SAmbroise Vincent# Flag to apply erratum 768277 workaround during reset. This erratum applies
1431afeee92SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu.
1441afeee92SAmbroise VincentERRATA_A55_768277	?=0
1451afeee92SAmbroise Vincent
146a6cc6610SAmbroise Vincent# Flag to apply erratum 778703 workaround during reset. This erratum applies
147a6cc6610SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu.
148a6cc6610SAmbroise VincentERRATA_A55_778703	?=0
149a6cc6610SAmbroise Vincent
1506ab87d29SAmbroise Vincent# Flag to apply erratum 798797 workaround during reset. This erratum applies
1516ab87d29SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu.
1526ab87d29SAmbroise VincentERRATA_A55_798797	?=0
1536ab87d29SAmbroise Vincent
1546e78973eSAmbroise Vincent# Flag to apply erratum 846532 workaround during reset. This erratum applies
1556e78973eSAmbroise Vincent# only to revision <= r0p1 of the Cortex A55 cpu.
1566e78973eSAmbroise VincentERRATA_A55_846532	?=0
1576e78973eSAmbroise Vincent
15847949f3fSAmbroise Vincent# Flag to apply erratum 903758 workaround during reset. This erratum applies
15947949f3fSAmbroise Vincent# only to revision <= r0p1 of the Cortex A55 cpu.
16047949f3fSAmbroise VincentERRATA_A55_903758	?=0
16147949f3fSAmbroise Vincent
1629af07df0SAmbroise Vincent# Flag to apply erratum 1221012 workaround during reset. This erratum applies
1639af07df0SAmbroise Vincent# only to revision <= r1p0 of the Cortex A55 cpu.
1649af07df0SAmbroise VincentERRATA_A55_1221012	?=0
1659af07df0SAmbroise Vincent
166e1c49333SManish V Badarkhe# Flag to apply erratum 1530923 workaround during reset. This erratum applies
167e1c49333SManish V Badarkhe# to all revisions of Cortex A55 cpu.
168e1c49333SManish V BadarkheERRATA_A55_1530923	?=0
169e1c49333SManish V Badarkhe
170097b787aSSandrine Bailleux# Flag to apply erratum 806969 workaround during reset. This erratum applies
171097b787aSSandrine Bailleux# only to revision r0p0 of the Cortex A57 cpu.
1725541bb3fSSoby MathewERRATA_A57_806969	?=0
1735541bb3fSSoby Mathew
174ccbec91cSAntonio Nino Diaz# Flag to apply erratum 813419 workaround during reset. This erratum applies
175ccbec91cSAntonio Nino Diaz# only to revision r0p0 of the Cortex A57 cpu.
176ccbec91cSAntonio Nino DiazERRATA_A57_813419	?=0
177ccbec91cSAntonio Nino Diaz
178097b787aSSandrine Bailleux# Flag to apply erratum 813420 workaround during reset. This erratum applies
179097b787aSSandrine Bailleux# only to revision r0p0 of the Cortex A57 cpu.
1805541bb3fSSoby MathewERRATA_A57_813420	?=0
1815541bb3fSSoby Mathew
1820f6fbbd2SAmbroise Vincent# Flag to apply erratum 814670 workaround during reset. This erratum applies
1830f6fbbd2SAmbroise Vincent# only to revision r0p0 of the Cortex A57 cpu.
1840f6fbbd2SAmbroise VincentERRATA_A57_814670	?=0
1850f6fbbd2SAmbroise Vincent
1865bd2c24fSAmbroise Vincent# Flag to apply erratum 817169 workaround during power down. This erratum
1875bd2c24fSAmbroise Vincent# applies only to revision <= r0p1 of the Cortex A57 cpu.
1885bd2c24fSAmbroise VincentERRATA_A57_817169	?=0
1895bd2c24fSAmbroise Vincent
190df22d602SSandrine Bailleux# Flag to apply erratum 826974 workaround during reset. This erratum applies
191df22d602SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu.
192df22d602SSandrine BailleuxERRATA_A57_826974	?=0
193df22d602SSandrine Bailleux
19407288865SSandrine Bailleux# Flag to apply erratum 826977 workaround during reset. This erratum applies
19507288865SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu.
19607288865SSandrine BailleuxERRATA_A57_826977	?=0
19707288865SSandrine Bailleux
198a8b1c769SSandrine Bailleux# Flag to apply erratum 828024 workaround during reset. This erratum applies
199a8b1c769SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu.
200a8b1c769SSandrine BailleuxERRATA_A57_828024	?=0
201a8b1c769SSandrine Bailleux
2020b77197bSSandrine Bailleux# Flag to apply erratum 829520 workaround during reset. This erratum applies
2030b77197bSSandrine Bailleux# only to revision <= r1p2 of the Cortex A57 cpu.
2040b77197bSSandrine BailleuxERRATA_A57_829520	?=0
2050b77197bSSandrine Bailleux
206adeecf92SSandrine Bailleux# Flag to apply erratum 833471 workaround during reset. This erratum applies
207adeecf92SSandrine Bailleux# only to revision <= r1p2 of the Cortex A57 cpu.
208adeecf92SSandrine BailleuxERRATA_A57_833471	?=0
209adeecf92SSandrine Bailleux
21045b52c20SEleanor Bonnici# Flag to apply erratum 855972 workaround during reset. This erratum applies
21145b52c20SEleanor Bonnici# only to revision <= r1p3 of the Cortex A57 cpu.
21245b52c20SEleanor BonniciERRATA_A57_859972	?=0
21345b52c20SEleanor Bonnici
214e1c49333SManish V Badarkhe# Flag to apply erratum 1319537 workaround during reset. This erratum applies
215e1c49333SManish V Badarkhe# to all revisions of Cortex A57 cpu.
216e1c49333SManish V BadarkheERRATA_A57_1319537	?=0
217e1c49333SManish V Badarkhe
2186de9b336SEleanor Bonnici# Flag to apply erratum 855971 workaround during reset. This erratum applies
2196de9b336SEleanor Bonnici# only to revision <= r0p3 of the Cortex A72 cpu.
2206de9b336SEleanor BonniciERRATA_A72_859971	?=0
2216de9b336SEleanor Bonnici
222e1c49333SManish V Badarkhe# Flag to apply erratum 1319367 workaround during reset. This erratum applies
223e1c49333SManish V Badarkhe# to all revisions of Cortex A72 cpu.
224e1c49333SManish V BadarkheERRATA_A72_1319367	?=0
225e1c49333SManish V Badarkhe
22625278eabSLouis Mayencourt# Flag to apply erratum 852427 workaround during reset. This erratum applies
22725278eabSLouis Mayencourt# only to revision r0p0 of the Cortex A73 cpu.
22825278eabSLouis MayencourtERRATA_A73_852427	?=0
22925278eabSLouis Mayencourt
230e6cab15dSLouis Mayencourt# Flag to apply erratum 855423 workaround during reset. This erratum applies
231e6cab15dSLouis Mayencourt# only to revision <= r0p1 of the Cortex A73 cpu.
232e6cab15dSLouis MayencourtERRATA_A73_855423	?=0
233e6cab15dSLouis Mayencourt
2345f5d1ed7SLouis Mayencourt# Flag to apply erratum 764081 workaround during reset. This erratum applies
2355f5d1ed7SLouis Mayencourt# only to revision <= r0p0 of the Cortex A75 cpu.
2365f5d1ed7SLouis MayencourtERRATA_A75_764081	?=0
2375f5d1ed7SLouis Mayencourt
23898551591SLouis Mayencourt# Flag to apply erratum 790748 workaround during reset. This erratum applies
23998551591SLouis Mayencourt# only to revision <= r0p0 of the Cortex A75 cpu.
24098551591SLouis MayencourtERRATA_A75_790748	?=0
24198551591SLouis Mayencourt
2425c6aa01aSLouis Mayencourt# Flag to apply erratum 1073348 workaround during reset. This erratum applies
2435c6aa01aSLouis Mayencourt# only to revision <= r1p0 of the Cortex A76 cpu.
2445c6aa01aSLouis MayencourtERRATA_A76_1073348	?=0
2455c6aa01aSLouis Mayencourt
246508d7110SLouis Mayencourt# Flag to apply erratum 1130799 workaround during reset. This erratum applies
247508d7110SLouis Mayencourt# only to revision <= r2p0 of the Cortex A76 cpu.
248508d7110SLouis MayencourtERRATA_A76_1130799	?=0
249508d7110SLouis Mayencourt
2505cc8c7baSLouis Mayencourt# Flag to apply erratum 1220197 workaround during reset. This erratum applies
2515cc8c7baSLouis Mayencourt# only to revision <= r2p0 of the Cortex A76 cpu.
2525cc8c7baSLouis MayencourtERRATA_A76_1220197	?=0
2535cc8c7baSLouis Mayencourt
254e6e1d0acSSoby Mathew# Flag to apply erratum 1257314 workaround during reset. This erratum applies
255e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
256e6e1d0acSSoby MathewERRATA_A76_1257314	?=0
257e6e1d0acSSoby Mathew
258e6e1d0acSSoby Mathew# Flag to apply erratum 1262606 workaround during reset. This erratum applies
259e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
260e6e1d0acSSoby MathewERRATA_A76_1262606	?=0
261e6e1d0acSSoby Mathew
262e6e1d0acSSoby Mathew# Flag to apply erratum 1262888 workaround during reset. This erratum applies
263e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
264e6e1d0acSSoby MathewERRATA_A76_1262888	?=0
265e6e1d0acSSoby Mathew
266e6e1d0acSSoby Mathew# Flag to apply erratum 1275112 workaround during reset. This erratum applies
267e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
268e6e1d0acSSoby MathewERRATA_A76_1275112	?=0
269e6e1d0acSSoby Mathew
270f85edceaSSoby Mathew# Flag to apply erratum 1286807 workaround during reset. This erratum applies
271f85edceaSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu.
272f85edceaSSoby MathewERRATA_A76_1286807	?=0
273f85edceaSSoby Mathew
274d7b08e69Sjohpow01# Flag to apply erratum 1791580 workaround during reset. This erratum applies
275d7b08e69Sjohpow01# only to revision <= r4p0 of the Cortex A76 cpu.
276d7b08e69Sjohpow01ERRATA_A76_1791580	?=0
277d7b08e69Sjohpow01
278e1c49333SManish V Badarkhe# Flag to apply erratum 1165522 workaround during reset. This erratum applies
279e1c49333SManish V Badarkhe# to all revisions of Cortex A76 cpu.
280e1c49333SManish V BadarkheERRATA_A76_1165522	?=0
281e1c49333SManish V Badarkhe
28255ff05f3Sjohpow01# Flag to apply erratum 1868343 workaround during reset. This erratum applies
28355ff05f3Sjohpow01# only to revision <= r4p0 of the Cortex A76 cpu.
28455ff05f3Sjohpow01ERRATA_A76_1868343	?=0
28555ff05f3Sjohpow01
2863f0d8369Sjohpow01# Flag to apply erratum 1946160 workaround during reset. This erratum applies
2873f0d8369Sjohpow01# only to revisions r3p0 - r4p1 of the Cortex A76 cpu.
2883f0d8369Sjohpow01ERRATA_A76_1946160	?=0
2893f0d8369Sjohpow01
290aa3efe3dSlaurenw-arm# Flag to apply erratum 1508412 workaround during reset. This erratum applies
291aa3efe3dSlaurenw-arm# only to revision <= r1p0 of the Cortex A77 cpu.
292aa3efe3dSlaurenw-armERRATA_A77_1508412	?=0
293aa3efe3dSlaurenw-arm
29435c75377Sjohpow01# Flag to apply erratum 1925769 workaround during reset. This erratum applies
29535c75377Sjohpow01# only to revision <= r1p1 of the Cortex A77 cpu.
29635c75377Sjohpow01ERRATA_A77_1925769	?=0
29735c75377Sjohpow01
298a492edc4Slaurenw-arm# Flag to apply erratum 1946167 workaround during reset. This erratum applies
299a492edc4Slaurenw-arm# only to revision <= r1p1 of the Cortex A77 cpu.
300a492edc4Slaurenw-armERRATA_A77_1946167	?=0
301a492edc4Slaurenw-arm
3023f0bec7cSjohpow01# Flag to apply erratum 1791578 workaround during reset. This erratum applies
3033f0bec7cSjohpow01# to revisions r0p0, r1p0, and r1p1, it is still open.
3043f0bec7cSjohpow01ERRATA_A77_1791578	?=0
3053f0bec7cSjohpow01
3067bf1a7aaSBipin Ravi# Flag to apply erratum 2356587 workaround during reset. This erratum applies
3077bf1a7aaSBipin Ravi# to revisions r0p0, r1p0, and r1p1, it is still open.
3087bf1a7aaSBipin RaviERRATA_A77_2356587	?=0
3097bf1a7aaSBipin Ravi
31083e95524SMadhukar Pappireddy# Flag to apply erratum 1688305 workaround during reset. This erratum applies
3113f35709cSJimmy Brisson# to revisions r0p0 - r1p0 of the A78 cpu.
3123f35709cSJimmy BrissonERRATA_A78_1688305	?=0
31383e95524SMadhukar Pappireddy
314e26c59d2Sjohpow01# Flag to apply erratum 1941498 workaround during reset. This erratum applies
315e26c59d2Sjohpow01# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
316e26c59d2Sjohpow01ERRATA_A78_1941498	?=0
317e26c59d2Sjohpow01
3183a2710dcSjohpow01# Flag to apply erratum 1951500 workaround during reset. This erratum applies
3193a2710dcSjohpow01# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
3203a2710dcSjohpow01# well but there is no workaround for that revision.
3213a2710dcSjohpow01ERRATA_A78_1951500	?=0
3223a2710dcSjohpow01
3231a691455Sjohpow01# Flag to apply erratum 1821534 workaround during reset. This erratum applies
3241a691455Sjohpow01# to revisions r0p0 and r1p0 of the A78 cpu.
3251a691455Sjohpow01ERRATA_A78_1821534	?=0
3261a691455Sjohpow01
32700bee997Snayanpatel-arm# Flag to apply erratum 1952683 workaround during reset. This erratum applies
32800bee997Snayanpatel-arm# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
32900bee997Snayanpatel-armERRATA_A78_1952683	?=0
33000bee997Snayanpatel-arm
331b36fe212Snayanpatel-arm# Flag to apply erratum 2132060 workaround during reset. This erratum applies
332b36fe212Snayanpatel-arm# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
333b36fe212Snayanpatel-armERRATA_A78_2132060	?=0
334b36fe212Snayanpatel-arm
3351ea9190cSjohpow01# Flag to apply erratum 2242635 workaround during reset. This erratum applies
3361ea9190cSjohpow01# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
3371ea9190cSjohpow01# present in r0p0 as well but there is no workaround for that revision.
3381ea9190cSjohpow01ERRATA_A78_2242635	?=0
3391ea9190cSjohpow01
3405d796b3aSJohn Powell# Flag to apply erratum 2376745 workaround during reset. This erratum applies
3415d796b3aSJohn Powell# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
3425d796b3aSJohn PowellERRATA_A78_2376745	?=0
3435d796b3aSJohn Powell
3443b577ed5SJohn Powell# Flag to apply erratum 2395406 workaround during reset. This erratum applies
3453b577ed5SJohn Powell# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
3463b577ed5SJohn PowellERRATA_A78_2395406	?=0
3473b577ed5SJohn Powell
3481ea9190cSjohpow01# Flag to apply erratum 1941500 workaround during reset. This erratum applies
3491ea9190cSjohpow01# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
3501ea9190cSjohpow01ERRATA_A78_AE_1941500	?=0
3511ea9190cSjohpow01
3521ea9190cSjohpow01# Flag to apply erratum 1951502 workaround during reset. This erratum applies
3531ea9190cSjohpow01# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
3541ea9190cSjohpow01ERRATA_A78_AE_1951502	?=0
3551ea9190cSjohpow01
35692e87084SVarun Wadekar# Flag to apply erratum 2376748 workaround during reset. This erratum applies
35792e87084SVarun Wadekar# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
35892e87084SVarun WadekarERRATA_A78_AE_2376748	?=0
35992e87084SVarun Wadekar
3603f4d81dfSVarun Wadekar# Flag to apply erratum 2395408 workaround during reset. This erratum applies
3613f4d81dfSVarun Wadekar# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
3623f4d81dfSVarun WadekarERRATA_A78_AE_2395408	?=0
3633f4d81dfSVarun Wadekar
3648008babdSlaurenw-arm# Flag to apply erratum 2132064 workaround during reset. This erratum applies
3658008babdSlaurenw-arm# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
3668008babdSlaurenw-armERRATA_A78C_2132064	?=0
3678008babdSlaurenw-arm
368*6979f47fSBipin Ravi# Flag to apply erratum 2242638 workaround during reset. This erratum applies
369*6979f47fSBipin Ravi# to revisions r0p1 and r0p2 of the A78C cpu. It is still open.
370*6979f47fSBipin RaviERRATA_A78C_2242638	?=0
371*6979f47fSBipin Ravi
3727b76c20dSOkash Khawaja# Flag to apply erratum 1821534 workaround during reset. This erratum applies
3737b76c20dSOkash Khawaja# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
3747b76c20dSOkash KhawajaERRATA_X1_1821534	?=0
3757b76c20dSOkash Khawaja
3767b76c20dSOkash Khawaja# Flag to apply erratum 1688305 workaround during reset. This erratum applies
3777b76c20dSOkash Khawaja# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
3787b76c20dSOkash KhawajaERRATA_X1_1688305	?=0
3797b76c20dSOkash Khawaja
3807b76c20dSOkash Khawaja# Flag to apply erratum 1827429 workaround during reset. This erratum applies
3817b76c20dSOkash Khawaja# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
3827b76c20dSOkash KhawajaERRATA_X1_1827429	?=0
3837b76c20dSOkash Khawaja
384040b546eSDimitris Papastamos# Flag to apply T32 CLREX workaround during reset. This erratum applies
385da6d75a0SJohn Tsichritzis# only to r0p0 and r1p0 of the Neoverse N1 cpu.
386dbafda7cSlaurenw-armERRATA_N1_1043202	?=0
387040b546eSDimitris Papastamos
388a601afe1Slauwal01# Flag to apply erratum 1073348 workaround during reset. This erratum applies
389a601afe1Slauwal01# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
390a601afe1Slauwal01ERRATA_N1_1073348	?=0
391a601afe1Slauwal01
392e34606f2Slauwal01# Flag to apply erratum 1130799 workaround during reset. This erratum applies
393e34606f2Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
394e34606f2Slauwal01ERRATA_N1_1130799	?=0
395e34606f2Slauwal01
3962017ab24Slauwal01# Flag to apply erratum 1165347 workaround during reset. This erratum applies
3972017ab24Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
3982017ab24Slauwal01ERRATA_N1_1165347	?=0
3992017ab24Slauwal01
400ef5fa7d4Slauwal01# Flag to apply erratum 1207823 workaround during reset. This erratum applies
401ef5fa7d4Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
402ef5fa7d4Slauwal01ERRATA_N1_1207823	?=0
403ef5fa7d4Slauwal01
4049eceb020Slauwal01# Flag to apply erratum 1220197 workaround during reset. This erratum applies
4059eceb020Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
4069eceb020Slauwal01ERRATA_N1_1220197	?=0
4079eceb020Slauwal01
408335b3c79Slauwal01# Flag to apply erratum 1257314 workaround during reset. This erratum applies
409335b3c79Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
410335b3c79Slauwal01ERRATA_N1_1257314	?=0
411335b3c79Slauwal01
412411f4959Slauwal01# Flag to apply erratum 1262606 workaround during reset. This erratum applies
413411f4959Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
414411f4959Slauwal01ERRATA_N1_1262606	?=0
415411f4959Slauwal01
41611c48370Slauwal01# Flag to apply erratum 1262888 workaround during reset. This erratum applies
41711c48370Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
41811c48370Slauwal01ERRATA_N1_1262888	?=0
41911c48370Slauwal01
4204d8801feSlauwal01# Flag to apply erratum 1275112 workaround during reset. This erratum applies
4214d8801feSlauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
4224d8801feSlauwal01ERRATA_N1_1275112	?=0
4234d8801feSlauwal01
4245f5d0763SAndre Przywara# Flag to apply erratum 1315703 workaround during reset. This erratum applies
4255f5d0763SAndre Przywara# to revisions before r3p1 of the Neoverse N1 cpu.
426dbafda7cSlaurenw-armERRATA_N1_1315703	?=0
4275f5d0763SAndre Przywara
42880942622Slaurenw-arm# Flag to apply erratum 1542419 workaround during reset. This erratum applies
42980942622Slaurenw-arm# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
43080942622Slaurenw-armERRATA_N1_1542419	?=0
43180942622Slaurenw-arm
43261f0ffc4Sjohpow01# Flag to apply erratum 1868343 workaround during reset. This erratum applies
43361f0ffc4Sjohpow01# to revision <= r4p0 of the Neoverse N1 cpu.
43461f0ffc4Sjohpow01ERRATA_N1_1868343	?=0
43561f0ffc4Sjohpow01
436263ee781Sjohpow01# Flag to apply erratum 1946160 workaround during reset. This erratum applies
437263ee781Sjohpow01# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
438263ee781Sjohpow01# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
439263ee781Sjohpow01ERRATA_N1_1946160	?=0
440263ee781Sjohpow01
4419380f754Snayanpatel-arm# Flag to apply erratum 2002655 workaround during reset. This erratum applies
4429380f754Snayanpatel-arm# to revisions r0p0 of the Neoverse-N2 cpu, it is still open.
4439380f754Snayanpatel-armERRATA_N2_2002655	?=0
4449380f754Snayanpatel-arm
4454789cf66Slaurenw-arm# Flag to apply erratum 1774420 workaround during reset. This erratum applies
4464789cf66Slaurenw-arm# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
4474789cf66Slaurenw-armERRATA_V1_1774420	?=0
4484789cf66Slaurenw-arm
44933e3e925Sjohpow01# Flag to apply erratum 1791573 workaround during reset. This erratum applies
45033e3e925Sjohpow01# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
45133e3e925Sjohpow01ERRATA_V1_1791573	?=0
45233e3e925Sjohpow01
453143b1965Slaurenw-arm# Flag to apply erratum 1852267 workaround during reset. This erratum applies
454143b1965Slaurenw-arm# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
455143b1965Slaurenw-armERRATA_V1_1852267	?=0
456143b1965Slaurenw-arm
457741dd04cSlaurenw-arm# Flag to apply erratum 1925756 workaround during reset. This needs to be
458741dd04cSlaurenw-arm# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
459741dd04cSlaurenw-armERRATA_V1_1925756	?=0
460741dd04cSlaurenw-arm
461182ce101Sjohpow01# Flag to apply erratum 1940577 workaround during reset. This erratum applies
462182ce101Sjohpow01# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
463182ce101Sjohpow01ERRATA_V1_1940577	?=0
464182ce101Sjohpow01
4651a8804c3Sjohpow01# Flag to apply erratum 1966096 workaround during reset. This erratum applies
4661a8804c3Sjohpow01# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
4671a8804c3Sjohpow01# exists in r0p0 as well but there is no workaround for that revision.
4681a8804c3Sjohpow01ERRATA_V1_1966096	?=0
4691a8804c3Sjohpow01
470100d4029Sjohpow01# Flag to apply erratum 2139242 workaround during reset. This erratum applies
471100d4029Sjohpow01# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
472100d4029Sjohpow01ERRATA_V1_2139242	?=0
473100d4029Sjohpow01
4748e140272Snayanpatel-arm# Flag to apply erratum 2108267 workaround during reset. This erratum applies
4758e140272Snayanpatel-arm# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
4768e140272Snayanpatel-armERRATA_V1_2108267	?=0
4778e140272Snayanpatel-arm
4784c8fe6b1Sjohpow01# Flag to apply erratum 2216392 workaround during reset. This erratum applies
4794c8fe6b1Sjohpow01# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
4804c8fe6b1Sjohpow01# issue exists in r0p0 as well but there is no workaround for that revision.
4814c8fe6b1Sjohpow01ERRATA_V1_2216392	?=0
4824c8fe6b1Sjohpow01
48339eb5ddbSBipin Ravi# Flag to apply erratum 2294912 workaround during reset. This erratum applies
48439eb5ddbSBipin Ravi# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
48539eb5ddbSBipin RaviERRATA_V1_2294912	?=0
48639eb5ddbSBipin Ravi
48757b73d55SBipin Ravi# Flag to apply erratum 2372203 workaround during reset. This erratum applies
48857b73d55SBipin Ravi# to revisions r0p0, r1p0 and r1p1 of the Neoverse V1 cpu and is still open.
48957b73d55SBipin RaviERRATA_V1_2372203	?=0
49057b73d55SBipin Ravi
491fbcf54aeSnayanpatel-arm# Flag to apply erratum 1987031 workaround during reset. This erratum applies
492fbcf54aeSnayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
493fbcf54aeSnayanpatel-armERRATA_A710_1987031	?=0
494fbcf54aeSnayanpatel-arm
495a64bcc2bSnayanpatel-arm# Flag to apply erratum 2081180 workaround during reset. This erratum applies
496a64bcc2bSnayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
497a64bcc2bSnayanpatel-armERRATA_A710_2081180	?=0
498a64bcc2bSnayanpatel-arm
49995fe195dSnayanpatel-arm# Flag to apply erratum 2083908 workaround during reset. This erratum applies
50095fe195dSnayanpatel-arm# to revision r2p0 of the Cortex-A710 cpu and is still open.
50195fe195dSnayanpatel-armERRATA_A710_2083908	?=0
50295fe195dSnayanpatel-arm
503744bdbf7Snayanpatel-arm# Flag to apply erratum 2058056 workaround during reset. This erratum applies
504744bdbf7Snayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
505744bdbf7Snayanpatel-armERRATA_A710_2058056	?=0
506744bdbf7Snayanpatel-arm
50783435637Sjohpow01# Flag to apply erratum 2055002 workaround during reset. This erratum applies
50883435637Sjohpow01# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
50983435637Sjohpow01ERRATA_A710_2055002	?=0
51083435637Sjohpow01
51183435637Sjohpow01# Flag to apply erratum 2017096 workaround during reset. This erratum applies
51283435637Sjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
51383435637Sjohpow01ERRATA_A710_2017096	?=0
51483435637Sjohpow01
51583435637Sjohpow01# Flag to apply erratum 2267065 workaround during reset. This erratum applies
51683435637Sjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
51783435637Sjohpow01ERRATA_A710_2267065	?=0
51883435637Sjohpow01
51983435637Sjohpow01# Flag to apply erratum 2136059 workaround during reset. This erratum applies
52083435637Sjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
52183435637Sjohpow01ERRATA_A710_2136059	?=0
52283435637Sjohpow01
523ef934cd1Sjohpow01# Flag to apply erratum 2282622 workaround during reset. This erratum applies
524ef934cd1Sjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
525ef934cd1Sjohpow01ERRATA_A710_2282622	?=0
526ef934cd1Sjohpow01
527af220ebbSjohpow01# Flag to apply erratum 2008768 workaround during reset. This erratum applies
528af220ebbSjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
529af220ebbSjohpow01ERRATA_A710_2008768	?=0
530af220ebbSjohpow01
53165e04f27SBipin Ravi# Flag to apply erratum 2067956 workaround during reset. This erratum applies
53265e04f27SBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
53365e04f27SBipin RaviERRATA_N2_2067956	?=0
53465e04f27SBipin Ravi
5354618b2bfSBipin Ravi# Flag to apply erratum 2025414 workaround during reset. This erratum applies
5364618b2bfSBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
5374618b2bfSBipin RaviERRATA_N2_2025414	?=0
5384618b2bfSBipin Ravi
5397cfae932SBipin Ravi# Flag to apply erratum 2189731 workaround during reset. This erratum applies
5407cfae932SBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
5417cfae932SBipin RaviERRATA_N2_2189731	?=0
5427cfae932SBipin Ravi
5431cafb08dSBipin Ravi# Flag to apply erratum 2138956 workaround during reset. This erratum applies
5441cafb08dSBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
5451cafb08dSBipin RaviERRATA_N2_2138956	?=0
5461cafb08dSBipin Ravi
547ef8f0c52Snayanpatel-arm# Flag to apply erratum 2138953 workaround during reset. This erratum applies
548ef8f0c52Snayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
549ef8f0c52Snayanpatel-armERRATA_N2_2138953	?=0
550ef8f0c52Snayanpatel-arm
5515819e23bSnayanpatel-arm# Flag to apply erratum 2242415 workaround during reset. This erratum applies
5525819e23bSnayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
5535819e23bSnayanpatel-armERRATA_N2_2242415	?=0
5545819e23bSnayanpatel-arm
555c948185cSnayanpatel-arm# Flag to apply erratum 2138958 workaround during reset. This erratum applies
556c948185cSnayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
557c948185cSnayanpatel-armERRATA_N2_2138958	?=0
558c948185cSnayanpatel-arm
559603806d1Snayanpatel-arm# Flag to apply erratum 2242400 workaround during reset. This erratum applies
560603806d1Snayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
561603806d1Snayanpatel-armERRATA_N2_2242400	?=0
562603806d1Snayanpatel-arm
5630d2d9992Snayanpatel-arm# Flag to apply erratum 2280757 workaround during reset. This erratum applies
5640d2d9992Snayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
5650d2d9992Snayanpatel-armERRATA_N2_2280757	?=0
5660d2d9992Snayanpatel-arm
567884d5156SDaniel Boulby# Flag to apply erratum 2388450 workaround during reset. This erratum applies
568884d5156SDaniel Boulby# to revision r0p0 of the Neoverse N2 cpu, it is fixed in r0p1.
569884d5156SDaniel BoulbyERRATA_N2_2388450	?=0
570884d5156SDaniel Boulby
57134ee76dbSjohpow01# Flag to apply erratum 2002765 workaround during reset. This erratum applies
57234ee76dbSjohpow01# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
57334ee76dbSjohpow01ERRATA_X2_2002765	?=0
57434ee76dbSjohpow01
575e16045deSjohpow01# Flag to apply erratum 2058056 workaround during reset. This erratum applies
576e16045deSjohpow01# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
577e16045deSjohpow01ERRATA_X2_2058056	?=0
578e16045deSjohpow01
5791db6cd60Sjohpow01# Flag to apply erratum 2083908 workaround during reset. This erratum applies
5801db6cd60Sjohpow01# to revision r2p0 of the Cortex-X2 cpu and is still open.
5811db6cd60Sjohpow01ERRATA_X2_2083908	?=0
5821db6cd60Sjohpow01
583e7ca4433SBipin Ravi# Flag to apply erratum 2017096 workaround during reset. This erratum applies
584e7ca4433SBipin Ravi# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
585e7ca4433SBipin Ravi# r2p1.
586e7ca4433SBipin RaviERRATA_X2_2017096	?=0
587e7ca4433SBipin Ravi
588c060b533SBipin Ravi# Flag to apply erratum 2081180 workaround during reset. This erratum applies
589c060b533SBipin Ravi# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
590c060b533SBipin Ravi# r2p1.
591c060b533SBipin RaviERRATA_X2_2081180	?=0
592c060b533SBipin Ravi
5934dff7594SBipin Ravi# Flag to apply erratum 2216384 workaround during reset. This erratum applies
5944dff7594SBipin Ravi# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
5954dff7594SBipin Ravi# r2p1.
5964dff7594SBipin RaviERRATA_X2_2216384	?=0
5974dff7594SBipin Ravi
59863446c27SBipin Ravi# Flag to apply erratum 2147715 workaround during reset. This erratum applies
59963446c27SBipin Ravi# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
60063446c27SBipin RaviERRATA_X2_2147715	?=0
60163446c27SBipin Ravi
60283435637Sjohpow01# Flag to apply erratum 1922240 workaround during reset. This erratum applies
60383435637Sjohpow01# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
60483435637Sjohpow01ERRATA_A510_1922240	?=0
60583435637Sjohpow01
606d5e2512cSjohpow01# Flag to apply erratum 2288014 workaround during reset. This erratum applies
607d5e2512cSjohpow01# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
608d5e2512cSjohpow01# fixed in r1p1.
609d5e2512cSjohpow01ERRATA_A510_2288014	?=0
610d5e2512cSjohpow01
611d48088acSjohpow01# Flag to apply erratum 2042739 workaround during reset. This erratum applies
612d48088acSjohpow01# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
613d48088acSjohpow01ERRATA_A510_2042739	?=0
614d48088acSjohpow01
615e72bbe47Sjohpow01# Flag to apply erratum 2041909 workaround during reset. This erratum applies
616e72bbe47Sjohpow01# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
617e72bbe47Sjohpow01# present in r0p0 and r0p1 but there is no workaround for those revisions.
618e72bbe47Sjohpow01ERRATA_A510_2041909	?=0
619e72bbe47Sjohpow01
6207f304b02Sjohpow01# Flag to apply erratum 2250311 workaround during reset. This erratum applies
6217f304b02Sjohpow01# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
6227f304b02Sjohpow01ERRATA_A510_2250311	?=0
6237f304b02Sjohpow01
624cc79018bSjohpow01# Flag to apply erratum 2218950 workaround during reset. This erratum applies
625cc79018bSjohpow01# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
626cc79018bSjohpow01ERRATA_A510_2218950	?=0
627cc79018bSjohpow01
628c0959d2cSjohpow01# Flag to apply erratum 2172148 workaround during reset. This erratum applies
629c0959d2cSjohpow01# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
630c0959d2cSjohpow01ERRATA_A510_2172148	?=0
631c0959d2cSjohpow01
6320e985d70SLouis Mayencourt# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
6330e985d70SLouis Mayencourt# Applying the workaround results in higher DSU power consumption on idle.
6340e985d70SLouis MayencourtERRATA_DSU_798953	?=0
6350e985d70SLouis Mayencourt
6368a677180SJohn Tsichritzis# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
6378a677180SJohn Tsichritzis# the ACP interface and revision < r2p0. Applying the workaround results in
6388a677180SJohn Tsichritzis# higher DSU power consumption on idle.
6398a677180SJohn TsichritzisERRATA_DSU_936184	?=0
6408a677180SJohn Tsichritzis
6417e3273e8SBipin Ravi# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
6427e3273e8SBipin Ravi# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
6437e3273e8SBipin Ravi# results in higher DSU power consumption on idle.
6447e3273e8SBipin RaviERRATA_DSU_2313941	?=0
6457e3273e8SBipin Ravi
646dd4cf2c7SJoel Hutton# Process ERRATA_A9_794073 flag
647dd4cf2c7SJoel Hutton$(eval $(call assert_boolean,ERRATA_A9_794073))
648dd4cf2c7SJoel Hutton$(eval $(call add_define,ERRATA_A9_794073))
649dd4cf2c7SJoel Hutton
65075a1ada9SAmbroise Vincent# Process ERRATA_A15_816470 flag
65175a1ada9SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A15_816470))
65275a1ada9SAmbroise Vincent$(eval $(call add_define,ERRATA_A15_816470))
65375a1ada9SAmbroise Vincent
6545f2c690dSAmbroise Vincent# Process ERRATA_A15_827671 flag
6555f2c690dSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A15_827671))
6565f2c690dSAmbroise Vincent$(eval $(call add_define,ERRATA_A15_827671))
6575f2c690dSAmbroise Vincent
6580b64c194SAmbroise Vincent# Process ERRATA_A17_852421 flag
6590b64c194SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A17_852421))
6600b64c194SAmbroise Vincent$(eval $(call add_define,ERRATA_A17_852421))
6610b64c194SAmbroise Vincent
662be10dcdeSAmbroise Vincent# Process ERRATA_A17_852423 flag
663be10dcdeSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A17_852423))
664be10dcdeSAmbroise Vincent$(eval $(call add_define,ERRATA_A17_852423))
665be10dcdeSAmbroise Vincent
666cba71b70SLouis Mayencourt# Process ERRATA_A35_855472 flag
667cba71b70SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A35_855472))
668cba71b70SLouis Mayencourt$(eval $(call add_define,ERRATA_A35_855472))
669cba71b70SLouis Mayencourt
670bd393704SAmbroise Vincent# Process ERRATA_A53_819472 flag
671bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_819472))
672bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_819472))
673bd393704SAmbroise Vincent
674bd393704SAmbroise Vincent# Process ERRATA_A53_824069 flag
675bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_824069))
676bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_824069))
677bd393704SAmbroise Vincent
6786b0d97b2SJimmy Huang# Process ERRATA_A53_826319 flag
6796b0d97b2SJimmy Huang$(eval $(call assert_boolean,ERRATA_A53_826319))
6806b0d97b2SJimmy Huang$(eval $(call add_define,ERRATA_A53_826319))
6816b0d97b2SJimmy Huang
682bd393704SAmbroise Vincent# Process ERRATA_A53_827319 flag
683bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_827319))
684bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_827319))
685bd393704SAmbroise Vincent
686a94cc374SDouglas Raillard# Process ERRATA_A53_835769 flag
687a94cc374SDouglas Raillard$(eval $(call assert_boolean,ERRATA_A53_835769))
688a94cc374SDouglas Raillard$(eval $(call add_define,ERRATA_A53_835769))
689a94cc374SDouglas Raillard
6906b0d97b2SJimmy Huang# Process ERRATA_A53_836870 flag
6916b0d97b2SJimmy Huang$(eval $(call assert_boolean,ERRATA_A53_836870))
6926b0d97b2SJimmy Huang$(eval $(call add_define,ERRATA_A53_836870))
6936b0d97b2SJimmy Huang
694a94cc374SDouglas Raillard# Process ERRATA_A53_843419 flag
695a94cc374SDouglas Raillard$(eval $(call assert_boolean,ERRATA_A53_843419))
696a94cc374SDouglas Raillard$(eval $(call add_define,ERRATA_A53_843419))
697a94cc374SDouglas Raillard
698b75dc0e4SAndre Przywara# Process ERRATA_A53_855873 flag
699b75dc0e4SAndre Przywara$(eval $(call assert_boolean,ERRATA_A53_855873))
700b75dc0e4SAndre Przywara$(eval $(call add_define,ERRATA_A53_855873))
701b75dc0e4SAndre Przywara
702e1c49333SManish V Badarkhe# Process ERRATA_A53_1530924 flag
703e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A53_1530924))
704e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A53_1530924))
705e1c49333SManish V Badarkhe
7061afeee92SAmbroise Vincent# Process ERRATA_A55_768277 flag
7071afeee92SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_768277))
7081afeee92SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_768277))
7091afeee92SAmbroise Vincent
710a6cc6610SAmbroise Vincent# Process ERRATA_A55_778703 flag
711a6cc6610SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_778703))
712a6cc6610SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_778703))
713a6cc6610SAmbroise Vincent
7146ab87d29SAmbroise Vincent# Process ERRATA_A55_798797 flag
7156ab87d29SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_798797))
7166ab87d29SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_798797))
7176ab87d29SAmbroise Vincent
7186e78973eSAmbroise Vincent# Process ERRATA_A55_846532 flag
7196e78973eSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_846532))
7206e78973eSAmbroise Vincent$(eval $(call add_define,ERRATA_A55_846532))
7216e78973eSAmbroise Vincent
72247949f3fSAmbroise Vincent# Process ERRATA_A55_903758 flag
72347949f3fSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_903758))
72447949f3fSAmbroise Vincent$(eval $(call add_define,ERRATA_A55_903758))
72547949f3fSAmbroise Vincent
7269af07df0SAmbroise Vincent# Process ERRATA_A55_1221012 flag
7279af07df0SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_1221012))
7289af07df0SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_1221012))
7299af07df0SAmbroise Vincent
730e1c49333SManish V Badarkhe# Process ERRATA_A55_1530923 flag
731e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A55_1530923))
732e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A55_1530923))
733e1c49333SManish V Badarkhe
7345541bb3fSSoby Mathew# Process ERRATA_A57_806969 flag
7355541bb3fSSoby Mathew$(eval $(call assert_boolean,ERRATA_A57_806969))
7365541bb3fSSoby Mathew$(eval $(call add_define,ERRATA_A57_806969))
7375541bb3fSSoby Mathew
738ccbec91cSAntonio Nino Diaz# Process ERRATA_A57_813419 flag
739ccbec91cSAntonio Nino Diaz$(eval $(call assert_boolean,ERRATA_A57_813419))
740ccbec91cSAntonio Nino Diaz$(eval $(call add_define,ERRATA_A57_813419))
741ccbec91cSAntonio Nino Diaz
7425541bb3fSSoby Mathew# Process ERRATA_A57_813420 flag
7435541bb3fSSoby Mathew$(eval $(call assert_boolean,ERRATA_A57_813420))
7445541bb3fSSoby Mathew$(eval $(call add_define,ERRATA_A57_813420))
745df22d602SSandrine Bailleux
7460f6fbbd2SAmbroise Vincent# Process ERRATA_A57_814670 flag
7470f6fbbd2SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A57_814670))
7480f6fbbd2SAmbroise Vincent$(eval $(call add_define,ERRATA_A57_814670))
7490f6fbbd2SAmbroise Vincent
7505bd2c24fSAmbroise Vincent# Process ERRATA_A57_817169 flag
7515bd2c24fSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A57_817169))
7525bd2c24fSAmbroise Vincent$(eval $(call add_define,ERRATA_A57_817169))
7535bd2c24fSAmbroise Vincent
754df22d602SSandrine Bailleux# Process ERRATA_A57_826974 flag
755df22d602SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_826974))
756df22d602SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_826974))
757a8b1c769SSandrine Bailleux
75807288865SSandrine Bailleux# Process ERRATA_A57_826977 flag
75907288865SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_826977))
76007288865SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_826977))
76107288865SSandrine Bailleux
762a8b1c769SSandrine Bailleux# Process ERRATA_A57_828024 flag
763a8b1c769SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_828024))
764a8b1c769SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_828024))
7650b77197bSSandrine Bailleux
7660b77197bSSandrine Bailleux# Process ERRATA_A57_829520 flag
7670b77197bSSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_829520))
7680b77197bSSandrine Bailleux$(eval $(call add_define,ERRATA_A57_829520))
769adeecf92SSandrine Bailleux
770adeecf92SSandrine Bailleux# Process ERRATA_A57_833471 flag
771adeecf92SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_833471))
772adeecf92SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_833471))
773a94cc374SDouglas Raillard
77445b52c20SEleanor Bonnici# Process ERRATA_A57_859972 flag
77545b52c20SEleanor Bonnici$(eval $(call assert_boolean,ERRATA_A57_859972))
77645b52c20SEleanor Bonnici$(eval $(call add_define,ERRATA_A57_859972))
77745b52c20SEleanor Bonnici
778e1c49333SManish V Badarkhe# Process ERRATA_A57_1319537 flag
779e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A57_1319537))
780e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A57_1319537))
781e1c49333SManish V Badarkhe
7826de9b336SEleanor Bonnici# Process ERRATA_A72_859971 flag
7836de9b336SEleanor Bonnici$(eval $(call assert_boolean,ERRATA_A72_859971))
7846de9b336SEleanor Bonnici$(eval $(call add_define,ERRATA_A72_859971))
7856de9b336SEleanor Bonnici
786e1c49333SManish V Badarkhe# Process ERRATA_A72_1319367 flag
787e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A72_1319367))
788e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A72_1319367))
789e1c49333SManish V Badarkhe
79025278eabSLouis Mayencourt# Process ERRATA_A73_852427 flag
79125278eabSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A73_852427))
79225278eabSLouis Mayencourt$(eval $(call add_define,ERRATA_A73_852427))
79325278eabSLouis Mayencourt
794e6cab15dSLouis Mayencourt# Process ERRATA_A73_855423 flag
795e6cab15dSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A73_855423))
796e6cab15dSLouis Mayencourt$(eval $(call add_define,ERRATA_A73_855423))
797e6cab15dSLouis Mayencourt
7985f5d1ed7SLouis Mayencourt# Process ERRATA_A75_764081 flag
7995f5d1ed7SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A75_764081))
8005f5d1ed7SLouis Mayencourt$(eval $(call add_define,ERRATA_A75_764081))
8015f5d1ed7SLouis Mayencourt
80298551591SLouis Mayencourt# Process ERRATA_A75_790748 flag
80398551591SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A75_790748))
80498551591SLouis Mayencourt$(eval $(call add_define,ERRATA_A75_790748))
80598551591SLouis Mayencourt
8065c6aa01aSLouis Mayencourt# Process ERRATA_A76_1073348 flag
8075c6aa01aSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1073348))
8085c6aa01aSLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1073348))
8095c6aa01aSLouis Mayencourt
810508d7110SLouis Mayencourt# Process ERRATA_A76_1130799 flag
811508d7110SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1130799))
812508d7110SLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1130799))
813508d7110SLouis Mayencourt
8145cc8c7baSLouis Mayencourt# Process ERRATA_A76_1220197 flag
8155cc8c7baSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1220197))
8165cc8c7baSLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1220197))
8175cc8c7baSLouis Mayencourt
818e6e1d0acSSoby Mathew# Process ERRATA_A76_1257314 flag
819e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1257314))
820e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1257314))
821e6e1d0acSSoby Mathew
822e6e1d0acSSoby Mathew# Process ERRATA_A76_1262606 flag
823e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1262606))
824e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1262606))
825e6e1d0acSSoby Mathew
826e6e1d0acSSoby Mathew# Process ERRATA_A76_1262888 flag
827e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1262888))
828e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1262888))
829e6e1d0acSSoby Mathew
830e6e1d0acSSoby Mathew# Process ERRATA_A76_1275112 flag
831e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1275112))
832e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1275112))
833e6e1d0acSSoby Mathew
834f85edceaSSoby Mathew# Process ERRATA_A76_1286807 flag
835f85edceaSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1286807))
836f85edceaSSoby Mathew$(eval $(call add_define,ERRATA_A76_1286807))
837f85edceaSSoby Mathew
838d7b08e69Sjohpow01# Process ERRATA_A76_1791580 flag
839d7b08e69Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1791580))
840d7b08e69Sjohpow01$(eval $(call add_define,ERRATA_A76_1791580))
841d7b08e69Sjohpow01
842e1c49333SManish V Badarkhe# Process ERRATA_A76_1165522 flag
843e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A76_1165522))
844e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A76_1165522))
845e1c49333SManish V Badarkhe
84655ff05f3Sjohpow01# Process ERRATA_A76_1868343 flag
84755ff05f3Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1868343))
84855ff05f3Sjohpow01$(eval $(call add_define,ERRATA_A76_1868343))
84955ff05f3Sjohpow01
8503f0d8369Sjohpow01# Process ERRATA_A76_1946160 flag
8513f0d8369Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1946160))
8523f0d8369Sjohpow01$(eval $(call add_define,ERRATA_A76_1946160))
8533f0d8369Sjohpow01
854aa3efe3dSlaurenw-arm# Process ERRATA_A77_1508412 flag
855aa3efe3dSlaurenw-arm$(eval $(call assert_boolean,ERRATA_A77_1508412))
856aa3efe3dSlaurenw-arm$(eval $(call add_define,ERRATA_A77_1508412))
857aa3efe3dSlaurenw-arm
85835c75377Sjohpow01# Process ERRATA_A77_1925769 flag
85935c75377Sjohpow01$(eval $(call assert_boolean,ERRATA_A77_1925769))
86035c75377Sjohpow01$(eval $(call add_define,ERRATA_A77_1925769))
86135c75377Sjohpow01
862a492edc4Slaurenw-arm# Process ERRATA_A77_1946167 flag
863a492edc4Slaurenw-arm$(eval $(call assert_boolean,ERRATA_A77_1946167))
864a492edc4Slaurenw-arm$(eval $(call add_define,ERRATA_A77_1946167))
865a492edc4Slaurenw-arm
8663f0bec7cSjohpow01# Process ERRATA_A77_1791578 flag
8673f0bec7cSjohpow01$(eval $(call assert_boolean,ERRATA_A77_1791578))
8683f0bec7cSjohpow01$(eval $(call add_define,ERRATA_A77_1791578))
8693f0bec7cSjohpow01
8707bf1a7aaSBipin Ravi# Process ERRATA_A77_2356587 flag
8717bf1a7aaSBipin Ravi$(eval $(call assert_boolean,ERRATA_A77_2356587))
8727bf1a7aaSBipin Ravi$(eval $(call add_define,ERRATA_A77_2356587))
8737bf1a7aaSBipin Ravi
8743f35709cSJimmy Brisson# Process ERRATA_A78_1688305 flag
8753f35709cSJimmy Brisson$(eval $(call assert_boolean,ERRATA_A78_1688305))
8763f35709cSJimmy Brisson$(eval $(call add_define,ERRATA_A78_1688305))
87783e95524SMadhukar Pappireddy
878e26c59d2Sjohpow01# Process ERRATA_A78_1941498 flag
879e26c59d2Sjohpow01$(eval $(call assert_boolean,ERRATA_A78_1941498))
880e26c59d2Sjohpow01$(eval $(call add_define,ERRATA_A78_1941498))
881e26c59d2Sjohpow01
8823a2710dcSjohpow01# Process ERRATA_A78_1951500 flag
8833a2710dcSjohpow01$(eval $(call assert_boolean,ERRATA_A78_1951500))
8843a2710dcSjohpow01$(eval $(call add_define,ERRATA_A78_1951500))
8853a2710dcSjohpow01
8861a691455Sjohpow01# Process ERRATA_A78_1821534 flag
8871a691455Sjohpow01$(eval $(call assert_boolean,ERRATA_A78_1821534))
8881a691455Sjohpow01$(eval $(call add_define,ERRATA_A78_1821534))
8891a691455Sjohpow01
89000bee997Snayanpatel-arm# Process ERRATA_A78_1952683 flag
89100bee997Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A78_1952683))
89200bee997Snayanpatel-arm$(eval $(call add_define,ERRATA_A78_1952683))
89300bee997Snayanpatel-arm
894b36fe212Snayanpatel-arm# Process ERRATA_A78_2132060 flag
895b36fe212Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A78_2132060))
896b36fe212Snayanpatel-arm$(eval $(call add_define,ERRATA_A78_2132060))
897b36fe212Snayanpatel-arm
8981ea9190cSjohpow01# Process ERRATA_A78_2242635 flag
8991ea9190cSjohpow01$(eval $(call assert_boolean,ERRATA_A78_2242635))
9001ea9190cSjohpow01$(eval $(call add_define,ERRATA_A78_2242635))
9011ea9190cSjohpow01
9025d796b3aSJohn Powell# Process ERRATA_A78_2376745 flag
9035d796b3aSJohn Powell$(eval $(call assert_boolean,ERRATA_A78_2376745))
9045d796b3aSJohn Powell$(eval $(call add_define,ERRATA_A78_2376745))
9055d796b3aSJohn Powell
9063b577ed5SJohn Powell# Process ERRATA_A78_2395406 flag
9073b577ed5SJohn Powell$(eval $(call assert_boolean,ERRATA_A78_2395406))
9083b577ed5SJohn Powell$(eval $(call add_define,ERRATA_A78_2395406))
9093b577ed5SJohn Powell
9101ea9190cSjohpow01# Process ERRATA_A78_AE_1941500 flag
9111ea9190cSjohpow01$(eval $(call assert_boolean,ERRATA_A78_AE_1941500))
9121ea9190cSjohpow01$(eval $(call add_define,ERRATA_A78_AE_1941500))
9131ea9190cSjohpow01
9141ea9190cSjohpow01# Process ERRATA_A78_AE_1951502 flag
9151ea9190cSjohpow01$(eval $(call assert_boolean,ERRATA_A78_AE_1951502))
9161ea9190cSjohpow01$(eval $(call add_define,ERRATA_A78_AE_1951502))
9171ea9190cSjohpow01
91892e87084SVarun Wadekar# Process ERRATA_A78_AE_2376748 flag
91992e87084SVarun Wadekar$(eval $(call assert_boolean,ERRATA_A78_AE_2376748))
92092e87084SVarun Wadekar$(eval $(call add_define,ERRATA_A78_AE_2376748))
92192e87084SVarun Wadekar
9223f4d81dfSVarun Wadekar# Process ERRATA_A78_AE_2395408 flag
9233f4d81dfSVarun Wadekar$(eval $(call assert_boolean,ERRATA_A78_AE_2395408))
9243f4d81dfSVarun Wadekar$(eval $(call add_define,ERRATA_A78_AE_2395408))
9253f4d81dfSVarun Wadekar
9268008babdSlaurenw-arm# Process ERRATA_A78C_2132064 flag
9278008babdSlaurenw-arm$(eval $(call assert_boolean,ERRATA_A78C_2132064))
9288008babdSlaurenw-arm$(eval $(call add_define,ERRATA_A78C_2132064))
9298008babdSlaurenw-arm
930*6979f47fSBipin Ravi# Process ERRATA_A78C_2242638 flag
931*6979f47fSBipin Ravi$(eval $(call assert_boolean,ERRATA_A78C_2242638))
932*6979f47fSBipin Ravi$(eval $(call add_define,ERRATA_A78C_2242638))
933*6979f47fSBipin Ravi
9347b76c20dSOkash Khawaja# Process ERRATA_X1_1821534 flag
9357b76c20dSOkash Khawaja$(eval $(call assert_boolean,ERRATA_X1_1821534))
9367b76c20dSOkash Khawaja$(eval $(call add_define,ERRATA_X1_1821534))
9377b76c20dSOkash Khawaja
9387b76c20dSOkash Khawaja# Process ERRATA_X1_1688305 flag
9397b76c20dSOkash Khawaja$(eval $(call assert_boolean,ERRATA_X1_1688305))
9407b76c20dSOkash Khawaja$(eval $(call add_define,ERRATA_X1_1688305))
9417b76c20dSOkash Khawaja
9427b76c20dSOkash Khawaja# Process ERRATA_X1_1827429 flag
9437b76c20dSOkash Khawaja$(eval $(call assert_boolean,ERRATA_X1_1827429))
9447b76c20dSOkash Khawaja$(eval $(call add_define,ERRATA_X1_1827429))
9457b76c20dSOkash Khawaja
946da6d75a0SJohn Tsichritzis# Process ERRATA_N1_1043202 flag
947da6d75a0SJohn Tsichritzis$(eval $(call assert_boolean,ERRATA_N1_1043202))
948da6d75a0SJohn Tsichritzis$(eval $(call add_define,ERRATA_N1_1043202))
949040b546eSDimitris Papastamos
950a601afe1Slauwal01# Process ERRATA_N1_1073348 flag
951a601afe1Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1073348))
952a601afe1Slauwal01$(eval $(call add_define,ERRATA_N1_1073348))
953a601afe1Slauwal01
954e34606f2Slauwal01# Process ERRATA_N1_1130799 flag
955e34606f2Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1130799))
956e34606f2Slauwal01$(eval $(call add_define,ERRATA_N1_1130799))
957e34606f2Slauwal01
9582017ab24Slauwal01# Process ERRATA_N1_1165347 flag
9592017ab24Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1165347))
9602017ab24Slauwal01$(eval $(call add_define,ERRATA_N1_1165347))
9612017ab24Slauwal01
962ef5fa7d4Slauwal01# Process ERRATA_N1_1207823 flag
963ef5fa7d4Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1207823))
964ef5fa7d4Slauwal01$(eval $(call add_define,ERRATA_N1_1207823))
965ef5fa7d4Slauwal01
9669eceb020Slauwal01# Process ERRATA_N1_1220197 flag
9679eceb020Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1220197))
9689eceb020Slauwal01$(eval $(call add_define,ERRATA_N1_1220197))
9699eceb020Slauwal01
970335b3c79Slauwal01# Process ERRATA_N1_1257314 flag
971335b3c79Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1257314))
972335b3c79Slauwal01$(eval $(call add_define,ERRATA_N1_1257314))
973335b3c79Slauwal01
974411f4959Slauwal01# Process ERRATA_N1_1262606 flag
975411f4959Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1262606))
976411f4959Slauwal01$(eval $(call add_define,ERRATA_N1_1262606))
977411f4959Slauwal01
97811c48370Slauwal01# Process ERRATA_N1_1262888 flag
97911c48370Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1262888))
98011c48370Slauwal01$(eval $(call add_define,ERRATA_N1_1262888))
98111c48370Slauwal01
9824d8801feSlauwal01# Process ERRATA_N1_1275112 flag
9834d8801feSlauwal01$(eval $(call assert_boolean,ERRATA_N1_1275112))
9844d8801feSlauwal01$(eval $(call add_define,ERRATA_N1_1275112))
9854d8801feSlauwal01
9865f5d0763SAndre Przywara# Process ERRATA_N1_1315703 flag
9875f5d0763SAndre Przywara$(eval $(call assert_boolean,ERRATA_N1_1315703))
9885f5d0763SAndre Przywara$(eval $(call add_define,ERRATA_N1_1315703))
9895f5d0763SAndre Przywara
99080942622Slaurenw-arm# Process ERRATA_N1_1542419 flag
99180942622Slaurenw-arm$(eval $(call assert_boolean,ERRATA_N1_1542419))
99280942622Slaurenw-arm$(eval $(call add_define,ERRATA_N1_1542419))
99380942622Slaurenw-arm
99461f0ffc4Sjohpow01# Process ERRATA_N1_1868343 flag
99561f0ffc4Sjohpow01$(eval $(call assert_boolean,ERRATA_N1_1868343))
99661f0ffc4Sjohpow01$(eval $(call add_define,ERRATA_N1_1868343))
99761f0ffc4Sjohpow01
998263ee781Sjohpow01# Process ERRATA_N1_1946160 flag
999263ee781Sjohpow01$(eval $(call assert_boolean,ERRATA_N1_1946160))
1000263ee781Sjohpow01$(eval $(call add_define,ERRATA_N1_1946160))
1001263ee781Sjohpow01
10029380f754Snayanpatel-arm# Process ERRATA_N2_2002655 flag
10039380f754Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2002655))
10049380f754Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2002655))
10059380f754Snayanpatel-arm
10064789cf66Slaurenw-arm# Process ERRATA_V1_1774420 flag
10074789cf66Slaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1774420))
10084789cf66Slaurenw-arm$(eval $(call add_define,ERRATA_V1_1774420))
10094789cf66Slaurenw-arm
101033e3e925Sjohpow01# Process ERRATA_V1_1791573 flag
101133e3e925Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1791573))
101233e3e925Sjohpow01$(eval $(call add_define,ERRATA_V1_1791573))
101333e3e925Sjohpow01
1014143b1965Slaurenw-arm# Process ERRATA_V1_1852267 flag
1015143b1965Slaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1852267))
1016143b1965Slaurenw-arm$(eval $(call add_define,ERRATA_V1_1852267))
1017143b1965Slaurenw-arm
1018741dd04cSlaurenw-arm# Process ERRATA_V1_1925756 flag
1019741dd04cSlaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1925756))
1020741dd04cSlaurenw-arm$(eval $(call add_define,ERRATA_V1_1925756))
1021741dd04cSlaurenw-arm
1022182ce101Sjohpow01# Process ERRATA_V1_1940577 flag
1023182ce101Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1940577))
1024182ce101Sjohpow01$(eval $(call add_define,ERRATA_V1_1940577))
1025182ce101Sjohpow01
10261a8804c3Sjohpow01# Process ERRATA_V1_1966096 flag
10271a8804c3Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1966096))
10281a8804c3Sjohpow01$(eval $(call add_define,ERRATA_V1_1966096))
10291a8804c3Sjohpow01
1030100d4029Sjohpow01# Process ERRATA_V1_2139242 flag
1031100d4029Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_2139242))
1032100d4029Sjohpow01$(eval $(call add_define,ERRATA_V1_2139242))
1033100d4029Sjohpow01
10348e140272Snayanpatel-arm# Process ERRATA_V1_2108267 flag
10358e140272Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_V1_2108267))
10368e140272Snayanpatel-arm$(eval $(call add_define,ERRATA_V1_2108267))
10378e140272Snayanpatel-arm
10384c8fe6b1Sjohpow01# Process ERRATA_V1_2216392 flag
10394c8fe6b1Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_2216392))
10404c8fe6b1Sjohpow01$(eval $(call add_define,ERRATA_V1_2216392))
10414c8fe6b1Sjohpow01
104239eb5ddbSBipin Ravi# Process ERRATA_V1_2294912 flag
104339eb5ddbSBipin Ravi$(eval $(call assert_boolean,ERRATA_V1_2294912))
104439eb5ddbSBipin Ravi$(eval $(call add_define,ERRATA_V1_2294912))
104539eb5ddbSBipin Ravi
104657b73d55SBipin Ravi# Process ERRATA_V1_2372203 flag
104757b73d55SBipin Ravi$(eval $(call assert_boolean,ERRATA_V1_2372203))
104857b73d55SBipin Ravi$(eval $(call add_define,ERRATA_V1_2372203))
104957b73d55SBipin Ravi
1050fbcf54aeSnayanpatel-arm# Process ERRATA_A710_1987031 flag
1051fbcf54aeSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_1987031))
1052fbcf54aeSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_1987031))
1053fbcf54aeSnayanpatel-arm
1054a64bcc2bSnayanpatel-arm# Process ERRATA_A710_2081180 flag
1055a64bcc2bSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2081180))
1056a64bcc2bSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_2081180))
1057a64bcc2bSnayanpatel-arm
105895fe195dSnayanpatel-arm# Process ERRATA_A710_2083908 flag
105995fe195dSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2083908))
106095fe195dSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_2083908))
106195fe195dSnayanpatel-arm
1062744bdbf7Snayanpatel-arm# Process ERRATA_A710_2058056 flag
1063744bdbf7Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2058056))
1064744bdbf7Snayanpatel-arm$(eval $(call add_define,ERRATA_A710_2058056))
1065744bdbf7Snayanpatel-arm
106683435637Sjohpow01# Process ERRATA_A710_2055002 flag
106783435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2055002))
106883435637Sjohpow01$(eval $(call add_define,ERRATA_A710_2055002))
106983435637Sjohpow01
107083435637Sjohpow01# Process ERRATA_A710_2017096 flag
107183435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2017096))
107283435637Sjohpow01$(eval $(call add_define,ERRATA_A710_2017096))
107383435637Sjohpow01
107483435637Sjohpow01# Process ERRATA_A710_2267065 flag
107583435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2267065))
107683435637Sjohpow01$(eval $(call add_define,ERRATA_A710_2267065))
107783435637Sjohpow01
107883435637Sjohpow01# Process ERRATA_A710_2136059 flag
107983435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2136059))
108083435637Sjohpow01$(eval $(call add_define,ERRATA_A710_2136059))
108183435637Sjohpow01
1082ef934cd1Sjohpow01# Process ERRATA_A710_2282622 flag
1083ef934cd1Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2282622))
1084ef934cd1Sjohpow01$(eval $(call add_define,ERRATA_A710_2282622))
1085ef934cd1Sjohpow01
1086af220ebbSjohpow01# Process ERRATA_A710_2008768 flag
1087af220ebbSjohpow01$(eval $(call assert_boolean,ERRATA_A710_2008768))
1088af220ebbSjohpow01$(eval $(call add_define,ERRATA_A710_2008768))
1089af220ebbSjohpow01
109065e04f27SBipin Ravi# Process ERRATA_N2_2067956 flag
109165e04f27SBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2067956))
109265e04f27SBipin Ravi$(eval $(call add_define,ERRATA_N2_2067956))
109365e04f27SBipin Ravi
10944618b2bfSBipin Ravi# Process ERRATA_N2_2025414 flag
10954618b2bfSBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2025414))
10964618b2bfSBipin Ravi$(eval $(call add_define,ERRATA_N2_2025414))
10974618b2bfSBipin Ravi
10987cfae932SBipin Ravi# Process ERRATA_N2_2189731 flag
10997cfae932SBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2189731))
11007cfae932SBipin Ravi$(eval $(call add_define,ERRATA_N2_2189731))
11017cfae932SBipin Ravi
11021cafb08dSBipin Ravi# Process ERRATA_N2_2138956 flag
11031cafb08dSBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2138956))
11041cafb08dSBipin Ravi$(eval $(call add_define,ERRATA_N2_2138956))
11051cafb08dSBipin Ravi
1106ef8f0c52Snayanpatel-arm# Process ERRATA_N2_2138953 flag
1107ef8f0c52Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2138953))
1108ef8f0c52Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2138953))
1109ef8f0c52Snayanpatel-arm
11105819e23bSnayanpatel-arm# Process ERRATA_N2_2242415 flag
11115819e23bSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2242415))
11125819e23bSnayanpatel-arm$(eval $(call add_define,ERRATA_N2_2242415))
11135819e23bSnayanpatel-arm
1114c948185cSnayanpatel-arm# Process ERRATA_N2_2138958 flag
1115c948185cSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2138958))
1116c948185cSnayanpatel-arm$(eval $(call add_define,ERRATA_N2_2138958))
1117c948185cSnayanpatel-arm
1118603806d1Snayanpatel-arm# Process ERRATA_N2_2242400 flag
1119603806d1Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2242400))
1120603806d1Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2242400))
1121603806d1Snayanpatel-arm
11220d2d9992Snayanpatel-arm# Process ERRATA_N2_2280757 flag
11230d2d9992Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2280757))
11240d2d9992Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2280757))
11250d2d9992Snayanpatel-arm
1126884d5156SDaniel Boulby# Process ERRATA_N2_2388450 flag
1127884d5156SDaniel Boulby$(eval $(call assert_boolean,ERRATA_N2_2388450))
1128884d5156SDaniel Boulby$(eval $(call add_define,ERRATA_N2_2388450))
1129884d5156SDaniel Boulby
113034ee76dbSjohpow01# Process ERRATA_X2_2002765 flag
113134ee76dbSjohpow01$(eval $(call assert_boolean,ERRATA_X2_2002765))
113234ee76dbSjohpow01$(eval $(call add_define,ERRATA_X2_2002765))
113334ee76dbSjohpow01
1134e16045deSjohpow01# Process ERRATA_X2_2058056 flag
1135e16045deSjohpow01$(eval $(call assert_boolean,ERRATA_X2_2058056))
1136e16045deSjohpow01$(eval $(call add_define,ERRATA_X2_2058056))
1137e16045deSjohpow01
11381db6cd60Sjohpow01# Process ERRATA_X2_2083908 flag
11391db6cd60Sjohpow01$(eval $(call assert_boolean,ERRATA_X2_2083908))
11401db6cd60Sjohpow01$(eval $(call add_define,ERRATA_X2_2083908))
11411db6cd60Sjohpow01
1142e7ca4433SBipin Ravi# Process ERRATA_X2_2017096 flag
1143e7ca4433SBipin Ravi$(eval $(call assert_boolean,ERRATA_X2_2017096))
1144e7ca4433SBipin Ravi$(eval $(call add_define,ERRATA_X2_2017096))
1145e7ca4433SBipin Ravi
1146c060b533SBipin Ravi# Process ERRATA_X2_2081180 flag
1147c060b533SBipin Ravi$(eval $(call assert_boolean,ERRATA_X2_2081180))
1148c060b533SBipin Ravi$(eval $(call add_define,ERRATA_X2_2081180))
1149c060b533SBipin Ravi
11504dff7594SBipin Ravi# Process ERRATA_X2_2216384 flag
11514dff7594SBipin Ravi$(eval $(call assert_boolean,ERRATA_X2_2216384))
11524dff7594SBipin Ravi$(eval $(call add_define,ERRATA_X2_2216384))
11534dff7594SBipin Ravi
115463446c27SBipin Ravi# Process ERRATA_X2_2147715 flag
115563446c27SBipin Ravi$(eval $(call assert_boolean,ERRATA_X2_2147715))
115663446c27SBipin Ravi$(eval $(call add_define,ERRATA_X2_2147715))
115763446c27SBipin Ravi
115883435637Sjohpow01# Process ERRATA_A510_1922240 flag
115983435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A510_1922240))
116083435637Sjohpow01$(eval $(call add_define,ERRATA_A510_1922240))
116183435637Sjohpow01
1162d5e2512cSjohpow01# Process ERRATA_A510_2288014 flag
1163d5e2512cSjohpow01$(eval $(call assert_boolean,ERRATA_A510_2288014))
1164d5e2512cSjohpow01$(eval $(call add_define,ERRATA_A510_2288014))
1165d5e2512cSjohpow01
1166d48088acSjohpow01# Process ERRATA_A510_2042739 flag
1167d48088acSjohpow01$(eval $(call assert_boolean,ERRATA_A510_2042739))
1168d48088acSjohpow01$(eval $(call add_define,ERRATA_A510_2042739))
1169d48088acSjohpow01
1170e72bbe47Sjohpow01# Process ERRATA_A510_2041909 flag
1171e72bbe47Sjohpow01$(eval $(call assert_boolean,ERRATA_A510_2041909))
1172e72bbe47Sjohpow01$(eval $(call add_define,ERRATA_A510_2041909))
1173e72bbe47Sjohpow01
11747f304b02Sjohpow01# Process ERRATA_A510_2250311 flag
11757f304b02Sjohpow01$(eval $(call assert_boolean,ERRATA_A510_2250311))
11767f304b02Sjohpow01$(eval $(call add_define,ERRATA_A510_2250311))
11777f304b02Sjohpow01
1178cc79018bSjohpow01# Process ERRATA_A510_2218950 flag
1179cc79018bSjohpow01$(eval $(call assert_boolean,ERRATA_A510_2218950))
1180cc79018bSjohpow01$(eval $(call add_define,ERRATA_A510_2218950))
1181cc79018bSjohpow01
1182c0959d2cSjohpow01# Process ERRATA_A510_2172148 flag
1183c0959d2cSjohpow01$(eval $(call assert_boolean,ERRATA_A510_2172148))
1184c0959d2cSjohpow01$(eval $(call add_define,ERRATA_A510_2172148))
1185c0959d2cSjohpow01
11860e985d70SLouis Mayencourt# Process ERRATA_DSU_798953 flag
11870e985d70SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_DSU_798953))
11880e985d70SLouis Mayencourt$(eval $(call add_define,ERRATA_DSU_798953))
11890e985d70SLouis Mayencourt
11908a677180SJohn Tsichritzis# Process ERRATA_DSU_936184 flag
11918a677180SJohn Tsichritzis$(eval $(call assert_boolean,ERRATA_DSU_936184))
11928a677180SJohn Tsichritzis$(eval $(call add_define,ERRATA_DSU_936184))
11938a677180SJohn Tsichritzis
11947e3273e8SBipin Ravi# Process ERRATA_DSU_2313941 flag
11957e3273e8SBipin Ravi$(eval $(call assert_boolean,ERRATA_DSU_2313941))
11967e3273e8SBipin Ravi$(eval $(call add_define,ERRATA_DSU_2313941))
11977e3273e8SBipin Ravi
1198a94cc374SDouglas Raillard# Errata build flags
1199a94cc374SDouglas Raillardifneq (${ERRATA_A53_843419},0)
1200c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-843419
1201a94cc374SDouglas Raillardendif
1202a94cc374SDouglas Raillard
1203a94cc374SDouglas Raillardifneq (${ERRATA_A53_835769},0)
1204a94cc374SDouglas RaillardTF_CFLAGS_aarch64	+= -mfix-cortex-a53-835769
1205c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-835769
1206a94cc374SDouglas Raillardendif
1207e1c49333SManish V Badarkhe
1208e1c49333SManish V Badarkheifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923}	\
1209e1c49333SManish V Badarkhe	${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1210e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 1
1211e1c49333SManish V Badarkheelse
1212e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 0
1213e1c49333SManish V Badarkheendif
1214