15541bb3fSSoby Mathew# 2f2d6b4eeSManish Pandey# Copyright (c) 2014-2020, ARM Limited and Contributors. All rights reserved. 3cd0ea184SVarun Wadekar# Copyright (c) 2020, NVIDIA Corporation. All rights reserved. 45541bb3fSSoby Mathew# 582cb2c1aSdp-arm# SPDX-License-Identifier: BSD-3-Clause 65541bb3fSSoby Mathew# 75541bb3fSSoby Mathew 85541bb3fSSoby Mathew# Cortex A57 specific optimisation to skip L1 cache flush when 95541bb3fSSoby Mathew# cluster is powered down. 105541bb3fSSoby MathewSKIP_A57_L1_FLUSH_PWR_DWN ?=0 115541bb3fSSoby Mathew 1254035fc4SSandrine Bailleux# Flag to disable the cache non-temporal hint. 1354035fc4SSandrine Bailleux# It is enabled by default. 1454035fc4SSandrine BailleuxA53_DISABLE_NON_TEMPORAL_HINT ?=1 1554035fc4SSandrine Bailleux 1654035fc4SSandrine Bailleux# Flag to disable the cache non-temporal hint. 1754035fc4SSandrine Bailleux# It is enabled by default. 1854035fc4SSandrine BailleuxA57_DISABLE_NON_TEMPORAL_HINT ?=1 1954035fc4SSandrine Bailleux 20cd0ea184SVarun Wadekar# Flag to enable higher performance non-cacheable load forwarding. 21cd0ea184SVarun Wadekar# It is disabled by default. 22cd0ea184SVarun WadekarA57_ENABLE_NONCACHEABLE_LOAD_FWD ?= 0 23cd0ea184SVarun Wadekar 24f62ad322SDimitris PapastamosWORKAROUND_CVE_2017_5715 ?=1 25b8a25bbbSDimitris PapastamosWORKAROUND_CVE_2018_3639 ?=1 26fe007b2eSDimitris PapastamosDYNAMIC_WORKAROUND_CVE_2018_3639 ?=0 27f62ad322SDimitris Papastamos 28f2d6b4eeSManish Pandey# Flag to indicate internal or external Last level cache 29f2d6b4eeSManish Pandey# By default internal 30f2d6b4eeSManish PandeyNEOVERSE_N1_EXTERNAL_LLC ?=0 31f2d6b4eeSManish Pandey 32cd0ea184SVarun Wadekar# Process A57_ENABLE_NONCACHEABLE_LOAD_FWD flag 33cd0ea184SVarun Wadekar$(eval $(call assert_boolean,A57_ENABLE_NONCACHEABLE_LOAD_FWD)) 34cd0ea184SVarun Wadekar$(eval $(call add_define,A57_ENABLE_NONCACHEABLE_LOAD_FWD)) 35cd0ea184SVarun Wadekar 365541bb3fSSoby Mathew# Process SKIP_A57_L1_FLUSH_PWR_DWN flag 375541bb3fSSoby Mathew$(eval $(call assert_boolean,SKIP_A57_L1_FLUSH_PWR_DWN)) 385541bb3fSSoby Mathew$(eval $(call add_define,SKIP_A57_L1_FLUSH_PWR_DWN)) 395541bb3fSSoby Mathew 4054035fc4SSandrine Bailleux# Process A53_DISABLE_NON_TEMPORAL_HINT flag 4154035fc4SSandrine Bailleux$(eval $(call assert_boolean,A53_DISABLE_NON_TEMPORAL_HINT)) 4254035fc4SSandrine Bailleux$(eval $(call add_define,A53_DISABLE_NON_TEMPORAL_HINT)) 4354035fc4SSandrine Bailleux 4454035fc4SSandrine Bailleux# Process A57_DISABLE_NON_TEMPORAL_HINT flag 4554035fc4SSandrine Bailleux$(eval $(call assert_boolean,A57_DISABLE_NON_TEMPORAL_HINT)) 4654035fc4SSandrine Bailleux$(eval $(call add_define,A57_DISABLE_NON_TEMPORAL_HINT)) 4754035fc4SSandrine Bailleux 48f62ad322SDimitris Papastamos# Process WORKAROUND_CVE_2017_5715 flag 49f62ad322SDimitris Papastamos$(eval $(call assert_boolean,WORKAROUND_CVE_2017_5715)) 50f62ad322SDimitris Papastamos$(eval $(call add_define,WORKAROUND_CVE_2017_5715)) 515541bb3fSSoby Mathew 52b8a25bbbSDimitris Papastamos# Process WORKAROUND_CVE_2018_3639 flag 53b8a25bbbSDimitris Papastamos$(eval $(call assert_boolean,WORKAROUND_CVE_2018_3639)) 54b8a25bbbSDimitris Papastamos$(eval $(call add_define,WORKAROUND_CVE_2018_3639)) 55b8a25bbbSDimitris Papastamos 56fe007b2eSDimitris Papastamos$(eval $(call assert_boolean,DYNAMIC_WORKAROUND_CVE_2018_3639)) 57fe007b2eSDimitris Papastamos$(eval $(call add_define,DYNAMIC_WORKAROUND_CVE_2018_3639)) 58fe007b2eSDimitris Papastamos 59f2d6b4eeSManish Pandey$(eval $(call assert_boolean,NEOVERSE_N1_EXTERNAL_LLC)) 60f2d6b4eeSManish Pandey$(eval $(call add_define,NEOVERSE_N1_EXTERNAL_LLC)) 61f2d6b4eeSManish Pandey 62fe007b2eSDimitris Papastamosifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0) 63fe007b2eSDimitris Papastamos ifeq (${WORKAROUND_CVE_2018_3639},0) 64fe007b2eSDimitris Papastamos $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1") 65fe007b2eSDimitris Papastamos endif 66fe007b2eSDimitris Papastamosendif 67fe007b2eSDimitris Papastamos 68097b787aSSandrine Bailleux# CPU Errata Build flags. 69097b787aSSandrine Bailleux# These should be enabled by the platform if the erratum workaround needs to be 70097b787aSSandrine Bailleux# applied. 715541bb3fSSoby Mathew 72dd4cf2c7SJoel Hutton# Flag to apply erratum 794073 workaround when disabling mmu. 73dd4cf2c7SJoel HuttonERRATA_A9_794073 ?=0 74dd4cf2c7SJoel Hutton 7575a1ada9SAmbroise Vincent# Flag to apply erratum 816470 workaround during power down. This erratum 7675a1ada9SAmbroise Vincent# applies only to revision >= r3p0 of the Cortex A15 cpu. 7775a1ada9SAmbroise VincentERRATA_A15_816470 ?=0 7875a1ada9SAmbroise Vincent 795f2c690dSAmbroise Vincent# Flag to apply erratum 827671 workaround during reset. This erratum applies 805f2c690dSAmbroise Vincent# only to revision >= r3p0 of the Cortex A15 cpu. 815f2c690dSAmbroise VincentERRATA_A15_827671 ?=0 825f2c690dSAmbroise Vincent 830b64c194SAmbroise Vincent# Flag to apply erratum 852421 workaround during reset. This erratum applies 840b64c194SAmbroise Vincent# only to revision <= r1p2 of the Cortex A17 cpu. 850b64c194SAmbroise VincentERRATA_A17_852421 ?=0 860b64c194SAmbroise Vincent 87be10dcdeSAmbroise Vincent# Flag to apply erratum 852423 workaround during reset. This erratum applies 88be10dcdeSAmbroise Vincent# only to revision <= r1p2 of the Cortex A17 cpu. 89be10dcdeSAmbroise VincentERRATA_A17_852423 ?=0 90be10dcdeSAmbroise Vincent 91cba71b70SLouis Mayencourt# Flag to apply erratum 855472 workaround during reset. This erratum applies 92cba71b70SLouis Mayencourt# only to revision r0p0 of the Cortex A35 cpu. 93cba71b70SLouis MayencourtERRATA_A35_855472 ?=0 94cba71b70SLouis Mayencourt 95bd393704SAmbroise Vincent# Flag to apply erratum 819472 workaround during reset. This erratum applies 96bd393704SAmbroise Vincent# only to revision <= r0p1 of the Cortex A53 cpu. 97bd393704SAmbroise VincentERRATA_A53_819472 ?=0 98bd393704SAmbroise Vincent 99bd393704SAmbroise Vincent# Flag to apply erratum 824069 workaround during reset. This erratum applies 100bd393704SAmbroise Vincent# only to revision <= r0p2 of the Cortex A53 cpu. 101bd393704SAmbroise VincentERRATA_A53_824069 ?=0 102bd393704SAmbroise Vincent 103097b787aSSandrine Bailleux# Flag to apply erratum 826319 workaround during reset. This erratum applies 104097b787aSSandrine Bailleux# only to revision <= r0p2 of the Cortex A53 cpu. 1056b0d97b2SJimmy HuangERRATA_A53_826319 ?=0 1066b0d97b2SJimmy Huang 107bd393704SAmbroise Vincent# Flag to apply erratum 827319 workaround during reset. This erratum applies 108bd393704SAmbroise Vincent# only to revision <= r0p2 of the Cortex A53 cpu. 109bd393704SAmbroise VincentERRATA_A53_827319 ?=0 110bd393704SAmbroise Vincent 111a94cc374SDouglas Raillard# Flag to apply erratum 835769 workaround at compile and link time. This 112a94cc374SDouglas Raillard# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this 113a94cc374SDouglas Raillard# workaround can lead the linker to create "*.stub" sections. 114a94cc374SDouglas RaillardERRATA_A53_835769 ?=0 115a94cc374SDouglas Raillard 116097b787aSSandrine Bailleux# Flag to apply erratum 836870 workaround during reset. This erratum applies 117097b787aSSandrine Bailleux# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this 1183fbe46d7SDouglas Raillard# erratum workaround is enabled by default in hardware. 1196b0d97b2SJimmy HuangERRATA_A53_836870 ?=0 1206b0d97b2SJimmy Huang 121a94cc374SDouglas Raillard# Flag to apply erratum 843419 workaround at link time. 122a94cc374SDouglas Raillard# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this 123a94cc374SDouglas Raillard# workaround could lead the linker to emit "*.stub" sections which are 4kB 124a94cc374SDouglas Raillard# aligned. 125a94cc374SDouglas RaillardERRATA_A53_843419 ?=0 126a94cc374SDouglas Raillard 127b75dc0e4SAndre Przywara# Flag to apply errata 855873 during reset. This errata applies to all 128b75dc0e4SAndre Przywara# revisions of the Cortex A53 CPU, but this firmware workaround only works 129b75dc0e4SAndre Przywara# for revisions r0p3 and higher. Earlier revisions are taken care 130b75dc0e4SAndre Przywara# of by the rich OS. 131b75dc0e4SAndre PrzywaraERRATA_A53_855873 ?=0 132b75dc0e4SAndre Przywara 133*e1c49333SManish V Badarkhe# Flag to apply erratum 1530924 workaround during reset. This erratum applies 134*e1c49333SManish V Badarkhe# to all revisions of Cortex A53 cpu. 135*e1c49333SManish V BadarkheERRATA_A53_1530924 ?=0 136*e1c49333SManish V Badarkhe 1371afeee92SAmbroise Vincent# Flag to apply erratum 768277 workaround during reset. This erratum applies 1381afeee92SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu. 1391afeee92SAmbroise VincentERRATA_A55_768277 ?=0 1401afeee92SAmbroise Vincent 141a6cc6610SAmbroise Vincent# Flag to apply erratum 778703 workaround during reset. This erratum applies 142a6cc6610SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu. 143a6cc6610SAmbroise VincentERRATA_A55_778703 ?=0 144a6cc6610SAmbroise Vincent 1456ab87d29SAmbroise Vincent# Flag to apply erratum 798797 workaround during reset. This erratum applies 1466ab87d29SAmbroise Vincent# only to revision r0p0 of the Cortex A55 cpu. 1476ab87d29SAmbroise VincentERRATA_A55_798797 ?=0 1486ab87d29SAmbroise Vincent 1496e78973eSAmbroise Vincent# Flag to apply erratum 846532 workaround during reset. This erratum applies 1506e78973eSAmbroise Vincent# only to revision <= r0p1 of the Cortex A55 cpu. 1516e78973eSAmbroise VincentERRATA_A55_846532 ?=0 1526e78973eSAmbroise Vincent 15347949f3fSAmbroise Vincent# Flag to apply erratum 903758 workaround during reset. This erratum applies 15447949f3fSAmbroise Vincent# only to revision <= r0p1 of the Cortex A55 cpu. 15547949f3fSAmbroise VincentERRATA_A55_903758 ?=0 15647949f3fSAmbroise Vincent 1579af07df0SAmbroise Vincent# Flag to apply erratum 1221012 workaround during reset. This erratum applies 1589af07df0SAmbroise Vincent# only to revision <= r1p0 of the Cortex A55 cpu. 1599af07df0SAmbroise VincentERRATA_A55_1221012 ?=0 1609af07df0SAmbroise Vincent 161*e1c49333SManish V Badarkhe# Flag to apply erratum 1530923 workaround during reset. This erratum applies 162*e1c49333SManish V Badarkhe# to all revisions of Cortex A55 cpu. 163*e1c49333SManish V BadarkheERRATA_A55_1530923 ?=0 164*e1c49333SManish V Badarkhe 165097b787aSSandrine Bailleux# Flag to apply erratum 806969 workaround during reset. This erratum applies 166097b787aSSandrine Bailleux# only to revision r0p0 of the Cortex A57 cpu. 1675541bb3fSSoby MathewERRATA_A57_806969 ?=0 1685541bb3fSSoby Mathew 169ccbec91cSAntonio Nino Diaz# Flag to apply erratum 813419 workaround during reset. This erratum applies 170ccbec91cSAntonio Nino Diaz# only to revision r0p0 of the Cortex A57 cpu. 171ccbec91cSAntonio Nino DiazERRATA_A57_813419 ?=0 172ccbec91cSAntonio Nino Diaz 173097b787aSSandrine Bailleux# Flag to apply erratum 813420 workaround during reset. This erratum applies 174097b787aSSandrine Bailleux# only to revision r0p0 of the Cortex A57 cpu. 1755541bb3fSSoby MathewERRATA_A57_813420 ?=0 1765541bb3fSSoby Mathew 1770f6fbbd2SAmbroise Vincent# Flag to apply erratum 814670 workaround during reset. This erratum applies 1780f6fbbd2SAmbroise Vincent# only to revision r0p0 of the Cortex A57 cpu. 1790f6fbbd2SAmbroise VincentERRATA_A57_814670 ?=0 1800f6fbbd2SAmbroise Vincent 1815bd2c24fSAmbroise Vincent# Flag to apply erratum 817169 workaround during power down. This erratum 1825bd2c24fSAmbroise Vincent# applies only to revision <= r0p1 of the Cortex A57 cpu. 1835bd2c24fSAmbroise VincentERRATA_A57_817169 ?=0 1845bd2c24fSAmbroise Vincent 185df22d602SSandrine Bailleux# Flag to apply erratum 826974 workaround during reset. This erratum applies 186df22d602SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu. 187df22d602SSandrine BailleuxERRATA_A57_826974 ?=0 188df22d602SSandrine Bailleux 18907288865SSandrine Bailleux# Flag to apply erratum 826977 workaround during reset. This erratum applies 19007288865SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu. 19107288865SSandrine BailleuxERRATA_A57_826977 ?=0 19207288865SSandrine Bailleux 193a8b1c769SSandrine Bailleux# Flag to apply erratum 828024 workaround during reset. This erratum applies 194a8b1c769SSandrine Bailleux# only to revision <= r1p1 of the Cortex A57 cpu. 195a8b1c769SSandrine BailleuxERRATA_A57_828024 ?=0 196a8b1c769SSandrine Bailleux 1970b77197bSSandrine Bailleux# Flag to apply erratum 829520 workaround during reset. This erratum applies 1980b77197bSSandrine Bailleux# only to revision <= r1p2 of the Cortex A57 cpu. 1990b77197bSSandrine BailleuxERRATA_A57_829520 ?=0 2000b77197bSSandrine Bailleux 201adeecf92SSandrine Bailleux# Flag to apply erratum 833471 workaround during reset. This erratum applies 202adeecf92SSandrine Bailleux# only to revision <= r1p2 of the Cortex A57 cpu. 203adeecf92SSandrine BailleuxERRATA_A57_833471 ?=0 204adeecf92SSandrine Bailleux 20545b52c20SEleanor Bonnici# Flag to apply erratum 855972 workaround during reset. This erratum applies 20645b52c20SEleanor Bonnici# only to revision <= r1p3 of the Cortex A57 cpu. 20745b52c20SEleanor BonniciERRATA_A57_859972 ?=0 20845b52c20SEleanor Bonnici 209*e1c49333SManish V Badarkhe# Flag to apply erratum 1319537 workaround during reset. This erratum applies 210*e1c49333SManish V Badarkhe# to all revisions of Cortex A57 cpu. 211*e1c49333SManish V BadarkheERRATA_A57_1319537 ?=0 212*e1c49333SManish V Badarkhe 2136de9b336SEleanor Bonnici# Flag to apply erratum 855971 workaround during reset. This erratum applies 2146de9b336SEleanor Bonnici# only to revision <= r0p3 of the Cortex A72 cpu. 2156de9b336SEleanor BonniciERRATA_A72_859971 ?=0 2166de9b336SEleanor Bonnici 217*e1c49333SManish V Badarkhe# Flag to apply erratum 1319367 workaround during reset. This erratum applies 218*e1c49333SManish V Badarkhe# to all revisions of Cortex A72 cpu. 219*e1c49333SManish V BadarkheERRATA_A72_1319367 ?=0 220*e1c49333SManish V Badarkhe 22125278eabSLouis Mayencourt# Flag to apply erratum 852427 workaround during reset. This erratum applies 22225278eabSLouis Mayencourt# only to revision r0p0 of the Cortex A73 cpu. 22325278eabSLouis MayencourtERRATA_A73_852427 ?=0 22425278eabSLouis Mayencourt 225e6cab15dSLouis Mayencourt# Flag to apply erratum 855423 workaround during reset. This erratum applies 226e6cab15dSLouis Mayencourt# only to revision <= r0p1 of the Cortex A73 cpu. 227e6cab15dSLouis MayencourtERRATA_A73_855423 ?=0 228e6cab15dSLouis Mayencourt 2295f5d1ed7SLouis Mayencourt# Flag to apply erratum 764081 workaround during reset. This erratum applies 2305f5d1ed7SLouis Mayencourt# only to revision <= r0p0 of the Cortex A75 cpu. 2315f5d1ed7SLouis MayencourtERRATA_A75_764081 ?=0 2325f5d1ed7SLouis Mayencourt 23398551591SLouis Mayencourt# Flag to apply erratum 790748 workaround during reset. This erratum applies 23498551591SLouis Mayencourt# only to revision <= r0p0 of the Cortex A75 cpu. 23598551591SLouis MayencourtERRATA_A75_790748 ?=0 23698551591SLouis Mayencourt 2375c6aa01aSLouis Mayencourt# Flag to apply erratum 1073348 workaround during reset. This erratum applies 2385c6aa01aSLouis Mayencourt# only to revision <= r1p0 of the Cortex A76 cpu. 2395c6aa01aSLouis MayencourtERRATA_A76_1073348 ?=0 2405c6aa01aSLouis Mayencourt 241508d7110SLouis Mayencourt# Flag to apply erratum 1130799 workaround during reset. This erratum applies 242508d7110SLouis Mayencourt# only to revision <= r2p0 of the Cortex A76 cpu. 243508d7110SLouis MayencourtERRATA_A76_1130799 ?=0 244508d7110SLouis Mayencourt 2455cc8c7baSLouis Mayencourt# Flag to apply erratum 1220197 workaround during reset. This erratum applies 2465cc8c7baSLouis Mayencourt# only to revision <= r2p0 of the Cortex A76 cpu. 2475cc8c7baSLouis MayencourtERRATA_A76_1220197 ?=0 2485cc8c7baSLouis Mayencourt 249e6e1d0acSSoby Mathew# Flag to apply erratum 1257314 workaround during reset. This erratum applies 250e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu. 251e6e1d0acSSoby MathewERRATA_A76_1257314 ?=0 252e6e1d0acSSoby Mathew 253e6e1d0acSSoby Mathew# Flag to apply erratum 1262606 workaround during reset. This erratum applies 254e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu. 255e6e1d0acSSoby MathewERRATA_A76_1262606 ?=0 256e6e1d0acSSoby Mathew 257e6e1d0acSSoby Mathew# Flag to apply erratum 1262888 workaround during reset. This erratum applies 258e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu. 259e6e1d0acSSoby MathewERRATA_A76_1262888 ?=0 260e6e1d0acSSoby Mathew 261e6e1d0acSSoby Mathew# Flag to apply erratum 1275112 workaround during reset. This erratum applies 262e6e1d0acSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu. 263e6e1d0acSSoby MathewERRATA_A76_1275112 ?=0 264e6e1d0acSSoby Mathew 265f85edceaSSoby Mathew# Flag to apply erratum 1286807 workaround during reset. This erratum applies 266f85edceaSSoby Mathew# only to revision <= r3p0 of the Cortex A76 cpu. 267f85edceaSSoby MathewERRATA_A76_1286807 ?=0 268f85edceaSSoby Mathew 269d7b08e69Sjohpow01# Flag to apply erratum 1791580 workaround during reset. This erratum applies 270d7b08e69Sjohpow01# only to revision <= r4p0 of the Cortex A76 cpu. 271d7b08e69Sjohpow01ERRATA_A76_1791580 ?=0 272d7b08e69Sjohpow01 273dcbfbcb5Sjohpow01# Flag to apply erratum 1800710 workaround during reset. This erratum applies 274dcbfbcb5Sjohpow01# only to revision <= r4p0 of the Cortex A76 cpu. 275dcbfbcb5Sjohpow01ERRATA_A76_1800710 ?=0 276dcbfbcb5Sjohpow01 277*e1c49333SManish V Badarkhe# Flag to apply erratum 1165522 workaround during reset. This erratum applies 278*e1c49333SManish V Badarkhe# to all revisions of Cortex A76 cpu. 279*e1c49333SManish V BadarkheERRATA_A76_1165522 ?=0 280*e1c49333SManish V Badarkhe 28162bbfe82Sjohpow01# Flag to apply erratum 1800714 workaround during reset. This erratum applies 28262bbfe82Sjohpow01# only to revision <= r1p1 of the Cortex A77 cpu. 28362bbfe82Sjohpow01ERRATA_A77_1800714 ?=0 28462bbfe82Sjohpow01 28583e95524SMadhukar Pappireddy# Flag to apply erratum 1688305 workaround during reset. This erratum applies 2863f35709cSJimmy Brisson# to revisions r0p0 - r1p0 of the A78 cpu. 2873f35709cSJimmy BrissonERRATA_A78_1688305 ?=0 28883e95524SMadhukar Pappireddy 289040b546eSDimitris Papastamos# Flag to apply T32 CLREX workaround during reset. This erratum applies 290da6d75a0SJohn Tsichritzis# only to r0p0 and r1p0 of the Neoverse N1 cpu. 291dbafda7cSlaurenw-armERRATA_N1_1043202 ?=0 292040b546eSDimitris Papastamos 293a601afe1Slauwal01# Flag to apply erratum 1073348 workaround during reset. This erratum applies 294a601afe1Slauwal01# only to revision r0p0 and r1p0 of the Neoverse N1 cpu. 295a601afe1Slauwal01ERRATA_N1_1073348 ?=0 296a601afe1Slauwal01 297e34606f2Slauwal01# Flag to apply erratum 1130799 workaround during reset. This erratum applies 298e34606f2Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu. 299e34606f2Slauwal01ERRATA_N1_1130799 ?=0 300e34606f2Slauwal01 3012017ab24Slauwal01# Flag to apply erratum 1165347 workaround during reset. This erratum applies 3022017ab24Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu. 3032017ab24Slauwal01ERRATA_N1_1165347 ?=0 3042017ab24Slauwal01 305ef5fa7d4Slauwal01# Flag to apply erratum 1207823 workaround during reset. This erratum applies 306ef5fa7d4Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu. 307ef5fa7d4Slauwal01ERRATA_N1_1207823 ?=0 308ef5fa7d4Slauwal01 3099eceb020Slauwal01# Flag to apply erratum 1220197 workaround during reset. This erratum applies 3109eceb020Slauwal01# only to revision <= r2p0 of the Neoverse N1 cpu. 3119eceb020Slauwal01ERRATA_N1_1220197 ?=0 3129eceb020Slauwal01 313335b3c79Slauwal01# Flag to apply erratum 1257314 workaround during reset. This erratum applies 314335b3c79Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu. 315335b3c79Slauwal01ERRATA_N1_1257314 ?=0 316335b3c79Slauwal01 317411f4959Slauwal01# Flag to apply erratum 1262606 workaround during reset. This erratum applies 318411f4959Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu. 319411f4959Slauwal01ERRATA_N1_1262606 ?=0 320411f4959Slauwal01 32111c48370Slauwal01# Flag to apply erratum 1262888 workaround during reset. This erratum applies 32211c48370Slauwal01# only to revision <= r3p0 of the Neoverse N1 cpu. 32311c48370Slauwal01ERRATA_N1_1262888 ?=0 32411c48370Slauwal01 3254d8801feSlauwal01# Flag to apply erratum 1275112 workaround during reset. This erratum applies 3264d8801feSlauwal01# only to revision <= r3p0 of the Neoverse N1 cpu. 3274d8801feSlauwal01ERRATA_N1_1275112 ?=0 3284d8801feSlauwal01 3295f5d0763SAndre Przywara# Flag to apply erratum 1315703 workaround during reset. This erratum applies 3305f5d0763SAndre Przywara# to revisions before r3p1 of the Neoverse N1 cpu. 331dbafda7cSlaurenw-armERRATA_N1_1315703 ?=0 3325f5d0763SAndre Przywara 33380942622Slaurenw-arm# Flag to apply erratum 1542419 workaround during reset. This erratum applies 33480942622Slaurenw-arm# to revisions r3p0 - r4p0 of the Neoverse N1 cpu. 33580942622Slaurenw-armERRATA_N1_1542419 ?=0 33680942622Slaurenw-arm 3370e985d70SLouis Mayencourt# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0. 3380e985d70SLouis Mayencourt# Applying the workaround results in higher DSU power consumption on idle. 3390e985d70SLouis MayencourtERRATA_DSU_798953 ?=0 3400e985d70SLouis Mayencourt 3418a677180SJohn Tsichritzis# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing 3428a677180SJohn Tsichritzis# the ACP interface and revision < r2p0. Applying the workaround results in 3438a677180SJohn Tsichritzis# higher DSU power consumption on idle. 3448a677180SJohn TsichritzisERRATA_DSU_936184 ?=0 3458a677180SJohn Tsichritzis 346dd4cf2c7SJoel Hutton# Process ERRATA_A9_794073 flag 347dd4cf2c7SJoel Hutton$(eval $(call assert_boolean,ERRATA_A9_794073)) 348dd4cf2c7SJoel Hutton$(eval $(call add_define,ERRATA_A9_794073)) 349dd4cf2c7SJoel Hutton 35075a1ada9SAmbroise Vincent# Process ERRATA_A15_816470 flag 35175a1ada9SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A15_816470)) 35275a1ada9SAmbroise Vincent$(eval $(call add_define,ERRATA_A15_816470)) 35375a1ada9SAmbroise Vincent 3545f2c690dSAmbroise Vincent# Process ERRATA_A15_827671 flag 3555f2c690dSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A15_827671)) 3565f2c690dSAmbroise Vincent$(eval $(call add_define,ERRATA_A15_827671)) 3575f2c690dSAmbroise Vincent 3580b64c194SAmbroise Vincent# Process ERRATA_A17_852421 flag 3590b64c194SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A17_852421)) 3600b64c194SAmbroise Vincent$(eval $(call add_define,ERRATA_A17_852421)) 3610b64c194SAmbroise Vincent 362be10dcdeSAmbroise Vincent# Process ERRATA_A17_852423 flag 363be10dcdeSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A17_852423)) 364be10dcdeSAmbroise Vincent$(eval $(call add_define,ERRATA_A17_852423)) 365be10dcdeSAmbroise Vincent 366cba71b70SLouis Mayencourt# Process ERRATA_A35_855472 flag 367cba71b70SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A35_855472)) 368cba71b70SLouis Mayencourt$(eval $(call add_define,ERRATA_A35_855472)) 369cba71b70SLouis Mayencourt 370bd393704SAmbroise Vincent# Process ERRATA_A53_819472 flag 371bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_819472)) 372bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_819472)) 373bd393704SAmbroise Vincent 374bd393704SAmbroise Vincent# Process ERRATA_A53_824069 flag 375bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_824069)) 376bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_824069)) 377bd393704SAmbroise Vincent 3786b0d97b2SJimmy Huang# Process ERRATA_A53_826319 flag 3796b0d97b2SJimmy Huang$(eval $(call assert_boolean,ERRATA_A53_826319)) 3806b0d97b2SJimmy Huang$(eval $(call add_define,ERRATA_A53_826319)) 3816b0d97b2SJimmy Huang 382bd393704SAmbroise Vincent# Process ERRATA_A53_827319 flag 383bd393704SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A53_827319)) 384bd393704SAmbroise Vincent$(eval $(call add_define,ERRATA_A53_827319)) 385bd393704SAmbroise Vincent 386a94cc374SDouglas Raillard# Process ERRATA_A53_835769 flag 387a94cc374SDouglas Raillard$(eval $(call assert_boolean,ERRATA_A53_835769)) 388a94cc374SDouglas Raillard$(eval $(call add_define,ERRATA_A53_835769)) 389a94cc374SDouglas Raillard 3906b0d97b2SJimmy Huang# Process ERRATA_A53_836870 flag 3916b0d97b2SJimmy Huang$(eval $(call assert_boolean,ERRATA_A53_836870)) 3926b0d97b2SJimmy Huang$(eval $(call add_define,ERRATA_A53_836870)) 3936b0d97b2SJimmy Huang 394a94cc374SDouglas Raillard# Process ERRATA_A53_843419 flag 395a94cc374SDouglas Raillard$(eval $(call assert_boolean,ERRATA_A53_843419)) 396a94cc374SDouglas Raillard$(eval $(call add_define,ERRATA_A53_843419)) 397a94cc374SDouglas Raillard 398b75dc0e4SAndre Przywara# Process ERRATA_A53_855873 flag 399b75dc0e4SAndre Przywara$(eval $(call assert_boolean,ERRATA_A53_855873)) 400b75dc0e4SAndre Przywara$(eval $(call add_define,ERRATA_A53_855873)) 401b75dc0e4SAndre Przywara 402*e1c49333SManish V Badarkhe# Process ERRATA_A53_1530924 flag 403*e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A53_1530924)) 404*e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A53_1530924)) 405*e1c49333SManish V Badarkhe 4061afeee92SAmbroise Vincent# Process ERRATA_A55_768277 flag 4071afeee92SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_768277)) 4081afeee92SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_768277)) 4091afeee92SAmbroise Vincent 410a6cc6610SAmbroise Vincent# Process ERRATA_A55_778703 flag 411a6cc6610SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_778703)) 412a6cc6610SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_778703)) 413a6cc6610SAmbroise Vincent 4146ab87d29SAmbroise Vincent# Process ERRATA_A55_798797 flag 4156ab87d29SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_798797)) 4166ab87d29SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_798797)) 4176ab87d29SAmbroise Vincent 4186e78973eSAmbroise Vincent# Process ERRATA_A55_846532 flag 4196e78973eSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_846532)) 4206e78973eSAmbroise Vincent$(eval $(call add_define,ERRATA_A55_846532)) 4216e78973eSAmbroise Vincent 42247949f3fSAmbroise Vincent# Process ERRATA_A55_903758 flag 42347949f3fSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_903758)) 42447949f3fSAmbroise Vincent$(eval $(call add_define,ERRATA_A55_903758)) 42547949f3fSAmbroise Vincent 4269af07df0SAmbroise Vincent# Process ERRATA_A55_1221012 flag 4279af07df0SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A55_1221012)) 4289af07df0SAmbroise Vincent$(eval $(call add_define,ERRATA_A55_1221012)) 4299af07df0SAmbroise Vincent 430*e1c49333SManish V Badarkhe# Process ERRATA_A55_1530923 flag 431*e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A55_1530923)) 432*e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A55_1530923)) 433*e1c49333SManish V Badarkhe 4345541bb3fSSoby Mathew# Process ERRATA_A57_806969 flag 4355541bb3fSSoby Mathew$(eval $(call assert_boolean,ERRATA_A57_806969)) 4365541bb3fSSoby Mathew$(eval $(call add_define,ERRATA_A57_806969)) 4375541bb3fSSoby Mathew 438ccbec91cSAntonio Nino Diaz# Process ERRATA_A57_813419 flag 439ccbec91cSAntonio Nino Diaz$(eval $(call assert_boolean,ERRATA_A57_813419)) 440ccbec91cSAntonio Nino Diaz$(eval $(call add_define,ERRATA_A57_813419)) 441ccbec91cSAntonio Nino Diaz 4425541bb3fSSoby Mathew# Process ERRATA_A57_813420 flag 4435541bb3fSSoby Mathew$(eval $(call assert_boolean,ERRATA_A57_813420)) 4445541bb3fSSoby Mathew$(eval $(call add_define,ERRATA_A57_813420)) 445df22d602SSandrine Bailleux 4460f6fbbd2SAmbroise Vincent# Process ERRATA_A57_814670 flag 4470f6fbbd2SAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A57_814670)) 4480f6fbbd2SAmbroise Vincent$(eval $(call add_define,ERRATA_A57_814670)) 4490f6fbbd2SAmbroise Vincent 4505bd2c24fSAmbroise Vincent# Process ERRATA_A57_817169 flag 4515bd2c24fSAmbroise Vincent$(eval $(call assert_boolean,ERRATA_A57_817169)) 4525bd2c24fSAmbroise Vincent$(eval $(call add_define,ERRATA_A57_817169)) 4535bd2c24fSAmbroise Vincent 454df22d602SSandrine Bailleux# Process ERRATA_A57_826974 flag 455df22d602SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_826974)) 456df22d602SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_826974)) 457a8b1c769SSandrine Bailleux 45807288865SSandrine Bailleux# Process ERRATA_A57_826977 flag 45907288865SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_826977)) 46007288865SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_826977)) 46107288865SSandrine Bailleux 462a8b1c769SSandrine Bailleux# Process ERRATA_A57_828024 flag 463a8b1c769SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_828024)) 464a8b1c769SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_828024)) 4650b77197bSSandrine Bailleux 4660b77197bSSandrine Bailleux# Process ERRATA_A57_829520 flag 4670b77197bSSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_829520)) 4680b77197bSSandrine Bailleux$(eval $(call add_define,ERRATA_A57_829520)) 469adeecf92SSandrine Bailleux 470adeecf92SSandrine Bailleux# Process ERRATA_A57_833471 flag 471adeecf92SSandrine Bailleux$(eval $(call assert_boolean,ERRATA_A57_833471)) 472adeecf92SSandrine Bailleux$(eval $(call add_define,ERRATA_A57_833471)) 473a94cc374SDouglas Raillard 47445b52c20SEleanor Bonnici# Process ERRATA_A57_859972 flag 47545b52c20SEleanor Bonnici$(eval $(call assert_boolean,ERRATA_A57_859972)) 47645b52c20SEleanor Bonnici$(eval $(call add_define,ERRATA_A57_859972)) 47745b52c20SEleanor Bonnici 478*e1c49333SManish V Badarkhe# Process ERRATA_A57_1319537 flag 479*e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A57_1319537)) 480*e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A57_1319537)) 481*e1c49333SManish V Badarkhe 4826de9b336SEleanor Bonnici# Process ERRATA_A72_859971 flag 4836de9b336SEleanor Bonnici$(eval $(call assert_boolean,ERRATA_A72_859971)) 4846de9b336SEleanor Bonnici$(eval $(call add_define,ERRATA_A72_859971)) 4856de9b336SEleanor Bonnici 486*e1c49333SManish V Badarkhe# Process ERRATA_A72_1319367 flag 487*e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A72_1319367)) 488*e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A72_1319367)) 489*e1c49333SManish V Badarkhe 49025278eabSLouis Mayencourt# Process ERRATA_A73_852427 flag 49125278eabSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A73_852427)) 49225278eabSLouis Mayencourt$(eval $(call add_define,ERRATA_A73_852427)) 49325278eabSLouis Mayencourt 494e6cab15dSLouis Mayencourt# Process ERRATA_A73_855423 flag 495e6cab15dSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A73_855423)) 496e6cab15dSLouis Mayencourt$(eval $(call add_define,ERRATA_A73_855423)) 497e6cab15dSLouis Mayencourt 4985f5d1ed7SLouis Mayencourt# Process ERRATA_A75_764081 flag 4995f5d1ed7SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A75_764081)) 5005f5d1ed7SLouis Mayencourt$(eval $(call add_define,ERRATA_A75_764081)) 5015f5d1ed7SLouis Mayencourt 50298551591SLouis Mayencourt# Process ERRATA_A75_790748 flag 50398551591SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A75_790748)) 50498551591SLouis Mayencourt$(eval $(call add_define,ERRATA_A75_790748)) 50598551591SLouis Mayencourt 5065c6aa01aSLouis Mayencourt# Process ERRATA_A76_1073348 flag 5075c6aa01aSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1073348)) 5085c6aa01aSLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1073348)) 5095c6aa01aSLouis Mayencourt 510508d7110SLouis Mayencourt# Process ERRATA_A76_1130799 flag 511508d7110SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1130799)) 512508d7110SLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1130799)) 513508d7110SLouis Mayencourt 5145cc8c7baSLouis Mayencourt# Process ERRATA_A76_1220197 flag 5155cc8c7baSLouis Mayencourt$(eval $(call assert_boolean,ERRATA_A76_1220197)) 5165cc8c7baSLouis Mayencourt$(eval $(call add_define,ERRATA_A76_1220197)) 5175cc8c7baSLouis Mayencourt 518e6e1d0acSSoby Mathew# Process ERRATA_A76_1257314 flag 519e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1257314)) 520e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1257314)) 521e6e1d0acSSoby Mathew 522e6e1d0acSSoby Mathew# Process ERRATA_A76_1262606 flag 523e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1262606)) 524e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1262606)) 525e6e1d0acSSoby Mathew 526e6e1d0acSSoby Mathew# Process ERRATA_A76_1262888 flag 527e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1262888)) 528e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1262888)) 529e6e1d0acSSoby Mathew 530e6e1d0acSSoby Mathew# Process ERRATA_A76_1275112 flag 531e6e1d0acSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1275112)) 532e6e1d0acSSoby Mathew$(eval $(call add_define,ERRATA_A76_1275112)) 533e6e1d0acSSoby Mathew 534f85edceaSSoby Mathew# Process ERRATA_A76_1286807 flag 535f85edceaSSoby Mathew$(eval $(call assert_boolean,ERRATA_A76_1286807)) 536f85edceaSSoby Mathew$(eval $(call add_define,ERRATA_A76_1286807)) 537f85edceaSSoby Mathew 538d7b08e69Sjohpow01# Process ERRATA_A76_1791580 flag 539d7b08e69Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1791580)) 540d7b08e69Sjohpow01$(eval $(call add_define,ERRATA_A76_1791580)) 541d7b08e69Sjohpow01 542dcbfbcb5Sjohpow01# Process ERRATA_A76_1800710 flag 543dcbfbcb5Sjohpow01$(eval $(call assert_boolean,ERRATA_A76_1800710)) 544dcbfbcb5Sjohpow01$(eval $(call add_define,ERRATA_A76_1800710)) 545dcbfbcb5Sjohpow01 546*e1c49333SManish V Badarkhe# Process ERRATA_A76_1165522 flag 547*e1c49333SManish V Badarkhe$(eval $(call assert_boolean,ERRATA_A76_1165522)) 548*e1c49333SManish V Badarkhe$(eval $(call add_define,ERRATA_A76_1165522)) 549*e1c49333SManish V Badarkhe 55062bbfe82Sjohpow01# Process ERRATA_A77_1800714 flag 55162bbfe82Sjohpow01$(eval $(call assert_boolean,ERRATA_A77_1800714)) 55262bbfe82Sjohpow01$(eval $(call add_define,ERRATA_A77_1800714)) 55362bbfe82Sjohpow01 5543f35709cSJimmy Brisson# Process ERRATA_A78_1688305 flag 5553f35709cSJimmy Brisson$(eval $(call assert_boolean,ERRATA_A78_1688305)) 5563f35709cSJimmy Brisson$(eval $(call add_define,ERRATA_A78_1688305)) 55783e95524SMadhukar Pappireddy 558da6d75a0SJohn Tsichritzis# Process ERRATA_N1_1043202 flag 559da6d75a0SJohn Tsichritzis$(eval $(call assert_boolean,ERRATA_N1_1043202)) 560da6d75a0SJohn Tsichritzis$(eval $(call add_define,ERRATA_N1_1043202)) 561040b546eSDimitris Papastamos 562a601afe1Slauwal01# Process ERRATA_N1_1073348 flag 563a601afe1Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1073348)) 564a601afe1Slauwal01$(eval $(call add_define,ERRATA_N1_1073348)) 565a601afe1Slauwal01 566e34606f2Slauwal01# Process ERRATA_N1_1130799 flag 567e34606f2Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1130799)) 568e34606f2Slauwal01$(eval $(call add_define,ERRATA_N1_1130799)) 569e34606f2Slauwal01 5702017ab24Slauwal01# Process ERRATA_N1_1165347 flag 5712017ab24Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1165347)) 5722017ab24Slauwal01$(eval $(call add_define,ERRATA_N1_1165347)) 5732017ab24Slauwal01 574ef5fa7d4Slauwal01# Process ERRATA_N1_1207823 flag 575ef5fa7d4Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1207823)) 576ef5fa7d4Slauwal01$(eval $(call add_define,ERRATA_N1_1207823)) 577ef5fa7d4Slauwal01 5789eceb020Slauwal01# Process ERRATA_N1_1220197 flag 5799eceb020Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1220197)) 5809eceb020Slauwal01$(eval $(call add_define,ERRATA_N1_1220197)) 5819eceb020Slauwal01 582335b3c79Slauwal01# Process ERRATA_N1_1257314 flag 583335b3c79Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1257314)) 584335b3c79Slauwal01$(eval $(call add_define,ERRATA_N1_1257314)) 585335b3c79Slauwal01 586411f4959Slauwal01# Process ERRATA_N1_1262606 flag 587411f4959Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1262606)) 588411f4959Slauwal01$(eval $(call add_define,ERRATA_N1_1262606)) 589411f4959Slauwal01 59011c48370Slauwal01# Process ERRATA_N1_1262888 flag 59111c48370Slauwal01$(eval $(call assert_boolean,ERRATA_N1_1262888)) 59211c48370Slauwal01$(eval $(call add_define,ERRATA_N1_1262888)) 59311c48370Slauwal01 5944d8801feSlauwal01# Process ERRATA_N1_1275112 flag 5954d8801feSlauwal01$(eval $(call assert_boolean,ERRATA_N1_1275112)) 5964d8801feSlauwal01$(eval $(call add_define,ERRATA_N1_1275112)) 5974d8801feSlauwal01 5985f5d0763SAndre Przywara# Process ERRATA_N1_1315703 flag 5995f5d0763SAndre Przywara$(eval $(call assert_boolean,ERRATA_N1_1315703)) 6005f5d0763SAndre Przywara$(eval $(call add_define,ERRATA_N1_1315703)) 6015f5d0763SAndre Przywara 60280942622Slaurenw-arm# Process ERRATA_N1_1542419 flag 60380942622Slaurenw-arm$(eval $(call assert_boolean,ERRATA_N1_1542419)) 60480942622Slaurenw-arm$(eval $(call add_define,ERRATA_N1_1542419)) 60580942622Slaurenw-arm 6060e985d70SLouis Mayencourt# Process ERRATA_DSU_798953 flag 6070e985d70SLouis Mayencourt$(eval $(call assert_boolean,ERRATA_DSU_798953)) 6080e985d70SLouis Mayencourt$(eval $(call add_define,ERRATA_DSU_798953)) 6090e985d70SLouis Mayencourt 6108a677180SJohn Tsichritzis# Process ERRATA_DSU_936184 flag 6118a677180SJohn Tsichritzis$(eval $(call assert_boolean,ERRATA_DSU_936184)) 6128a677180SJohn Tsichritzis$(eval $(call add_define,ERRATA_DSU_936184)) 6138a677180SJohn Tsichritzis 614a94cc374SDouglas Raillard# Errata build flags 615a94cc374SDouglas Raillardifneq (${ERRATA_A53_843419},0) 616c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64 += --fix-cortex-a53-843419 617a94cc374SDouglas Raillardendif 618a94cc374SDouglas Raillard 619a94cc374SDouglas Raillardifneq (${ERRATA_A53_835769},0) 620a94cc374SDouglas RaillardTF_CFLAGS_aarch64 += -mfix-cortex-a53-835769 621c2b8806fSDouglas RaillardTF_LDFLAGS_aarch64 += --fix-cortex-a53-835769 622a94cc374SDouglas Raillardendif 623*e1c49333SManish V Badarkhe 624*e1c49333SManish V Badarkheifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \ 625*e1c49333SManish V Badarkhe ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),) 626*e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT := 1 627*e1c49333SManish V Badarkheelse 628*e1c49333SManish V BadarkheERRATA_SPECULATIVE_AT := 0 629*e1c49333SManish V Badarkheendif 630