xref: /rk3399_ARM-atf/lib/cpus/cpu-ops.mk (revision 7e3273e8e4dca44e7cb88a827b94e662fa8f83e9)
15541bb3fSSoby Mathew#
2*7e3273e8SBipin 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
30683e95524SMadhukar Pappireddy# Flag to apply erratum 1688305 workaround during reset. This erratum applies
3073f35709cSJimmy Brisson# to revisions r0p0 - r1p0 of the A78 cpu.
3083f35709cSJimmy BrissonERRATA_A78_1688305	?=0
30983e95524SMadhukar Pappireddy
310e26c59d2Sjohpow01# Flag to apply erratum 1941498 workaround during reset. This erratum applies
311e26c59d2Sjohpow01# to revisions r0p0, r1p0, and r1p1 of the A78 cpu.
312e26c59d2Sjohpow01ERRATA_A78_1941498	?=0
313e26c59d2Sjohpow01
3143a2710dcSjohpow01# Flag to apply erratum 1951500 workaround during reset. This erratum applies
3153a2710dcSjohpow01# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as
3163a2710dcSjohpow01# well but there is no workaround for that revision.
3173a2710dcSjohpow01ERRATA_A78_1951500	?=0
3183a2710dcSjohpow01
3191a691455Sjohpow01# Flag to apply erratum 1821534 workaround during reset. This erratum applies
3201a691455Sjohpow01# to revisions r0p0 and r1p0 of the A78 cpu.
3211a691455Sjohpow01ERRATA_A78_1821534	?=0
3221a691455Sjohpow01
32300bee997Snayanpatel-arm# Flag to apply erratum 1952683 workaround during reset. This erratum applies
32400bee997Snayanpatel-arm# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0.
32500bee997Snayanpatel-armERRATA_A78_1952683	?=0
32600bee997Snayanpatel-arm
327b36fe212Snayanpatel-arm# Flag to apply erratum 2132060 workaround during reset. This erratum applies
328b36fe212Snayanpatel-arm# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
329b36fe212Snayanpatel-armERRATA_A78_2132060	?=0
330b36fe212Snayanpatel-arm
3311ea9190cSjohpow01# Flag to apply erratum 2242635 workaround during reset. This erratum applies
3321ea9190cSjohpow01# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is
3331ea9190cSjohpow01# present in r0p0 as well but there is no workaround for that revision.
3341ea9190cSjohpow01ERRATA_A78_2242635	?=0
3351ea9190cSjohpow01
3365d796b3aSJohn Powell# Flag to apply erratum 2376745 workaround during reset. This erratum applies
3375d796b3aSJohn Powell# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
3385d796b3aSJohn PowellERRATA_A78_2376745	?=0
3395d796b3aSJohn Powell
3403b577ed5SJohn Powell# Flag to apply erratum 2395406 workaround during reset. This erratum applies
3413b577ed5SJohn Powell# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open.
3423b577ed5SJohn PowellERRATA_A78_2395406	?=0
3433b577ed5SJohn Powell
3441ea9190cSjohpow01# Flag to apply erratum 1941500 workaround during reset. This erratum applies
3451ea9190cSjohpow01# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
3461ea9190cSjohpow01ERRATA_A78_AE_1941500	?=0
3471ea9190cSjohpow01
3481ea9190cSjohpow01# Flag to apply erratum 1951502 workaround during reset. This erratum applies
3491ea9190cSjohpow01# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
3501ea9190cSjohpow01ERRATA_A78_AE_1951502	?=0
3511ea9190cSjohpow01
35292e87084SVarun Wadekar# Flag to apply erratum 2376748 workaround during reset. This erratum applies
35392e87084SVarun Wadekar# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
35492e87084SVarun WadekarERRATA_A78_AE_2376748	?=0
35592e87084SVarun Wadekar
3563f4d81dfSVarun Wadekar# Flag to apply erratum 2395408 workaround during reset. This erratum applies
3573f4d81dfSVarun Wadekar# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open.
3583f4d81dfSVarun WadekarERRATA_A78_AE_2395408	?=0
3593f4d81dfSVarun Wadekar
3607b76c20dSOkash Khawaja# Flag to apply erratum 1821534 workaround during reset. This erratum applies
3617b76c20dSOkash Khawaja# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
3627b76c20dSOkash KhawajaERRATA_X1_1821534	?=0
3637b76c20dSOkash Khawaja
3647b76c20dSOkash Khawaja# Flag to apply erratum 1688305 workaround during reset. This erratum applies
3657b76c20dSOkash Khawaja# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
3667b76c20dSOkash KhawajaERRATA_X1_1688305	?=0
3677b76c20dSOkash Khawaja
3687b76c20dSOkash Khawaja# Flag to apply erratum 1827429 workaround during reset. This erratum applies
3697b76c20dSOkash Khawaja# to revisions r0p0 - r1p0 of the X1 cpu and fixed in r1p1.
3707b76c20dSOkash KhawajaERRATA_X1_1827429	?=0
3717b76c20dSOkash Khawaja
372040b546eSDimitris Papastamos# Flag to apply T32 CLREX workaround during reset. This erratum applies
373da6d75a0SJohn Tsichritzis# only to r0p0 and r1p0 of the Neoverse N1 cpu.
374dbafda7cSlaurenw-armERRATA_N1_1043202	?=0
375040b546eSDimitris Papastamos
376a601afe1Slauwal01# Flag to apply erratum 1073348 workaround during reset. This erratum applies
377a601afe1Slauwal01# only to revision r0p0 and r1p0 of the Neoverse N1 cpu.
378a601afe1Slauwal01ERRATA_N1_1073348	?=0
379a601afe1Slauwal01
380e34606f2Slauwal01# Flag to apply erratum 1130799 workaround during reset. This erratum applies
381e34606f2Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
382e34606f2Slauwal01ERRATA_N1_1130799	?=0
383e34606f2Slauwal01
3842017ab24Slauwal01# Flag to apply erratum 1165347 workaround during reset. This erratum applies
3852017ab24Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
3862017ab24Slauwal01ERRATA_N1_1165347	?=0
3872017ab24Slauwal01
388ef5fa7d4Slauwal01# Flag to apply erratum 1207823 workaround during reset. This erratum applies
389ef5fa7d4Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
390ef5fa7d4Slauwal01ERRATA_N1_1207823	?=0
391ef5fa7d4Slauwal01
3929eceb020Slauwal01# Flag to apply erratum 1220197 workaround during reset. This erratum applies
3939eceb020Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu.
3949eceb020Slauwal01ERRATA_N1_1220197	?=0
3959eceb020Slauwal01
396335b3c79Slauwal01# Flag to apply erratum 1257314 workaround during reset. This erratum applies
397335b3c79Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
398335b3c79Slauwal01ERRATA_N1_1257314	?=0
399335b3c79Slauwal01
400411f4959Slauwal01# Flag to apply erratum 1262606 workaround during reset. This erratum applies
401411f4959Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
402411f4959Slauwal01ERRATA_N1_1262606	?=0
403411f4959Slauwal01
40411c48370Slauwal01# Flag to apply erratum 1262888 workaround during reset. This erratum applies
40511c48370Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
40611c48370Slauwal01ERRATA_N1_1262888	?=0
40711c48370Slauwal01
4084d8801feSlauwal01# Flag to apply erratum 1275112 workaround during reset. This erratum applies
4094d8801feSlauwal01# only to revision <= r3p0 of the Neoverse N1 cpu.
4104d8801feSlauwal01ERRATA_N1_1275112	?=0
4114d8801feSlauwal01
4125f5d0763SAndre Przywara# Flag to apply erratum 1315703 workaround during reset. This erratum applies
4135f5d0763SAndre Przywara# to revisions before r3p1 of the Neoverse N1 cpu.
414dbafda7cSlaurenw-armERRATA_N1_1315703	?=0
4155f5d0763SAndre Przywara
41680942622Slaurenw-arm# Flag to apply erratum 1542419 workaround during reset. This erratum applies
41780942622Slaurenw-arm# to revisions r3p0 - r4p0 of the Neoverse N1 cpu.
41880942622Slaurenw-armERRATA_N1_1542419	?=0
41980942622Slaurenw-arm
42061f0ffc4Sjohpow01# Flag to apply erratum 1868343 workaround during reset. This erratum applies
42161f0ffc4Sjohpow01# to revision <= r4p0 of the Neoverse N1 cpu.
42261f0ffc4Sjohpow01ERRATA_N1_1868343	?=0
42361f0ffc4Sjohpow01
424263ee781Sjohpow01# Flag to apply erratum 1946160 workaround during reset. This erratum applies
425263ee781Sjohpow01# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue
426263ee781Sjohpow01# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround.
427263ee781Sjohpow01ERRATA_N1_1946160	?=0
428263ee781Sjohpow01
4299380f754Snayanpatel-arm# Flag to apply erratum 2002655 workaround during reset. This erratum applies
4309380f754Snayanpatel-arm# to revisions r0p0 of the Neoverse-N2 cpu, it is still open.
4319380f754Snayanpatel-armERRATA_N2_2002655	?=0
4329380f754Snayanpatel-arm
4334789cf66Slaurenw-arm# Flag to apply erratum 1774420 workaround during reset. This erratum applies
4344789cf66Slaurenw-arm# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
4354789cf66Slaurenw-armERRATA_V1_1774420	?=0
4364789cf66Slaurenw-arm
43733e3e925Sjohpow01# Flag to apply erratum 1791573 workaround during reset. This erratum applies
43833e3e925Sjohpow01# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
43933e3e925Sjohpow01ERRATA_V1_1791573	?=0
44033e3e925Sjohpow01
441143b1965Slaurenw-arm# Flag to apply erratum 1852267 workaround during reset. This erratum applies
442143b1965Slaurenw-arm# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1.
443143b1965Slaurenw-armERRATA_V1_1852267	?=0
444143b1965Slaurenw-arm
445741dd04cSlaurenw-arm# Flag to apply erratum 1925756 workaround during reset. This needs to be
446741dd04cSlaurenw-arm# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open.
447741dd04cSlaurenw-armERRATA_V1_1925756	?=0
448741dd04cSlaurenw-arm
449182ce101Sjohpow01# Flag to apply erratum 1940577 workaround during reset. This erratum applies
450182ce101Sjohpow01# to revisions r1p0 and r1p1 of the Neoverse V1 cpu.
451182ce101Sjohpow01ERRATA_V1_1940577	?=0
452182ce101Sjohpow01
4531a8804c3Sjohpow01# Flag to apply erratum 1966096 workaround during reset. This erratum applies
4541a8804c3Sjohpow01# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue
4551a8804c3Sjohpow01# exists in r0p0 as well but there is no workaround for that revision.
4561a8804c3Sjohpow01ERRATA_V1_1966096	?=0
4571a8804c3Sjohpow01
458100d4029Sjohpow01# Flag to apply erratum 2139242 workaround during reset. This erratum applies
459100d4029Sjohpow01# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
460100d4029Sjohpow01ERRATA_V1_2139242	?=0
461100d4029Sjohpow01
4628e140272Snayanpatel-arm# Flag to apply erratum 2108267 workaround during reset. This erratum applies
4638e140272Snayanpatel-arm# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open.
4648e140272Snayanpatel-armERRATA_V1_2108267	?=0
4658e140272Snayanpatel-arm
4664c8fe6b1Sjohpow01# Flag to apply erratum 2216392 workaround during reset. This erratum applies
4674c8fe6b1Sjohpow01# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This
4684c8fe6b1Sjohpow01# issue exists in r0p0 as well but there is no workaround for that revision.
4694c8fe6b1Sjohpow01ERRATA_V1_2216392	?=0
4704c8fe6b1Sjohpow01
471fbcf54aeSnayanpatel-arm# Flag to apply erratum 1987031 workaround during reset. This erratum applies
472fbcf54aeSnayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
473fbcf54aeSnayanpatel-armERRATA_A710_1987031	?=0
474fbcf54aeSnayanpatel-arm
475a64bcc2bSnayanpatel-arm# Flag to apply erratum 2081180 workaround during reset. This erratum applies
476a64bcc2bSnayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
477a64bcc2bSnayanpatel-armERRATA_A710_2081180	?=0
478a64bcc2bSnayanpatel-arm
47995fe195dSnayanpatel-arm# Flag to apply erratum 2083908 workaround during reset. This erratum applies
48095fe195dSnayanpatel-arm# to revision r2p0 of the Cortex-A710 cpu and is still open.
48195fe195dSnayanpatel-armERRATA_A710_2083908	?=0
48295fe195dSnayanpatel-arm
483744bdbf7Snayanpatel-arm# Flag to apply erratum 2058056 workaround during reset. This erratum applies
484744bdbf7Snayanpatel-arm# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
485744bdbf7Snayanpatel-armERRATA_A710_2058056	?=0
486744bdbf7Snayanpatel-arm
48783435637Sjohpow01# Flag to apply erratum 2055002 workaround during reset. This erratum applies
48883435637Sjohpow01# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open.
48983435637Sjohpow01ERRATA_A710_2055002	?=0
49083435637Sjohpow01
49183435637Sjohpow01# Flag to apply erratum 2017096 workaround during reset. This erratum applies
49283435637Sjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open.
49383435637Sjohpow01ERRATA_A710_2017096	?=0
49483435637Sjohpow01
49583435637Sjohpow01# Flag to apply erratum 2267065 workaround during reset. This erratum applies
49683435637Sjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
49783435637Sjohpow01ERRATA_A710_2267065	?=0
49883435637Sjohpow01
49983435637Sjohpow01# Flag to apply erratum 2136059 workaround during reset. This erratum applies
50083435637Sjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
50183435637Sjohpow01ERRATA_A710_2136059	?=0
50283435637Sjohpow01
503ef934cd1Sjohpow01# Flag to apply erratum 2282622 workaround during reset. This erratum applies
504ef934cd1Sjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
505ef934cd1Sjohpow01ERRATA_A710_2282622	?=0
506ef934cd1Sjohpow01
507af220ebbSjohpow01# Flag to apply erratum 2008768 workaround during reset. This erratum applies
508af220ebbSjohpow01# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1.
509af220ebbSjohpow01ERRATA_A710_2008768	?=0
510af220ebbSjohpow01
51165e04f27SBipin Ravi# Flag to apply erratum 2067956 workaround during reset. This erratum applies
51265e04f27SBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
51365e04f27SBipin RaviERRATA_N2_2067956	?=0
51465e04f27SBipin Ravi
5154618b2bfSBipin Ravi# Flag to apply erratum 2025414 workaround during reset. This erratum applies
5164618b2bfSBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
5174618b2bfSBipin RaviERRATA_N2_2025414	?=0
5184618b2bfSBipin Ravi
5197cfae932SBipin Ravi# Flag to apply erratum 2189731 workaround during reset. This erratum applies
5207cfae932SBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
5217cfae932SBipin RaviERRATA_N2_2189731	?=0
5227cfae932SBipin Ravi
5231cafb08dSBipin Ravi# Flag to apply erratum 2138956 workaround during reset. This erratum applies
5241cafb08dSBipin Ravi# to revision r0p0 of the Neoverse N2 cpu and is still open.
5251cafb08dSBipin RaviERRATA_N2_2138956	?=0
5261cafb08dSBipin Ravi
527ef8f0c52Snayanpatel-arm# Flag to apply erratum 2138953 workaround during reset. This erratum applies
528ef8f0c52Snayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
529ef8f0c52Snayanpatel-armERRATA_N2_2138953	?=0
530ef8f0c52Snayanpatel-arm
5315819e23bSnayanpatel-arm# Flag to apply erratum 2242415 workaround during reset. This erratum applies
5325819e23bSnayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
5335819e23bSnayanpatel-armERRATA_N2_2242415	?=0
5345819e23bSnayanpatel-arm
535c948185cSnayanpatel-arm# Flag to apply erratum 2138958 workaround during reset. This erratum applies
536c948185cSnayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
537c948185cSnayanpatel-armERRATA_N2_2138958	?=0
538c948185cSnayanpatel-arm
539603806d1Snayanpatel-arm# Flag to apply erratum 2242400 workaround during reset. This erratum applies
540603806d1Snayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
541603806d1Snayanpatel-armERRATA_N2_2242400	?=0
542603806d1Snayanpatel-arm
5430d2d9992Snayanpatel-arm# Flag to apply erratum 2280757 workaround during reset. This erratum applies
5440d2d9992Snayanpatel-arm# to revision r0p0 of the Neoverse N2 cpu and is still open.
5450d2d9992Snayanpatel-armERRATA_N2_2280757	?=0
5460d2d9992Snayanpatel-arm
54734ee76dbSjohpow01# Flag to apply erratum 2002765 workaround during reset. This erratum applies
54834ee76dbSjohpow01# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
54934ee76dbSjohpow01ERRATA_X2_2002765	?=0
55034ee76dbSjohpow01
551e16045deSjohpow01# Flag to apply erratum 2058056 workaround during reset. This erratum applies
552e16045deSjohpow01# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open.
553e16045deSjohpow01ERRATA_X2_2058056	?=0
554e16045deSjohpow01
5551db6cd60Sjohpow01# Flag to apply erratum 2083908 workaround during reset. This erratum applies
5561db6cd60Sjohpow01# to revision r2p0 of the Cortex-X2 cpu and is still open.
5571db6cd60Sjohpow01ERRATA_X2_2083908	?=0
5581db6cd60Sjohpow01
559e7ca4433SBipin Ravi# Flag to apply erratum 2017096 workaround during reset. This erratum applies
560e7ca4433SBipin Ravi# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
561e7ca4433SBipin Ravi# r2p1.
562e7ca4433SBipin RaviERRATA_X2_2017096	?=0
563e7ca4433SBipin Ravi
564c060b533SBipin Ravi# Flag to apply erratum 2081180 workaround during reset. This erratum applies
565c060b533SBipin Ravi# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
566c060b533SBipin Ravi# r2p1.
567c060b533SBipin RaviERRATA_X2_2081180	?=0
568c060b533SBipin Ravi
5694dff7594SBipin Ravi# Flag to apply erratum 2216384 workaround during reset. This erratum applies
5704dff7594SBipin Ravi# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in
5714dff7594SBipin Ravi# r2p1.
5724dff7594SBipin RaviERRATA_X2_2216384	?=0
5734dff7594SBipin Ravi
57463446c27SBipin Ravi# Flag to apply erratum 2147715 workaround during reset. This erratum applies
57563446c27SBipin Ravi# only to revision r2p0 of the Cortex-X2 cpu, it is fixed in r2p1.
57663446c27SBipin RaviERRATA_X2_2147715	?=0
57763446c27SBipin Ravi
57883435637Sjohpow01# Flag to apply erratum 1922240 workaround during reset. This erratum applies
57983435637Sjohpow01# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1.
58083435637Sjohpow01ERRATA_A510_1922240	?=0
58183435637Sjohpow01
582d5e2512cSjohpow01# Flag to apply erratum 2288014 workaround during reset. This erratum applies
583d5e2512cSjohpow01# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is
584d5e2512cSjohpow01# fixed in r1p1.
585d5e2512cSjohpow01ERRATA_A510_2288014	?=0
586d5e2512cSjohpow01
587d48088acSjohpow01# Flag to apply erratum 2042739 workaround during reset. This erratum applies
588d48088acSjohpow01# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3.
589d48088acSjohpow01ERRATA_A510_2042739	?=0
590d48088acSjohpow01
591e72bbe47Sjohpow01# Flag to apply erratum 2041909 workaround during reset. This erratum applies
592e72bbe47Sjohpow01# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is
593e72bbe47Sjohpow01# present in r0p0 and r0p1 but there is no workaround for those revisions.
594e72bbe47Sjohpow01ERRATA_A510_2041909	?=0
595e72bbe47Sjohpow01
5967f304b02Sjohpow01# Flag to apply erratum 2250311 workaround during reset. This erratum applies
5977f304b02Sjohpow01# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
5987f304b02Sjohpow01ERRATA_A510_2250311	?=0
5997f304b02Sjohpow01
600cc79018bSjohpow01# Flag to apply erratum 2218950 workaround during reset. This erratum applies
601cc79018bSjohpow01# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
602cc79018bSjohpow01ERRATA_A510_2218950	?=0
603cc79018bSjohpow01
604c0959d2cSjohpow01# Flag to apply erratum 2172148 workaround during reset. This erratum applies
605c0959d2cSjohpow01# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1.
606c0959d2cSjohpow01ERRATA_A510_2172148	?=0
607c0959d2cSjohpow01
6080e985d70SLouis Mayencourt# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0.
6090e985d70SLouis Mayencourt# Applying the workaround results in higher DSU power consumption on idle.
6100e985d70SLouis MayencourtERRATA_DSU_798953	?=0
6110e985d70SLouis Mayencourt
6128a677180SJohn Tsichritzis# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing
6138a677180SJohn Tsichritzis# the ACP interface and revision < r2p0. Applying the workaround results in
6148a677180SJohn Tsichritzis# higher DSU power consumption on idle.
6158a677180SJohn TsichritzisERRATA_DSU_936184	?=0
6168a677180SJohn Tsichritzis
617*7e3273e8SBipin Ravi# Flag to apply DSU erratum 2313941. This erratum applies to DSUs revisions
618*7e3273e8SBipin Ravi# r0p0, r1p0, r2p0, r2p1, r3p0, r3p1 and is still open. Applying the workaround
619*7e3273e8SBipin Ravi# results in higher DSU power consumption on idle.
620*7e3273e8SBipin RaviERRATA_DSU_2313941	?=0
621*7e3273e8SBipin Ravi
622dd4cf2c7SJoel Hutton# Process ERRATA_A9_794073 flag
623dd4cf2c7SJoel Hutton$(eval $(call assert_boolean,ERRATA_A9_794073))
624dd4cf2c7SJoel Hutton$(eval $(call add_define,ERRATA_A9_794073))
625dd4cf2c7SJoel Hutton
62675a1ada9SAmbroise Vincent# Process ERRATA_A15_816470 flag
62775a1ada9SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A15_816470))
62875a1ada9SAmbroise Vincent$(eval $(call add_define,ERRATA_A15_816470))
62975a1ada9SAmbroise Vincent
6305f2c690dSAmbroise Vincent# Process ERRATA_A15_827671 flag
6315f2c690dSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A15_827671))
6325f2c690dSAmbroise Vincent$(eval $(call add_define,ERRATA_A15_827671))
6335f2c690dSAmbroise Vincent
6340b64c194SAmbroise Vincent# Process ERRATA_A17_852421 flag
6350b64c194SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A17_852421))
6360b64c194SAmbroise Vincent$(eval $(call add_define,ERRATA_A17_852421))
6370b64c194SAmbroise Vincent
638be10dcdeSAmbroise Vincent# Process ERRATA_A17_852423 flag
639be10dcdeSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A17_852423))
640be10dcdeSAmbroise Vincent$(eval $(call add_define,ERRATA_A17_852423))
641be10dcdeSAmbroise Vincent
642cba71b70SLouis Mayencourt# Process ERRATA_A35_855472 flag
643cba71b70SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A35_855472))
644cba71b70SLouis Mayencourt$(eval $(call add_define,ERRATA_A35_855472))
645cba71b70SLouis Mayencourt
646bd393704SAmbroise Vincent# Process ERRATA_A53_819472 flag
647bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_819472))
648bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_819472))
649bd393704SAmbroise Vincent
650bd393704SAmbroise Vincent# Process ERRATA_A53_824069 flag
651bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_824069))
652bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_824069))
653bd393704SAmbroise Vincent
6546b0d97b2SJimmy Huang# Process ERRATA_A53_826319 flag
6556b0d97b2SJimmy Huang$(eval $(call assert_boolean,ERRATA_A53_826319))
6566b0d97b2SJimmy Huang$(eval $(call add_define,ERRATA_A53_826319))
6576b0d97b2SJimmy Huang
658bd393704SAmbroise Vincent# Process ERRATA_A53_827319 flag
659bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_827319))
660bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_827319))
661bd393704SAmbroise Vincent
662a94cc374SDouglas Raillard# Process ERRATA_A53_835769 flag
663a94cc374SDouglas Raillard$(eval $(call assert_boolean,ERRATA_A53_835769))
664a94cc374SDouglas Raillard$(eval $(call add_define,ERRATA_A53_835769))
665a94cc374SDouglas Raillard
6666b0d97b2SJimmy Huang# Process ERRATA_A53_836870 flag
6676b0d97b2SJimmy Huang$(eval $(call assert_boolean,ERRATA_A53_836870))
6686b0d97b2SJimmy Huang$(eval $(call add_define,ERRATA_A53_836870))
6696b0d97b2SJimmy Huang
670a94cc374SDouglas Raillard# Process ERRATA_A53_843419 flag
671a94cc374SDouglas Raillard$(eval $(call assert_boolean,ERRATA_A53_843419))
672a94cc374SDouglas Raillard$(eval $(call add_define,ERRATA_A53_843419))
673a94cc374SDouglas Raillard
674b75dc0e4SAndre Przywara# Process ERRATA_A53_855873 flag
675b75dc0e4SAndre Przywara$(eval $(call assert_boolean,ERRATA_A53_855873))
676b75dc0e4SAndre Przywara$(eval $(call add_define,ERRATA_A53_855873))
677b75dc0e4SAndre Przywara
678e1c49333SManish V Badarkhe# Process ERRATA_A53_1530924 flag
679e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A53_1530924))
680e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A53_1530924))
681e1c49333SManish V Badarkhe
6821afeee92SAmbroise Vincent# Process ERRATA_A55_768277 flag
6831afeee92SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_768277))
6841afeee92SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_768277))
6851afeee92SAmbroise Vincent
686a6cc6610SAmbroise Vincent# Process ERRATA_A55_778703 flag
687a6cc6610SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_778703))
688a6cc6610SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_778703))
689a6cc6610SAmbroise Vincent
6906ab87d29SAmbroise Vincent# Process ERRATA_A55_798797 flag
6916ab87d29SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_798797))
6926ab87d29SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_798797))
6936ab87d29SAmbroise Vincent
6946e78973eSAmbroise Vincent# Process ERRATA_A55_846532 flag
6956e78973eSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_846532))
6966e78973eSAmbroise Vincent$(eval $(call add_define,ERRATA_A55_846532))
6976e78973eSAmbroise Vincent
69847949f3fSAmbroise Vincent# Process ERRATA_A55_903758 flag
69947949f3fSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_903758))
70047949f3fSAmbroise Vincent$(eval $(call add_define,ERRATA_A55_903758))
70147949f3fSAmbroise Vincent
7029af07df0SAmbroise Vincent# Process ERRATA_A55_1221012 flag
7039af07df0SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_1221012))
7049af07df0SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_1221012))
7059af07df0SAmbroise Vincent
706e1c49333SManish V Badarkhe# Process ERRATA_A55_1530923 flag
707e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A55_1530923))
708e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A55_1530923))
709e1c49333SManish V Badarkhe
7105541bb3fSSoby Mathew# Process ERRATA_A57_806969 flag
7115541bb3fSSoby Mathew$(eval $(call assert_boolean,ERRATA_A57_806969))
7125541bb3fSSoby Mathew$(eval $(call add_define,ERRATA_A57_806969))
7135541bb3fSSoby Mathew
714ccbec91cSAntonio Nino Diaz# Process ERRATA_A57_813419 flag
715ccbec91cSAntonio Nino Diaz$(eval $(call assert_boolean,ERRATA_A57_813419))
716ccbec91cSAntonio Nino Diaz$(eval $(call add_define,ERRATA_A57_813419))
717ccbec91cSAntonio Nino Diaz
7185541bb3fSSoby Mathew# Process ERRATA_A57_813420 flag
7195541bb3fSSoby Mathew$(eval $(call assert_boolean,ERRATA_A57_813420))
7205541bb3fSSoby Mathew$(eval $(call add_define,ERRATA_A57_813420))
721df22d602SSandrine Bailleux
7220f6fbbd2SAmbroise Vincent# Process ERRATA_A57_814670 flag
7230f6fbbd2SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A57_814670))
7240f6fbbd2SAmbroise Vincent$(eval $(call add_define,ERRATA_A57_814670))
7250f6fbbd2SAmbroise Vincent
7265bd2c24fSAmbroise Vincent# Process ERRATA_A57_817169 flag
7275bd2c24fSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A57_817169))
7285bd2c24fSAmbroise Vincent$(eval $(call add_define,ERRATA_A57_817169))
7295bd2c24fSAmbroise Vincent
730df22d602SSandrine Bailleux# Process ERRATA_A57_826974 flag
731df22d602SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_826974))
732df22d602SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_826974))
733a8b1c769SSandrine Bailleux
73407288865SSandrine Bailleux# Process ERRATA_A57_826977 flag
73507288865SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_826977))
73607288865SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_826977))
73707288865SSandrine Bailleux
738a8b1c769SSandrine Bailleux# Process ERRATA_A57_828024 flag
739a8b1c769SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_828024))
740a8b1c769SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_828024))
7410b77197bSSandrine Bailleux
7420b77197bSSandrine Bailleux# Process ERRATA_A57_829520 flag
7430b77197bSSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_829520))
7440b77197bSSandrine Bailleux$(eval $(call add_define,ERRATA_A57_829520))
745adeecf92SSandrine Bailleux
746adeecf92SSandrine Bailleux# Process ERRATA_A57_833471 flag
747adeecf92SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_833471))
748adeecf92SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_833471))
749a94cc374SDouglas Raillard
75045b52c20SEleanor Bonnici# Process ERRATA_A57_859972 flag
75145b52c20SEleanor Bonnici$(eval $(call assert_boolean,ERRATA_A57_859972))
75245b52c20SEleanor Bonnici$(eval $(call add_define,ERRATA_A57_859972))
75345b52c20SEleanor Bonnici
754e1c49333SManish V Badarkhe# Process ERRATA_A57_1319537 flag
755e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A57_1319537))
756e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A57_1319537))
757e1c49333SManish V Badarkhe
7586de9b336SEleanor Bonnici# Process ERRATA_A72_859971 flag
7596de9b336SEleanor Bonnici$(eval $(call assert_boolean,ERRATA_A72_859971))
7606de9b336SEleanor Bonnici$(eval $(call add_define,ERRATA_A72_859971))
7616de9b336SEleanor Bonnici
762e1c49333SManish V Badarkhe# Process ERRATA_A72_1319367 flag
763e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A72_1319367))
764e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A72_1319367))
765e1c49333SManish V Badarkhe
76625278eabSLouis Mayencourt# Process ERRATA_A73_852427 flag
76725278eabSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A73_852427))
76825278eabSLouis Mayencourt$(eval $(call add_define,ERRATA_A73_852427))
76925278eabSLouis Mayencourt
770e6cab15dSLouis Mayencourt# Process ERRATA_A73_855423 flag
771e6cab15dSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A73_855423))
772e6cab15dSLouis Mayencourt$(eval $(call add_define,ERRATA_A73_855423))
773e6cab15dSLouis Mayencourt
7745f5d1ed7SLouis Mayencourt# Process ERRATA_A75_764081 flag
7755f5d1ed7SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A75_764081))
7765f5d1ed7SLouis Mayencourt$(eval $(call add_define,ERRATA_A75_764081))
7775f5d1ed7SLouis Mayencourt
77898551591SLouis Mayencourt# Process ERRATA_A75_790748 flag
77998551591SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A75_790748))
78098551591SLouis Mayencourt$(eval $(call add_define,ERRATA_A75_790748))
78198551591SLouis Mayencourt
7825c6aa01aSLouis Mayencourt# Process ERRATA_A76_1073348 flag
7835c6aa01aSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1073348))
7845c6aa01aSLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1073348))
7855c6aa01aSLouis Mayencourt
786508d7110SLouis Mayencourt# Process ERRATA_A76_1130799 flag
787508d7110SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1130799))
788508d7110SLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1130799))
789508d7110SLouis Mayencourt
7905cc8c7baSLouis Mayencourt# Process ERRATA_A76_1220197 flag
7915cc8c7baSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1220197))
7925cc8c7baSLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1220197))
7935cc8c7baSLouis Mayencourt
794e6e1d0acSSoby Mathew# Process ERRATA_A76_1257314 flag
795e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1257314))
796e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1257314))
797e6e1d0acSSoby Mathew
798e6e1d0acSSoby Mathew# Process ERRATA_A76_1262606 flag
799e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1262606))
800e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1262606))
801e6e1d0acSSoby Mathew
802e6e1d0acSSoby Mathew# Process ERRATA_A76_1262888 flag
803e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1262888))
804e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1262888))
805e6e1d0acSSoby Mathew
806e6e1d0acSSoby Mathew# Process ERRATA_A76_1275112 flag
807e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1275112))
808e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1275112))
809e6e1d0acSSoby Mathew
810f85edceaSSoby Mathew# Process ERRATA_A76_1286807 flag
811f85edceaSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1286807))
812f85edceaSSoby Mathew$(eval $(call add_define,ERRATA_A76_1286807))
813f85edceaSSoby Mathew
814d7b08e69Sjohpow01# Process ERRATA_A76_1791580 flag
815d7b08e69Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1791580))
816d7b08e69Sjohpow01$(eval $(call add_define,ERRATA_A76_1791580))
817d7b08e69Sjohpow01
818e1c49333SManish V Badarkhe# Process ERRATA_A76_1165522 flag
819e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A76_1165522))
820e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A76_1165522))
821e1c49333SManish V Badarkhe
82255ff05f3Sjohpow01# Process ERRATA_A76_1868343 flag
82355ff05f3Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1868343))
82455ff05f3Sjohpow01$(eval $(call add_define,ERRATA_A76_1868343))
82555ff05f3Sjohpow01
8263f0d8369Sjohpow01# Process ERRATA_A76_1946160 flag
8273f0d8369Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1946160))
8283f0d8369Sjohpow01$(eval $(call add_define,ERRATA_A76_1946160))
8293f0d8369Sjohpow01
830aa3efe3dSlaurenw-arm# Process ERRATA_A77_1508412 flag
831aa3efe3dSlaurenw-arm$(eval $(call assert_boolean,ERRATA_A77_1508412))
832aa3efe3dSlaurenw-arm$(eval $(call add_define,ERRATA_A77_1508412))
833aa3efe3dSlaurenw-arm
83435c75377Sjohpow01# Process ERRATA_A77_1925769 flag
83535c75377Sjohpow01$(eval $(call assert_boolean,ERRATA_A77_1925769))
83635c75377Sjohpow01$(eval $(call add_define,ERRATA_A77_1925769))
83735c75377Sjohpow01
838a492edc4Slaurenw-arm# Process ERRATA_A77_1946167 flag
839a492edc4Slaurenw-arm$(eval $(call assert_boolean,ERRATA_A77_1946167))
840a492edc4Slaurenw-arm$(eval $(call add_define,ERRATA_A77_1946167))
841a492edc4Slaurenw-arm
8423f0bec7cSjohpow01# Process ERRATA_A77_1791578 flag
8433f0bec7cSjohpow01$(eval $(call assert_boolean,ERRATA_A77_1791578))
8443f0bec7cSjohpow01$(eval $(call add_define,ERRATA_A77_1791578))
8453f0bec7cSjohpow01
8463f35709cSJimmy Brisson# Process ERRATA_A78_1688305 flag
8473f35709cSJimmy Brisson$(eval $(call assert_boolean,ERRATA_A78_1688305))
8483f35709cSJimmy Brisson$(eval $(call add_define,ERRATA_A78_1688305))
84983e95524SMadhukar Pappireddy
850e26c59d2Sjohpow01# Process ERRATA_A78_1941498 flag
851e26c59d2Sjohpow01$(eval $(call assert_boolean,ERRATA_A78_1941498))
852e26c59d2Sjohpow01$(eval $(call add_define,ERRATA_A78_1941498))
853e26c59d2Sjohpow01
8543a2710dcSjohpow01# Process ERRATA_A78_1951500 flag
8553a2710dcSjohpow01$(eval $(call assert_boolean,ERRATA_A78_1951500))
8563a2710dcSjohpow01$(eval $(call add_define,ERRATA_A78_1951500))
8573a2710dcSjohpow01
8581a691455Sjohpow01# Process ERRATA_A78_1821534 flag
8591a691455Sjohpow01$(eval $(call assert_boolean,ERRATA_A78_1821534))
8601a691455Sjohpow01$(eval $(call add_define,ERRATA_A78_1821534))
8611a691455Sjohpow01
86200bee997Snayanpatel-arm# Process ERRATA_A78_1952683 flag
86300bee997Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A78_1952683))
86400bee997Snayanpatel-arm$(eval $(call add_define,ERRATA_A78_1952683))
86500bee997Snayanpatel-arm
866b36fe212Snayanpatel-arm# Process ERRATA_A78_2132060 flag
867b36fe212Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A78_2132060))
868b36fe212Snayanpatel-arm$(eval $(call add_define,ERRATA_A78_2132060))
869b36fe212Snayanpatel-arm
8701ea9190cSjohpow01# Process ERRATA_A78_2242635 flag
8711ea9190cSjohpow01$(eval $(call assert_boolean,ERRATA_A78_2242635))
8721ea9190cSjohpow01$(eval $(call add_define,ERRATA_A78_2242635))
8731ea9190cSjohpow01
8745d796b3aSJohn Powell# Process ERRATA_A78_2376745 flag
8755d796b3aSJohn Powell$(eval $(call assert_boolean,ERRATA_A78_2376745))
8765d796b3aSJohn Powell$(eval $(call add_define,ERRATA_A78_2376745))
8775d796b3aSJohn Powell
8783b577ed5SJohn Powell# Process ERRATA_A78_2395406 flag
8793b577ed5SJohn Powell$(eval $(call assert_boolean,ERRATA_A78_2395406))
8803b577ed5SJohn Powell$(eval $(call add_define,ERRATA_A78_2395406))
8813b577ed5SJohn Powell
8821ea9190cSjohpow01# Process ERRATA_A78_AE_1941500 flag
8831ea9190cSjohpow01$(eval $(call assert_boolean,ERRATA_A78_AE_1941500))
8841ea9190cSjohpow01$(eval $(call add_define,ERRATA_A78_AE_1941500))
8851ea9190cSjohpow01
8861ea9190cSjohpow01# Process ERRATA_A78_AE_1951502 flag
8871ea9190cSjohpow01$(eval $(call assert_boolean,ERRATA_A78_AE_1951502))
8881ea9190cSjohpow01$(eval $(call add_define,ERRATA_A78_AE_1951502))
8891ea9190cSjohpow01
89092e87084SVarun Wadekar# Process ERRATA_A78_AE_2376748 flag
89192e87084SVarun Wadekar$(eval $(call assert_boolean,ERRATA_A78_AE_2376748))
89292e87084SVarun Wadekar$(eval $(call add_define,ERRATA_A78_AE_2376748))
89392e87084SVarun Wadekar
8943f4d81dfSVarun Wadekar# Process ERRATA_A78_AE_2395408 flag
8953f4d81dfSVarun Wadekar$(eval $(call assert_boolean,ERRATA_A78_AE_2395408))
8963f4d81dfSVarun Wadekar$(eval $(call add_define,ERRATA_A78_AE_2395408))
8973f4d81dfSVarun Wadekar
8987b76c20dSOkash Khawaja# Process ERRATA_X1_1821534 flag
8997b76c20dSOkash Khawaja$(eval $(call assert_boolean,ERRATA_X1_1821534))
9007b76c20dSOkash Khawaja$(eval $(call add_define,ERRATA_X1_1821534))
9017b76c20dSOkash Khawaja
9027b76c20dSOkash Khawaja# Process ERRATA_X1_1688305 flag
9037b76c20dSOkash Khawaja$(eval $(call assert_boolean,ERRATA_X1_1688305))
9047b76c20dSOkash Khawaja$(eval $(call add_define,ERRATA_X1_1688305))
9057b76c20dSOkash Khawaja
9067b76c20dSOkash Khawaja# Process ERRATA_X1_1827429 flag
9077b76c20dSOkash Khawaja$(eval $(call assert_boolean,ERRATA_X1_1827429))
9087b76c20dSOkash Khawaja$(eval $(call add_define,ERRATA_X1_1827429))
9097b76c20dSOkash Khawaja
910da6d75a0SJohn Tsichritzis# Process ERRATA_N1_1043202 flag
911da6d75a0SJohn Tsichritzis$(eval $(call assert_boolean,ERRATA_N1_1043202))
912da6d75a0SJohn Tsichritzis$(eval $(call add_define,ERRATA_N1_1043202))
913040b546eSDimitris Papastamos
914a601afe1Slauwal01# Process ERRATA_N1_1073348 flag
915a601afe1Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1073348))
916a601afe1Slauwal01$(eval $(call add_define,ERRATA_N1_1073348))
917a601afe1Slauwal01
918e34606f2Slauwal01# Process ERRATA_N1_1130799 flag
919e34606f2Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1130799))
920e34606f2Slauwal01$(eval $(call add_define,ERRATA_N1_1130799))
921e34606f2Slauwal01
9222017ab24Slauwal01# Process ERRATA_N1_1165347 flag
9232017ab24Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1165347))
9242017ab24Slauwal01$(eval $(call add_define,ERRATA_N1_1165347))
9252017ab24Slauwal01
926ef5fa7d4Slauwal01# Process ERRATA_N1_1207823 flag
927ef5fa7d4Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1207823))
928ef5fa7d4Slauwal01$(eval $(call add_define,ERRATA_N1_1207823))
929ef5fa7d4Slauwal01
9309eceb020Slauwal01# Process ERRATA_N1_1220197 flag
9319eceb020Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1220197))
9329eceb020Slauwal01$(eval $(call add_define,ERRATA_N1_1220197))
9339eceb020Slauwal01
934335b3c79Slauwal01# Process ERRATA_N1_1257314 flag
935335b3c79Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1257314))
936335b3c79Slauwal01$(eval $(call add_define,ERRATA_N1_1257314))
937335b3c79Slauwal01
938411f4959Slauwal01# Process ERRATA_N1_1262606 flag
939411f4959Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1262606))
940411f4959Slauwal01$(eval $(call add_define,ERRATA_N1_1262606))
941411f4959Slauwal01
94211c48370Slauwal01# Process ERRATA_N1_1262888 flag
94311c48370Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1262888))
94411c48370Slauwal01$(eval $(call add_define,ERRATA_N1_1262888))
94511c48370Slauwal01
9464d8801feSlauwal01# Process ERRATA_N1_1275112 flag
9474d8801feSlauwal01$(eval $(call assert_boolean,ERRATA_N1_1275112))
9484d8801feSlauwal01$(eval $(call add_define,ERRATA_N1_1275112))
9494d8801feSlauwal01
9505f5d0763SAndre Przywara# Process ERRATA_N1_1315703 flag
9515f5d0763SAndre Przywara$(eval $(call assert_boolean,ERRATA_N1_1315703))
9525f5d0763SAndre Przywara$(eval $(call add_define,ERRATA_N1_1315703))
9535f5d0763SAndre Przywara
95480942622Slaurenw-arm# Process ERRATA_N1_1542419 flag
95580942622Slaurenw-arm$(eval $(call assert_boolean,ERRATA_N1_1542419))
95680942622Slaurenw-arm$(eval $(call add_define,ERRATA_N1_1542419))
95780942622Slaurenw-arm
95861f0ffc4Sjohpow01# Process ERRATA_N1_1868343 flag
95961f0ffc4Sjohpow01$(eval $(call assert_boolean,ERRATA_N1_1868343))
96061f0ffc4Sjohpow01$(eval $(call add_define,ERRATA_N1_1868343))
96161f0ffc4Sjohpow01
962263ee781Sjohpow01# Process ERRATA_N1_1946160 flag
963263ee781Sjohpow01$(eval $(call assert_boolean,ERRATA_N1_1946160))
964263ee781Sjohpow01$(eval $(call add_define,ERRATA_N1_1946160))
965263ee781Sjohpow01
9669380f754Snayanpatel-arm# Process ERRATA_N2_2002655 flag
9679380f754Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2002655))
9689380f754Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2002655))
9699380f754Snayanpatel-arm
9704789cf66Slaurenw-arm# Process ERRATA_V1_1774420 flag
9714789cf66Slaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1774420))
9724789cf66Slaurenw-arm$(eval $(call add_define,ERRATA_V1_1774420))
9734789cf66Slaurenw-arm
97433e3e925Sjohpow01# Process ERRATA_V1_1791573 flag
97533e3e925Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1791573))
97633e3e925Sjohpow01$(eval $(call add_define,ERRATA_V1_1791573))
97733e3e925Sjohpow01
978143b1965Slaurenw-arm# Process ERRATA_V1_1852267 flag
979143b1965Slaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1852267))
980143b1965Slaurenw-arm$(eval $(call add_define,ERRATA_V1_1852267))
981143b1965Slaurenw-arm
982741dd04cSlaurenw-arm# Process ERRATA_V1_1925756 flag
983741dd04cSlaurenw-arm$(eval $(call assert_boolean,ERRATA_V1_1925756))
984741dd04cSlaurenw-arm$(eval $(call add_define,ERRATA_V1_1925756))
985741dd04cSlaurenw-arm
986182ce101Sjohpow01# Process ERRATA_V1_1940577 flag
987182ce101Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1940577))
988182ce101Sjohpow01$(eval $(call add_define,ERRATA_V1_1940577))
989182ce101Sjohpow01
9901a8804c3Sjohpow01# Process ERRATA_V1_1966096 flag
9911a8804c3Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_1966096))
9921a8804c3Sjohpow01$(eval $(call add_define,ERRATA_V1_1966096))
9931a8804c3Sjohpow01
994100d4029Sjohpow01# Process ERRATA_V1_2139242 flag
995100d4029Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_2139242))
996100d4029Sjohpow01$(eval $(call add_define,ERRATA_V1_2139242))
997100d4029Sjohpow01
9988e140272Snayanpatel-arm# Process ERRATA_V1_2108267 flag
9998e140272Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_V1_2108267))
10008e140272Snayanpatel-arm$(eval $(call add_define,ERRATA_V1_2108267))
10018e140272Snayanpatel-arm
10024c8fe6b1Sjohpow01# Process ERRATA_V1_2216392 flag
10034c8fe6b1Sjohpow01$(eval $(call assert_boolean,ERRATA_V1_2216392))
10044c8fe6b1Sjohpow01$(eval $(call add_define,ERRATA_V1_2216392))
10054c8fe6b1Sjohpow01
1006fbcf54aeSnayanpatel-arm# Process ERRATA_A710_1987031 flag
1007fbcf54aeSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_1987031))
1008fbcf54aeSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_1987031))
1009fbcf54aeSnayanpatel-arm
1010a64bcc2bSnayanpatel-arm# Process ERRATA_A710_2081180 flag
1011a64bcc2bSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2081180))
1012a64bcc2bSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_2081180))
1013a64bcc2bSnayanpatel-arm
101495fe195dSnayanpatel-arm# Process ERRATA_A710_2083908 flag
101595fe195dSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2083908))
101695fe195dSnayanpatel-arm$(eval $(call add_define,ERRATA_A710_2083908))
101795fe195dSnayanpatel-arm
1018744bdbf7Snayanpatel-arm# Process ERRATA_A710_2058056 flag
1019744bdbf7Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_A710_2058056))
1020744bdbf7Snayanpatel-arm$(eval $(call add_define,ERRATA_A710_2058056))
1021744bdbf7Snayanpatel-arm
102283435637Sjohpow01# Process ERRATA_A710_2055002 flag
102383435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2055002))
102483435637Sjohpow01$(eval $(call add_define,ERRATA_A710_2055002))
102583435637Sjohpow01
102683435637Sjohpow01# Process ERRATA_A710_2017096 flag
102783435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2017096))
102883435637Sjohpow01$(eval $(call add_define,ERRATA_A710_2017096))
102983435637Sjohpow01
103083435637Sjohpow01# Process ERRATA_A710_2267065 flag
103183435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2267065))
103283435637Sjohpow01$(eval $(call add_define,ERRATA_A710_2267065))
103383435637Sjohpow01
103483435637Sjohpow01# Process ERRATA_A710_2136059 flag
103583435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2136059))
103683435637Sjohpow01$(eval $(call add_define,ERRATA_A710_2136059))
103783435637Sjohpow01
1038ef934cd1Sjohpow01# Process ERRATA_A710_2282622 flag
1039ef934cd1Sjohpow01$(eval $(call assert_boolean,ERRATA_A710_2282622))
1040ef934cd1Sjohpow01$(eval $(call add_define,ERRATA_A710_2282622))
1041ef934cd1Sjohpow01
1042af220ebbSjohpow01# Process ERRATA_A710_2008768 flag
1043af220ebbSjohpow01$(eval $(call assert_boolean,ERRATA_A710_2008768))
1044af220ebbSjohpow01$(eval $(call add_define,ERRATA_A710_2008768))
1045af220ebbSjohpow01
104665e04f27SBipin Ravi# Process ERRATA_N2_2067956 flag
104765e04f27SBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2067956))
104865e04f27SBipin Ravi$(eval $(call add_define,ERRATA_N2_2067956))
104965e04f27SBipin Ravi
10504618b2bfSBipin Ravi# Process ERRATA_N2_2025414 flag
10514618b2bfSBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2025414))
10524618b2bfSBipin Ravi$(eval $(call add_define,ERRATA_N2_2025414))
10534618b2bfSBipin Ravi
10547cfae932SBipin Ravi# Process ERRATA_N2_2189731 flag
10557cfae932SBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2189731))
10567cfae932SBipin Ravi$(eval $(call add_define,ERRATA_N2_2189731))
10577cfae932SBipin Ravi
10581cafb08dSBipin Ravi# Process ERRATA_N2_2138956 flag
10591cafb08dSBipin Ravi$(eval $(call assert_boolean,ERRATA_N2_2138956))
10601cafb08dSBipin Ravi$(eval $(call add_define,ERRATA_N2_2138956))
10611cafb08dSBipin Ravi
1062ef8f0c52Snayanpatel-arm# Process ERRATA_N2_2138953 flag
1063ef8f0c52Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2138953))
1064ef8f0c52Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2138953))
1065ef8f0c52Snayanpatel-arm
10665819e23bSnayanpatel-arm# Process ERRATA_N2_2242415 flag
10675819e23bSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2242415))
10685819e23bSnayanpatel-arm$(eval $(call add_define,ERRATA_N2_2242415))
10695819e23bSnayanpatel-arm
1070c948185cSnayanpatel-arm# Process ERRATA_N2_2138958 flag
1071c948185cSnayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2138958))
1072c948185cSnayanpatel-arm$(eval $(call add_define,ERRATA_N2_2138958))
1073c948185cSnayanpatel-arm
1074603806d1Snayanpatel-arm# Process ERRATA_N2_2242400 flag
1075603806d1Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2242400))
1076603806d1Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2242400))
1077603806d1Snayanpatel-arm
10780d2d9992Snayanpatel-arm# Process ERRATA_N2_2280757 flag
10790d2d9992Snayanpatel-arm$(eval $(call assert_boolean,ERRATA_N2_2280757))
10800d2d9992Snayanpatel-arm$(eval $(call add_define,ERRATA_N2_2280757))
10810d2d9992Snayanpatel-arm
108234ee76dbSjohpow01# Process ERRATA_X2_2002765 flag
108334ee76dbSjohpow01$(eval $(call assert_boolean,ERRATA_X2_2002765))
108434ee76dbSjohpow01$(eval $(call add_define,ERRATA_X2_2002765))
108534ee76dbSjohpow01
1086e16045deSjohpow01# Process ERRATA_X2_2058056 flag
1087e16045deSjohpow01$(eval $(call assert_boolean,ERRATA_X2_2058056))
1088e16045deSjohpow01$(eval $(call add_define,ERRATA_X2_2058056))
1089e16045deSjohpow01
10901db6cd60Sjohpow01# Process ERRATA_X2_2083908 flag
10911db6cd60Sjohpow01$(eval $(call assert_boolean,ERRATA_X2_2083908))
10921db6cd60Sjohpow01$(eval $(call add_define,ERRATA_X2_2083908))
10931db6cd60Sjohpow01
1094e7ca4433SBipin Ravi# Process ERRATA_X2_2017096 flag
1095e7ca4433SBipin Ravi$(eval $(call assert_boolean,ERRATA_X2_2017096))
1096e7ca4433SBipin Ravi$(eval $(call add_define,ERRATA_X2_2017096))
1097e7ca4433SBipin Ravi
1098c060b533SBipin Ravi# Process ERRATA_X2_2081180 flag
1099c060b533SBipin Ravi$(eval $(call assert_boolean,ERRATA_X2_2081180))
1100c060b533SBipin Ravi$(eval $(call add_define,ERRATA_X2_2081180))
1101c060b533SBipin Ravi
11024dff7594SBipin Ravi# Process ERRATA_X2_2216384 flag
11034dff7594SBipin Ravi$(eval $(call assert_boolean,ERRATA_X2_2216384))
11044dff7594SBipin Ravi$(eval $(call add_define,ERRATA_X2_2216384))
11054dff7594SBipin Ravi
110663446c27SBipin Ravi# Process ERRATA_X2_2147715 flag
110763446c27SBipin Ravi$(eval $(call assert_boolean,ERRATA_X2_2147715))
110863446c27SBipin Ravi$(eval $(call add_define,ERRATA_X2_2147715))
110963446c27SBipin Ravi
111083435637Sjohpow01# Process ERRATA_A510_1922240 flag
111183435637Sjohpow01$(eval $(call assert_boolean,ERRATA_A510_1922240))
111283435637Sjohpow01$(eval $(call add_define,ERRATA_A510_1922240))
111383435637Sjohpow01
1114d5e2512cSjohpow01# Process ERRATA_A510_2288014 flag
1115d5e2512cSjohpow01$(eval $(call assert_boolean,ERRATA_A510_2288014))
1116d5e2512cSjohpow01$(eval $(call add_define,ERRATA_A510_2288014))
1117d5e2512cSjohpow01
1118d48088acSjohpow01# Process ERRATA_A510_2042739 flag
1119d48088acSjohpow01$(eval $(call assert_boolean,ERRATA_A510_2042739))
1120d48088acSjohpow01$(eval $(call add_define,ERRATA_A510_2042739))
1121d48088acSjohpow01
1122e72bbe47Sjohpow01# Process ERRATA_A510_2041909 flag
1123e72bbe47Sjohpow01$(eval $(call assert_boolean,ERRATA_A510_2041909))
1124e72bbe47Sjohpow01$(eval $(call add_define,ERRATA_A510_2041909))
1125e72bbe47Sjohpow01
11267f304b02Sjohpow01# Process ERRATA_A510_2250311 flag
11277f304b02Sjohpow01$(eval $(call assert_boolean,ERRATA_A510_2250311))
11287f304b02Sjohpow01$(eval $(call add_define,ERRATA_A510_2250311))
11297f304b02Sjohpow01
1130cc79018bSjohpow01# Process ERRATA_A510_2218950 flag
1131cc79018bSjohpow01$(eval $(call assert_boolean,ERRATA_A510_2218950))
1132cc79018bSjohpow01$(eval $(call add_define,ERRATA_A510_2218950))
1133cc79018bSjohpow01
1134c0959d2cSjohpow01# Process ERRATA_A510_2172148 flag
1135c0959d2cSjohpow01$(eval $(call assert_boolean,ERRATA_A510_2172148))
1136c0959d2cSjohpow01$(eval $(call add_define,ERRATA_A510_2172148))
1137c0959d2cSjohpow01
11380e985d70SLouis Mayencourt# Process ERRATA_DSU_798953 flag
11390e985d70SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_DSU_798953))
11400e985d70SLouis Mayencourt$(eval $(call add_define,ERRATA_DSU_798953))
11410e985d70SLouis Mayencourt
11428a677180SJohn Tsichritzis# Process ERRATA_DSU_936184 flag
11438a677180SJohn Tsichritzis$(eval $(call assert_boolean,ERRATA_DSU_936184))
11448a677180SJohn Tsichritzis$(eval $(call add_define,ERRATA_DSU_936184))
11458a677180SJohn Tsichritzis
1146*7e3273e8SBipin Ravi# Process ERRATA_DSU_2313941 flag
1147*7e3273e8SBipin Ravi$(eval $(call assert_boolean,ERRATA_DSU_2313941))
1148*7e3273e8SBipin Ravi$(eval $(call add_define,ERRATA_DSU_2313941))
1149*7e3273e8SBipin Ravi
1150a94cc374SDouglas Raillard# Errata build flags
1151a94cc374SDouglas Raillardifneq (${ERRATA_A53_843419},0)
1152c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-843419
1153a94cc374SDouglas Raillardendif
1154a94cc374SDouglas Raillard
1155a94cc374SDouglas Raillardifneq (${ERRATA_A53_835769},0)
1156a94cc374SDouglas RaillardTF_CFLAGS_aarch64	+= -mfix-cortex-a53-835769
1157c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64	+= --fix-cortex-a53-835769
1158a94cc374SDouglas Raillardendif
1159e1c49333SManish V Badarkhe
1160e1c49333SManish V Badarkheifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923}	\
1161e1c49333SManish V Badarkhe	${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),)
1162e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 1
1163e1c49333SManish V Badarkheelse
1164e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT	:= 0
1165e1c49333SManish V Badarkheendif
1166