1# 2# Copyright (c) 2014-2022, ARM Limited and Contributors. All rights reserved. 3# Copyright (c) 2020-2021, NVIDIA Corporation. All rights reserved. 4# 5# SPDX-License-Identifier: BSD-3-Clause 6# 7 8# Cortex A57 specific optimisation to skip L1 cache flush when 9# cluster is powered down. 10SKIP_A57_L1_FLUSH_PWR_DWN ?=0 11 12# Flag to disable the cache non-temporal hint. 13# It is enabled by default. 14A53_DISABLE_NON_TEMPORAL_HINT ?=1 15 16# Flag to disable the cache non-temporal hint. 17# It is enabled by default. 18A57_DISABLE_NON_TEMPORAL_HINT ?=1 19 20# Flag to enable higher performance non-cacheable load forwarding. 21# It is disabled by default. 22A57_ENABLE_NONCACHEABLE_LOAD_FWD ?= 0 23 24WORKAROUND_CVE_2017_5715 ?=1 25WORKAROUND_CVE_2018_3639 ?=1 26DYNAMIC_WORKAROUND_CVE_2018_3639 ?=0 27WORKAROUND_CVE_2022_23960 ?=1 28 29# Flags to indicate internal or external Last level cache 30# By default internal 31NEOVERSE_Nx_EXTERNAL_LLC ?=0 32 33# Process A57_ENABLE_NONCACHEABLE_LOAD_FWD flag 34$(eval $(call assert_boolean,A57_ENABLE_NONCACHEABLE_LOAD_FWD)) 35$(eval $(call add_define,A57_ENABLE_NONCACHEABLE_LOAD_FWD)) 36 37# Process SKIP_A57_L1_FLUSH_PWR_DWN flag 38$(eval $(call assert_boolean,SKIP_A57_L1_FLUSH_PWR_DWN)) 39$(eval $(call add_define,SKIP_A57_L1_FLUSH_PWR_DWN)) 40 41# Process A53_DISABLE_NON_TEMPORAL_HINT flag 42$(eval $(call assert_boolean,A53_DISABLE_NON_TEMPORAL_HINT)) 43$(eval $(call add_define,A53_DISABLE_NON_TEMPORAL_HINT)) 44 45# Process A57_DISABLE_NON_TEMPORAL_HINT flag 46$(eval $(call assert_boolean,A57_DISABLE_NON_TEMPORAL_HINT)) 47$(eval $(call add_define,A57_DISABLE_NON_TEMPORAL_HINT)) 48 49# Process WORKAROUND_CVE_2017_5715 flag 50$(eval $(call assert_boolean,WORKAROUND_CVE_2017_5715)) 51$(eval $(call add_define,WORKAROUND_CVE_2017_5715)) 52 53# Process WORKAROUND_CVE_2018_3639 flag 54$(eval $(call assert_boolean,WORKAROUND_CVE_2018_3639)) 55$(eval $(call add_define,WORKAROUND_CVE_2018_3639)) 56 57$(eval $(call assert_boolean,DYNAMIC_WORKAROUND_CVE_2018_3639)) 58$(eval $(call add_define,DYNAMIC_WORKAROUND_CVE_2018_3639)) 59 60# Process WORKAROUND_CVE_2022_23960 flag 61$(eval $(call assert_boolean,WORKAROUND_CVE_2022_23960)) 62$(eval $(call add_define,WORKAROUND_CVE_2022_23960)) 63 64$(eval $(call assert_boolean,NEOVERSE_Nx_EXTERNAL_LLC)) 65$(eval $(call add_define,NEOVERSE_Nx_EXTERNAL_LLC)) 66 67ifneq (${DYNAMIC_WORKAROUND_CVE_2018_3639},0) 68 ifeq (${WORKAROUND_CVE_2018_3639},0) 69 $(error "Error: WORKAROUND_CVE_2018_3639 must be 1 if DYNAMIC_WORKAROUND_CVE_2018_3639 is 1") 70 endif 71endif 72 73# CPU Errata Build flags. 74# These should be enabled by the platform if the erratum workaround needs to be 75# applied. 76 77# Flag to apply erratum 794073 workaround when disabling mmu. 78ERRATA_A9_794073 ?=0 79 80# Flag to apply erratum 816470 workaround during power down. This erratum 81# applies only to revision >= r3p0 of the Cortex A15 cpu. 82ERRATA_A15_816470 ?=0 83 84# Flag to apply erratum 827671 workaround during reset. This erratum applies 85# only to revision >= r3p0 of the Cortex A15 cpu. 86ERRATA_A15_827671 ?=0 87 88# Flag to apply erratum 852421 workaround during reset. This erratum applies 89# only to revision <= r1p2 of the Cortex A17 cpu. 90ERRATA_A17_852421 ?=0 91 92# Flag to apply erratum 852423 workaround during reset. This erratum applies 93# only to revision <= r1p2 of the Cortex A17 cpu. 94ERRATA_A17_852423 ?=0 95 96# Flag to apply erratum 855472 workaround during reset. This erratum applies 97# only to revision r0p0 of the Cortex A35 cpu. 98ERRATA_A35_855472 ?=0 99 100# Flag to apply erratum 819472 workaround during reset. This erratum applies 101# only to revision <= r0p1 of the Cortex A53 cpu. 102ERRATA_A53_819472 ?=0 103 104# Flag to apply erratum 824069 workaround during reset. This erratum applies 105# only to revision <= r0p2 of the Cortex A53 cpu. 106ERRATA_A53_824069 ?=0 107 108# Flag to apply erratum 826319 workaround during reset. This erratum applies 109# only to revision <= r0p2 of the Cortex A53 cpu. 110ERRATA_A53_826319 ?=0 111 112# Flag to apply erratum 827319 workaround during reset. This erratum applies 113# only to revision <= r0p2 of the Cortex A53 cpu. 114ERRATA_A53_827319 ?=0 115 116# Flag to apply erratum 835769 workaround at compile and link time. This 117# erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this 118# workaround can lead the linker to create "*.stub" sections. 119ERRATA_A53_835769 ?=0 120 121# Flag to apply erratum 836870 workaround during reset. This erratum applies 122# only to revision <= r0p3 of the Cortex A53 cpu. From r0p4 and onwards, this 123# erratum workaround is enabled by default in hardware. 124ERRATA_A53_836870 ?=0 125 126# Flag to apply erratum 843419 workaround at link time. 127# This erratum applies to revision <= r0p4 of the Cortex A53 cpu. Enabling this 128# workaround could lead the linker to emit "*.stub" sections which are 4kB 129# aligned. 130ERRATA_A53_843419 ?=0 131 132# Flag to apply errata 855873 during reset. This errata applies to all 133# revisions of the Cortex A53 CPU, but this firmware workaround only works 134# for revisions r0p3 and higher. Earlier revisions are taken care 135# of by the rich OS. 136ERRATA_A53_855873 ?=0 137 138# Flag to apply erratum 1530924 workaround during reset. This erratum applies 139# to all revisions of Cortex A53 cpu. 140ERRATA_A53_1530924 ?=0 141 142# Flag to apply erratum 768277 workaround during reset. This erratum applies 143# only to revision r0p0 of the Cortex A55 cpu. 144ERRATA_A55_768277 ?=0 145 146# Flag to apply erratum 778703 workaround during reset. This erratum applies 147# only to revision r0p0 of the Cortex A55 cpu. 148ERRATA_A55_778703 ?=0 149 150# Flag to apply erratum 798797 workaround during reset. This erratum applies 151# only to revision r0p0 of the Cortex A55 cpu. 152ERRATA_A55_798797 ?=0 153 154# Flag to apply erratum 846532 workaround during reset. This erratum applies 155# only to revision <= r0p1 of the Cortex A55 cpu. 156ERRATA_A55_846532 ?=0 157 158# Flag to apply erratum 903758 workaround during reset. This erratum applies 159# only to revision <= r0p1 of the Cortex A55 cpu. 160ERRATA_A55_903758 ?=0 161 162# Flag to apply erratum 1221012 workaround during reset. This erratum applies 163# only to revision <= r1p0 of the Cortex A55 cpu. 164ERRATA_A55_1221012 ?=0 165 166# Flag to apply erratum 1530923 workaround during reset. This erratum applies 167# to all revisions of Cortex A55 cpu. 168ERRATA_A55_1530923 ?=0 169 170# Flag to apply erratum 806969 workaround during reset. This erratum applies 171# only to revision r0p0 of the Cortex A57 cpu. 172ERRATA_A57_806969 ?=0 173 174# Flag to apply erratum 813419 workaround during reset. This erratum applies 175# only to revision r0p0 of the Cortex A57 cpu. 176ERRATA_A57_813419 ?=0 177 178# Flag to apply erratum 813420 workaround during reset. This erratum applies 179# only to revision r0p0 of the Cortex A57 cpu. 180ERRATA_A57_813420 ?=0 181 182# Flag to apply erratum 814670 workaround during reset. This erratum applies 183# only to revision r0p0 of the Cortex A57 cpu. 184ERRATA_A57_814670 ?=0 185 186# Flag to apply erratum 817169 workaround during power down. This erratum 187# applies only to revision <= r0p1 of the Cortex A57 cpu. 188ERRATA_A57_817169 ?=0 189 190# Flag to apply erratum 826974 workaround during reset. This erratum applies 191# only to revision <= r1p1 of the Cortex A57 cpu. 192ERRATA_A57_826974 ?=0 193 194# Flag to apply erratum 826977 workaround during reset. This erratum applies 195# only to revision <= r1p1 of the Cortex A57 cpu. 196ERRATA_A57_826977 ?=0 197 198# Flag to apply erratum 828024 workaround during reset. This erratum applies 199# only to revision <= r1p1 of the Cortex A57 cpu. 200ERRATA_A57_828024 ?=0 201 202# Flag to apply erratum 829520 workaround during reset. This erratum applies 203# only to revision <= r1p2 of the Cortex A57 cpu. 204ERRATA_A57_829520 ?=0 205 206# Flag to apply erratum 833471 workaround during reset. This erratum applies 207# only to revision <= r1p2 of the Cortex A57 cpu. 208ERRATA_A57_833471 ?=0 209 210# Flag to apply erratum 855972 workaround during reset. This erratum applies 211# only to revision <= r1p3 of the Cortex A57 cpu. 212ERRATA_A57_859972 ?=0 213 214# Flag to apply erratum 1319537 workaround during reset. This erratum applies 215# to all revisions of Cortex A57 cpu. 216ERRATA_A57_1319537 ?=0 217 218# Flag to apply erratum 855971 workaround during reset. This erratum applies 219# only to revision <= r0p3 of the Cortex A72 cpu. 220ERRATA_A72_859971 ?=0 221 222# Flag to apply erratum 1319367 workaround during reset. This erratum applies 223# to all revisions of Cortex A72 cpu. 224ERRATA_A72_1319367 ?=0 225 226# Flag to apply erratum 852427 workaround during reset. This erratum applies 227# only to revision r0p0 of the Cortex A73 cpu. 228ERRATA_A73_852427 ?=0 229 230# Flag to apply erratum 855423 workaround during reset. This erratum applies 231# only to revision <= r0p1 of the Cortex A73 cpu. 232ERRATA_A73_855423 ?=0 233 234# Flag to apply erratum 764081 workaround during reset. This erratum applies 235# only to revision <= r0p0 of the Cortex A75 cpu. 236ERRATA_A75_764081 ?=0 237 238# Flag to apply erratum 790748 workaround during reset. This erratum applies 239# only to revision <= r0p0 of the Cortex A75 cpu. 240ERRATA_A75_790748 ?=0 241 242# Flag to apply erratum 1073348 workaround during reset. This erratum applies 243# only to revision <= r1p0 of the Cortex A76 cpu. 244ERRATA_A76_1073348 ?=0 245 246# Flag to apply erratum 1130799 workaround during reset. This erratum applies 247# only to revision <= r2p0 of the Cortex A76 cpu. 248ERRATA_A76_1130799 ?=0 249 250# Flag to apply erratum 1220197 workaround during reset. This erratum applies 251# only to revision <= r2p0 of the Cortex A76 cpu. 252ERRATA_A76_1220197 ?=0 253 254# Flag to apply erratum 1257314 workaround during reset. This erratum applies 255# only to revision <= r3p0 of the Cortex A76 cpu. 256ERRATA_A76_1257314 ?=0 257 258# Flag to apply erratum 1262606 workaround during reset. This erratum applies 259# only to revision <= r3p0 of the Cortex A76 cpu. 260ERRATA_A76_1262606 ?=0 261 262# Flag to apply erratum 1262888 workaround during reset. This erratum applies 263# only to revision <= r3p0 of the Cortex A76 cpu. 264ERRATA_A76_1262888 ?=0 265 266# Flag to apply erratum 1275112 workaround during reset. This erratum applies 267# only to revision <= r3p0 of the Cortex A76 cpu. 268ERRATA_A76_1275112 ?=0 269 270# Flag to apply erratum 1286807 workaround during reset. This erratum applies 271# only to revision <= r3p0 of the Cortex A76 cpu. 272ERRATA_A76_1286807 ?=0 273 274# Flag to apply erratum 1791580 workaround during reset. This erratum applies 275# only to revision <= r4p0 of the Cortex A76 cpu. 276ERRATA_A76_1791580 ?=0 277 278# Flag to apply erratum 1165522 workaround during reset. This erratum applies 279# to all revisions of Cortex A76 cpu. 280ERRATA_A76_1165522 ?=0 281 282# Flag to apply erratum 1868343 workaround during reset. This erratum applies 283# only to revision <= r4p0 of the Cortex A76 cpu. 284ERRATA_A76_1868343 ?=0 285 286# Flag to apply erratum 1946160 workaround during reset. This erratum applies 287# only to revisions r3p0 - r4p1 of the Cortex A76 cpu. 288ERRATA_A76_1946160 ?=0 289 290# Flag to apply erratum 1508412 workaround during reset. This erratum applies 291# only to revision <= r1p0 of the Cortex A77 cpu. 292ERRATA_A77_1508412 ?=0 293 294# Flag to apply erratum 1925769 workaround during reset. This erratum applies 295# only to revision <= r1p1 of the Cortex A77 cpu. 296ERRATA_A77_1925769 ?=0 297 298# Flag to apply erratum 1946167 workaround during reset. This erratum applies 299# only to revision <= r1p1 of the Cortex A77 cpu. 300ERRATA_A77_1946167 ?=0 301 302# Flag to apply erratum 1791578 workaround during reset. This erratum applies 303# to revisions r0p0, r1p0, and r1p1, it is still open. 304ERRATA_A77_1791578 ?=0 305 306# Flag to apply erratum 1688305 workaround during reset. This erratum applies 307# to revisions r0p0 - r1p0 of the A78 cpu. 308ERRATA_A78_1688305 ?=0 309 310# Flag to apply erratum 1941498 workaround during reset. This erratum applies 311# to revisions r0p0, r1p0, and r1p1 of the A78 cpu. 312ERRATA_A78_1941498 ?=0 313 314# Flag to apply erratum 1951500 workaround during reset. This erratum applies 315# to revisions r1p0 and r1p1 of the A78 cpu. The issue is present in r0p0 as 316# well but there is no workaround for that revision. 317ERRATA_A78_1951500 ?=0 318 319# Flag to apply erratum 1821534 workaround during reset. This erratum applies 320# to revisions r0p0 and r1p0 of the A78 cpu. 321ERRATA_A78_1821534 ?=0 322 323# Flag to apply erratum 1952683 workaround during reset. This erratum applies 324# to revision r0p0 of the A78 cpu and was fixed in the revision r1p0. 325ERRATA_A78_1952683 ?=0 326 327# Flag to apply erratum 2132060 workaround during reset. This erratum applies 328# to revisions r0p0, r1p0, r1p1, and r1p2 of the A78 cpu. It is still open. 329ERRATA_A78_2132060 ?=0 330 331# Flag to apply erratum 2242635 workaround during reset. This erratum applies 332# to revisions r1p0, r1p1, and r1p2 of the A78 cpu and is open. The issue is 333# present in r0p0 as well but there is no workaround for that revision. 334ERRATA_A78_2242635 ?=0 335 336# Flag to apply erratum 1941500 workaround during reset. This erratum applies 337# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open. 338ERRATA_A78_AE_1941500 ?=0 339 340# Flag to apply erratum 1951502 workaround during reset. This erratum applies 341# to revisions r0p0 and r0p1 of the A78 AE cpu. It is still open. 342ERRATA_A78_AE_1951502 ?=0 343 344# Flag to apply T32 CLREX workaround during reset. This erratum applies 345# only to r0p0 and r1p0 of the Neoverse N1 cpu. 346ERRATA_N1_1043202 ?=0 347 348# Flag to apply erratum 1073348 workaround during reset. This erratum applies 349# only to revision r0p0 and r1p0 of the Neoverse N1 cpu. 350ERRATA_N1_1073348 ?=0 351 352# Flag to apply erratum 1130799 workaround during reset. This erratum applies 353# only to revision <= r2p0 of the Neoverse N1 cpu. 354ERRATA_N1_1130799 ?=0 355 356# Flag to apply erratum 1165347 workaround during reset. This erratum applies 357# only to revision <= r2p0 of the Neoverse N1 cpu. 358ERRATA_N1_1165347 ?=0 359 360# Flag to apply erratum 1207823 workaround during reset. This erratum applies 361# only to revision <= r2p0 of the Neoverse N1 cpu. 362ERRATA_N1_1207823 ?=0 363 364# Flag to apply erratum 1220197 workaround during reset. This erratum applies 365# only to revision <= r2p0 of the Neoverse N1 cpu. 366ERRATA_N1_1220197 ?=0 367 368# Flag to apply erratum 1257314 workaround during reset. This erratum applies 369# only to revision <= r3p0 of the Neoverse N1 cpu. 370ERRATA_N1_1257314 ?=0 371 372# Flag to apply erratum 1262606 workaround during reset. This erratum applies 373# only to revision <= r3p0 of the Neoverse N1 cpu. 374ERRATA_N1_1262606 ?=0 375 376# Flag to apply erratum 1262888 workaround during reset. This erratum applies 377# only to revision <= r3p0 of the Neoverse N1 cpu. 378ERRATA_N1_1262888 ?=0 379 380# Flag to apply erratum 1275112 workaround during reset. This erratum applies 381# only to revision <= r3p0 of the Neoverse N1 cpu. 382ERRATA_N1_1275112 ?=0 383 384# Flag to apply erratum 1315703 workaround during reset. This erratum applies 385# to revisions before r3p1 of the Neoverse N1 cpu. 386ERRATA_N1_1315703 ?=0 387 388# Flag to apply erratum 1542419 workaround during reset. This erratum applies 389# to revisions r3p0 - r4p0 of the Neoverse N1 cpu. 390ERRATA_N1_1542419 ?=0 391 392# Flag to apply erratum 1868343 workaround during reset. This erratum applies 393# to revision <= r4p0 of the Neoverse N1 cpu. 394ERRATA_N1_1868343 ?=0 395 396# Flag to apply erratum 1946160 workaround during reset. This erratum applies 397# to revisions r3p0, r3p1, r4p0, and r4p1 of the Neoverse N1 cpu. The issue 398# exists in revisions r0p0, r1p0, and r2p0 as well but there is no workaround. 399ERRATA_N1_1946160 ?=0 400 401# Flag to apply erratum 2002655 workaround during reset. This erratum applies 402# to revisions r0p0 of the Neoverse-N2 cpu, it is still open. 403ERRATA_N2_2002655 ?=0 404 405# Flag to apply erratum 1774420 workaround during reset. This erratum applies 406# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1. 407ERRATA_V1_1774420 ?=0 408 409# Flag to apply erratum 1791573 workaround during reset. This erratum applies 410# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1. 411ERRATA_V1_1791573 ?=0 412 413# Flag to apply erratum 1852267 workaround during reset. This erratum applies 414# to revisions r0p0 and r1p0 of the Neoverse V1 core, and was fixed in r1p1. 415ERRATA_V1_1852267 ?=0 416 417# Flag to apply erratum 1925756 workaround during reset. This needs to be 418# enabled for r0p0, r1p0, and r1p1 of the Neoverse V1 core, it is still open. 419ERRATA_V1_1925756 ?=0 420 421# Flag to apply erratum 1940577 workaround during reset. This erratum applies 422# to revisions r1p0 and r1p1 of the Neoverse V1 cpu. 423ERRATA_V1_1940577 ?=0 424 425# Flag to apply erratum 1966096 workaround during reset. This erratum applies 426# to revisions r1p0 and r1p1 of the Neoverse V1 CPU and is open. This issue 427# exists in r0p0 as well but there is no workaround for that revision. 428ERRATA_V1_1966096 ?=0 429 430# Flag to apply erratum 2139242 workaround during reset. This erratum applies 431# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open. 432ERRATA_V1_2139242 ?=0 433 434# Flag to apply erratum 2108267 workaround during reset. This erratum applies 435# to revisions r0p0, r1p0, and r1p1 of the Neoverse V1 cpu and is still open. 436ERRATA_V1_2108267 ?=0 437 438# Flag to apply erratum 2216392 workaround during reset. This erratum applies 439# to revisions r1p0 and r1p1 of the Neoverse V1 cpu and is still open. This 440# issue exists in r0p0 as well but there is no workaround for that revision. 441ERRATA_V1_2216392 ?=0 442 443# Flag to apply erratum 1987031 workaround during reset. This erratum applies 444# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open. 445ERRATA_A710_1987031 ?=0 446 447# Flag to apply erratum 2081180 workaround during reset. This erratum applies 448# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open. 449ERRATA_A710_2081180 ?=0 450 451# Flag to apply erratum 2083908 workaround during reset. This erratum applies 452# to revision r2p0 of the Cortex-A710 cpu and is still open. 453ERRATA_A710_2083908 ?=0 454 455# Flag to apply erratum 2058056 workaround during reset. This erratum applies 456# to revisions r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open. 457ERRATA_A710_2058056 ?=0 458 459# Flag to apply erratum 2055002 workaround during reset. This erratum applies 460# to revision r1p0, r2p0 of the Cortex-A710 cpu and is still open. 461ERRATA_A710_2055002 ?=0 462 463# Flag to apply erratum 2017096 workaround during reset. This erratum applies 464# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is still open. 465ERRATA_A710_2017096 ?=0 466 467# Flag to apply erratum 2267065 workaround during reset. This erratum applies 468# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 469ERRATA_A710_2267065 ?=0 470 471# Flag to apply erratum 2136059 workaround during reset. This erratum applies 472# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 473ERRATA_A710_2136059 ?=0 474 475# Flag to apply erratum 2282622 workaround during reset. This erratum applies 476# to revision r0p0, r1p0 and r2p0 of the Cortex-A710 cpu and is fixed in r2p1. 477ERRATA_A710_2282622 ?=0 478 479# Flag to apply erratum 2067956 workaround during reset. This erratum applies 480# to revision r0p0 of the Neoverse N2 cpu and is still open. 481ERRATA_N2_2067956 ?=0 482 483# Flag to apply erratum 2025414 workaround during reset. This erratum applies 484# to revision r0p0 of the Neoverse N2 cpu and is still open. 485ERRATA_N2_2025414 ?=0 486 487# Flag to apply erratum 2189731 workaround during reset. This erratum applies 488# to revision r0p0 of the Neoverse N2 cpu and is still open. 489ERRATA_N2_2189731 ?=0 490 491# Flag to apply erratum 2138956 workaround during reset. This erratum applies 492# to revision r0p0 of the Neoverse N2 cpu and is still open. 493ERRATA_N2_2138956 ?=0 494 495# Flag to apply erratum 2138953 workaround during reset. This erratum applies 496# to revision r0p0 of the Neoverse N2 cpu and is still open. 497ERRATA_N2_2138953 ?=0 498 499# Flag to apply erratum 2242415 workaround during reset. This erratum applies 500# to revision r0p0 of the Neoverse N2 cpu and is still open. 501ERRATA_N2_2242415 ?=0 502 503# Flag to apply erratum 2138958 workaround during reset. This erratum applies 504# to revision r0p0 of the Neoverse N2 cpu and is still open. 505ERRATA_N2_2138958 ?=0 506 507# Flag to apply erratum 2242400 workaround during reset. This erratum applies 508# to revision r0p0 of the Neoverse N2 cpu and is still open. 509ERRATA_N2_2242400 ?=0 510 511# Flag to apply erratum 2280757 workaround during reset. This erratum applies 512# to revision r0p0 of the Neoverse N2 cpu and is still open. 513ERRATA_N2_2280757 ?=0 514 515# Flag to apply erratum 2002765 workaround during reset. This erratum applies 516# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open. 517ERRATA_X2_2002765 ?=0 518 519# Flag to apply erratum 2058056 workaround during reset. This erratum applies 520# to revisions r0p0, r1p0, and r2p0 of the Cortex-X2 cpu and is still open. 521ERRATA_X2_2058056 ?=0 522 523# Flag to apply erratum 2083908 workaround during reset. This erratum applies 524# to revision r2p0 of the Cortex-X2 cpu and is still open. 525ERRATA_X2_2083908 ?=0 526 527# Flag to apply erratum 2017096 workaround during reset. This erratum applies 528# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in 529# r2p1. 530ERRATA_X2_2017096 ?=0 531 532# Flag to apply erratum 2081180 workaround during reset. This erratum applies 533# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in 534# r2p1. 535ERRATA_X2_2081180 ?=0 536 537# Flag to apply erratum 2216384 workaround during reset. This erratum applies 538# only to revisions r0p0, r1p0 and r2p0 of the Cortex-X2 cpu, it is fixed in 539# r2p1. 540ERRATA_X2_2216384 ?=0 541 542# Flag to apply erratum 1922240 workaround during reset. This erratum applies 543# to revision r0p0 of the Cortex-A510 cpu and is fixed in r0p1. 544ERRATA_A510_1922240 ?=0 545 546# Flag to apply erratum 2288014 workaround during reset. This erratum applies 547# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0 of the Cortex-A510 cpu and is 548# fixed in r1p1. 549ERRATA_A510_2288014 ?=0 550 551# Flag to apply erratum 2042739 workaround during reset. This erratum applies 552# to revisions r0p0, r0p1 and r0p2 of the Cortex-A510 cpu and is fixed in r0p3. 553ERRATA_A510_2042739 ?=0 554 555# Flag to apply erratum 2041909 workaround during reset. This erratum applies 556# to revision r0p2 of the Cortex-A510 cpu and is fixed in r0p3. The issue is 557# present in r0p0 and r0p1 but there is no workaround for those revisions. 558ERRATA_A510_2041909 ?=0 559 560# Flag to apply erratum 2250311 workaround during reset. This erratum applies 561# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1. 562ERRATA_A510_2250311 ?=0 563 564# Flag to apply erratum 2218950 workaround during reset. This erratum applies 565# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1. 566ERRATA_A510_2218950 ?=0 567 568# Flag to apply erratum 2172148 workaround during reset. This erratum applies 569# to revisions r0p0, r0p1, r0p2, r0p3 and r1p0, and is fixed in r1p1. 570ERRATA_A510_2172148 ?=0 571 572# Flag to apply DSU erratum 798953. This erratum applies to DSUs revision r0p0. 573# Applying the workaround results in higher DSU power consumption on idle. 574ERRATA_DSU_798953 ?=0 575 576# Flag to apply DSU erratum 936184. This erratum applies to DSUs containing 577# the ACP interface and revision < r2p0. Applying the workaround results in 578# higher DSU power consumption on idle. 579ERRATA_DSU_936184 ?=0 580 581# Process ERRATA_A9_794073 flag 582$(eval $(call assert_boolean,ERRATA_A9_794073)) 583$(eval $(call add_define,ERRATA_A9_794073)) 584 585# Process ERRATA_A15_816470 flag 586$(eval $(call assert_boolean,ERRATA_A15_816470)) 587$(eval $(call add_define,ERRATA_A15_816470)) 588 589# Process ERRATA_A15_827671 flag 590$(eval $(call assert_boolean,ERRATA_A15_827671)) 591$(eval $(call add_define,ERRATA_A15_827671)) 592 593# Process ERRATA_A17_852421 flag 594$(eval $(call assert_boolean,ERRATA_A17_852421)) 595$(eval $(call add_define,ERRATA_A17_852421)) 596 597# Process ERRATA_A17_852423 flag 598$(eval $(call assert_boolean,ERRATA_A17_852423)) 599$(eval $(call add_define,ERRATA_A17_852423)) 600 601# Process ERRATA_A35_855472 flag 602$(eval $(call assert_boolean,ERRATA_A35_855472)) 603$(eval $(call add_define,ERRATA_A35_855472)) 604 605# Process ERRATA_A53_819472 flag 606$(eval $(call assert_boolean,ERRATA_A53_819472)) 607$(eval $(call add_define,ERRATA_A53_819472)) 608 609# Process ERRATA_A53_824069 flag 610$(eval $(call assert_boolean,ERRATA_A53_824069)) 611$(eval $(call add_define,ERRATA_A53_824069)) 612 613# Process ERRATA_A53_826319 flag 614$(eval $(call assert_boolean,ERRATA_A53_826319)) 615$(eval $(call add_define,ERRATA_A53_826319)) 616 617# Process ERRATA_A53_827319 flag 618$(eval $(call assert_boolean,ERRATA_A53_827319)) 619$(eval $(call add_define,ERRATA_A53_827319)) 620 621# Process ERRATA_A53_835769 flag 622$(eval $(call assert_boolean,ERRATA_A53_835769)) 623$(eval $(call add_define,ERRATA_A53_835769)) 624 625# Process ERRATA_A53_836870 flag 626$(eval $(call assert_boolean,ERRATA_A53_836870)) 627$(eval $(call add_define,ERRATA_A53_836870)) 628 629# Process ERRATA_A53_843419 flag 630$(eval $(call assert_boolean,ERRATA_A53_843419)) 631$(eval $(call add_define,ERRATA_A53_843419)) 632 633# Process ERRATA_A53_855873 flag 634$(eval $(call assert_boolean,ERRATA_A53_855873)) 635$(eval $(call add_define,ERRATA_A53_855873)) 636 637# Process ERRATA_A53_1530924 flag 638$(eval $(call assert_boolean,ERRATA_A53_1530924)) 639$(eval $(call add_define,ERRATA_A53_1530924)) 640 641# Process ERRATA_A55_768277 flag 642$(eval $(call assert_boolean,ERRATA_A55_768277)) 643$(eval $(call add_define,ERRATA_A55_768277)) 644 645# Process ERRATA_A55_778703 flag 646$(eval $(call assert_boolean,ERRATA_A55_778703)) 647$(eval $(call add_define,ERRATA_A55_778703)) 648 649# Process ERRATA_A55_798797 flag 650$(eval $(call assert_boolean,ERRATA_A55_798797)) 651$(eval $(call add_define,ERRATA_A55_798797)) 652 653# Process ERRATA_A55_846532 flag 654$(eval $(call assert_boolean,ERRATA_A55_846532)) 655$(eval $(call add_define,ERRATA_A55_846532)) 656 657# Process ERRATA_A55_903758 flag 658$(eval $(call assert_boolean,ERRATA_A55_903758)) 659$(eval $(call add_define,ERRATA_A55_903758)) 660 661# Process ERRATA_A55_1221012 flag 662$(eval $(call assert_boolean,ERRATA_A55_1221012)) 663$(eval $(call add_define,ERRATA_A55_1221012)) 664 665# Process ERRATA_A55_1530923 flag 666$(eval $(call assert_boolean,ERRATA_A55_1530923)) 667$(eval $(call add_define,ERRATA_A55_1530923)) 668 669# Process ERRATA_A57_806969 flag 670$(eval $(call assert_boolean,ERRATA_A57_806969)) 671$(eval $(call add_define,ERRATA_A57_806969)) 672 673# Process ERRATA_A57_813419 flag 674$(eval $(call assert_boolean,ERRATA_A57_813419)) 675$(eval $(call add_define,ERRATA_A57_813419)) 676 677# Process ERRATA_A57_813420 flag 678$(eval $(call assert_boolean,ERRATA_A57_813420)) 679$(eval $(call add_define,ERRATA_A57_813420)) 680 681# Process ERRATA_A57_814670 flag 682$(eval $(call assert_boolean,ERRATA_A57_814670)) 683$(eval $(call add_define,ERRATA_A57_814670)) 684 685# Process ERRATA_A57_817169 flag 686$(eval $(call assert_boolean,ERRATA_A57_817169)) 687$(eval $(call add_define,ERRATA_A57_817169)) 688 689# Process ERRATA_A57_826974 flag 690$(eval $(call assert_boolean,ERRATA_A57_826974)) 691$(eval $(call add_define,ERRATA_A57_826974)) 692 693# Process ERRATA_A57_826977 flag 694$(eval $(call assert_boolean,ERRATA_A57_826977)) 695$(eval $(call add_define,ERRATA_A57_826977)) 696 697# Process ERRATA_A57_828024 flag 698$(eval $(call assert_boolean,ERRATA_A57_828024)) 699$(eval $(call add_define,ERRATA_A57_828024)) 700 701# Process ERRATA_A57_829520 flag 702$(eval $(call assert_boolean,ERRATA_A57_829520)) 703$(eval $(call add_define,ERRATA_A57_829520)) 704 705# Process ERRATA_A57_833471 flag 706$(eval $(call assert_boolean,ERRATA_A57_833471)) 707$(eval $(call add_define,ERRATA_A57_833471)) 708 709# Process ERRATA_A57_859972 flag 710$(eval $(call assert_boolean,ERRATA_A57_859972)) 711$(eval $(call add_define,ERRATA_A57_859972)) 712 713# Process ERRATA_A57_1319537 flag 714$(eval $(call assert_boolean,ERRATA_A57_1319537)) 715$(eval $(call add_define,ERRATA_A57_1319537)) 716 717# Process ERRATA_A72_859971 flag 718$(eval $(call assert_boolean,ERRATA_A72_859971)) 719$(eval $(call add_define,ERRATA_A72_859971)) 720 721# Process ERRATA_A72_1319367 flag 722$(eval $(call assert_boolean,ERRATA_A72_1319367)) 723$(eval $(call add_define,ERRATA_A72_1319367)) 724 725# Process ERRATA_A73_852427 flag 726$(eval $(call assert_boolean,ERRATA_A73_852427)) 727$(eval $(call add_define,ERRATA_A73_852427)) 728 729# Process ERRATA_A73_855423 flag 730$(eval $(call assert_boolean,ERRATA_A73_855423)) 731$(eval $(call add_define,ERRATA_A73_855423)) 732 733# Process ERRATA_A75_764081 flag 734$(eval $(call assert_boolean,ERRATA_A75_764081)) 735$(eval $(call add_define,ERRATA_A75_764081)) 736 737# Process ERRATA_A75_790748 flag 738$(eval $(call assert_boolean,ERRATA_A75_790748)) 739$(eval $(call add_define,ERRATA_A75_790748)) 740 741# Process ERRATA_A76_1073348 flag 742$(eval $(call assert_boolean,ERRATA_A76_1073348)) 743$(eval $(call add_define,ERRATA_A76_1073348)) 744 745# Process ERRATA_A76_1130799 flag 746$(eval $(call assert_boolean,ERRATA_A76_1130799)) 747$(eval $(call add_define,ERRATA_A76_1130799)) 748 749# Process ERRATA_A76_1220197 flag 750$(eval $(call assert_boolean,ERRATA_A76_1220197)) 751$(eval $(call add_define,ERRATA_A76_1220197)) 752 753# Process ERRATA_A76_1257314 flag 754$(eval $(call assert_boolean,ERRATA_A76_1257314)) 755$(eval $(call add_define,ERRATA_A76_1257314)) 756 757# Process ERRATA_A76_1262606 flag 758$(eval $(call assert_boolean,ERRATA_A76_1262606)) 759$(eval $(call add_define,ERRATA_A76_1262606)) 760 761# Process ERRATA_A76_1262888 flag 762$(eval $(call assert_boolean,ERRATA_A76_1262888)) 763$(eval $(call add_define,ERRATA_A76_1262888)) 764 765# Process ERRATA_A76_1275112 flag 766$(eval $(call assert_boolean,ERRATA_A76_1275112)) 767$(eval $(call add_define,ERRATA_A76_1275112)) 768 769# Process ERRATA_A76_1286807 flag 770$(eval $(call assert_boolean,ERRATA_A76_1286807)) 771$(eval $(call add_define,ERRATA_A76_1286807)) 772 773# Process ERRATA_A76_1791580 flag 774$(eval $(call assert_boolean,ERRATA_A76_1791580)) 775$(eval $(call add_define,ERRATA_A76_1791580)) 776 777# Process ERRATA_A76_1165522 flag 778$(eval $(call assert_boolean,ERRATA_A76_1165522)) 779$(eval $(call add_define,ERRATA_A76_1165522)) 780 781# Process ERRATA_A76_1868343 flag 782$(eval $(call assert_boolean,ERRATA_A76_1868343)) 783$(eval $(call add_define,ERRATA_A76_1868343)) 784 785# Process ERRATA_A76_1946160 flag 786$(eval $(call assert_boolean,ERRATA_A76_1946160)) 787$(eval $(call add_define,ERRATA_A76_1946160)) 788 789# Process ERRATA_A77_1508412 flag 790$(eval $(call assert_boolean,ERRATA_A77_1508412)) 791$(eval $(call add_define,ERRATA_A77_1508412)) 792 793# Process ERRATA_A77_1925769 flag 794$(eval $(call assert_boolean,ERRATA_A77_1925769)) 795$(eval $(call add_define,ERRATA_A77_1925769)) 796 797# Process ERRATA_A77_1946167 flag 798$(eval $(call assert_boolean,ERRATA_A77_1946167)) 799$(eval $(call add_define,ERRATA_A77_1946167)) 800 801# Process ERRATA_A77_1791578 flag 802$(eval $(call assert_boolean,ERRATA_A77_1791578)) 803$(eval $(call add_define,ERRATA_A77_1791578)) 804 805# Process ERRATA_A78_1688305 flag 806$(eval $(call assert_boolean,ERRATA_A78_1688305)) 807$(eval $(call add_define,ERRATA_A78_1688305)) 808 809# Process ERRATA_A78_1941498 flag 810$(eval $(call assert_boolean,ERRATA_A78_1941498)) 811$(eval $(call add_define,ERRATA_A78_1941498)) 812 813# Process ERRATA_A78_1951500 flag 814$(eval $(call assert_boolean,ERRATA_A78_1951500)) 815$(eval $(call add_define,ERRATA_A78_1951500)) 816 817# Process ERRATA_A78_1821534 flag 818$(eval $(call assert_boolean,ERRATA_A78_1821534)) 819$(eval $(call add_define,ERRATA_A78_1821534)) 820 821# Process ERRATA_A78_1952683 flag 822$(eval $(call assert_boolean,ERRATA_A78_1952683)) 823$(eval $(call add_define,ERRATA_A78_1952683)) 824 825# Process ERRATA_A78_2132060 flag 826$(eval $(call assert_boolean,ERRATA_A78_2132060)) 827$(eval $(call add_define,ERRATA_A78_2132060)) 828 829# Process ERRATA_A78_2242635 flag 830$(eval $(call assert_boolean,ERRATA_A78_2242635)) 831$(eval $(call add_define,ERRATA_A78_2242635)) 832 833# Process ERRATA_A78_AE_1941500 flag 834$(eval $(call assert_boolean,ERRATA_A78_AE_1941500)) 835$(eval $(call add_define,ERRATA_A78_AE_1941500)) 836 837# Process ERRATA_A78_AE_1951502 flag 838$(eval $(call assert_boolean,ERRATA_A78_AE_1951502)) 839$(eval $(call add_define,ERRATA_A78_AE_1951502)) 840 841# Process ERRATA_N1_1043202 flag 842$(eval $(call assert_boolean,ERRATA_N1_1043202)) 843$(eval $(call add_define,ERRATA_N1_1043202)) 844 845# Process ERRATA_N1_1073348 flag 846$(eval $(call assert_boolean,ERRATA_N1_1073348)) 847$(eval $(call add_define,ERRATA_N1_1073348)) 848 849# Process ERRATA_N1_1130799 flag 850$(eval $(call assert_boolean,ERRATA_N1_1130799)) 851$(eval $(call add_define,ERRATA_N1_1130799)) 852 853# Process ERRATA_N1_1165347 flag 854$(eval $(call assert_boolean,ERRATA_N1_1165347)) 855$(eval $(call add_define,ERRATA_N1_1165347)) 856 857# Process ERRATA_N1_1207823 flag 858$(eval $(call assert_boolean,ERRATA_N1_1207823)) 859$(eval $(call add_define,ERRATA_N1_1207823)) 860 861# Process ERRATA_N1_1220197 flag 862$(eval $(call assert_boolean,ERRATA_N1_1220197)) 863$(eval $(call add_define,ERRATA_N1_1220197)) 864 865# Process ERRATA_N1_1257314 flag 866$(eval $(call assert_boolean,ERRATA_N1_1257314)) 867$(eval $(call add_define,ERRATA_N1_1257314)) 868 869# Process ERRATA_N1_1262606 flag 870$(eval $(call assert_boolean,ERRATA_N1_1262606)) 871$(eval $(call add_define,ERRATA_N1_1262606)) 872 873# Process ERRATA_N1_1262888 flag 874$(eval $(call assert_boolean,ERRATA_N1_1262888)) 875$(eval $(call add_define,ERRATA_N1_1262888)) 876 877# Process ERRATA_N1_1275112 flag 878$(eval $(call assert_boolean,ERRATA_N1_1275112)) 879$(eval $(call add_define,ERRATA_N1_1275112)) 880 881# Process ERRATA_N1_1315703 flag 882$(eval $(call assert_boolean,ERRATA_N1_1315703)) 883$(eval $(call add_define,ERRATA_N1_1315703)) 884 885# Process ERRATA_N1_1542419 flag 886$(eval $(call assert_boolean,ERRATA_N1_1542419)) 887$(eval $(call add_define,ERRATA_N1_1542419)) 888 889# Process ERRATA_N1_1868343 flag 890$(eval $(call assert_boolean,ERRATA_N1_1868343)) 891$(eval $(call add_define,ERRATA_N1_1868343)) 892 893# Process ERRATA_N1_1946160 flag 894$(eval $(call assert_boolean,ERRATA_N1_1946160)) 895$(eval $(call add_define,ERRATA_N1_1946160)) 896 897# Process ERRATA_N2_2002655 flag 898$(eval $(call assert_boolean,ERRATA_N2_2002655)) 899$(eval $(call add_define,ERRATA_N2_2002655)) 900 901# Process ERRATA_V1_1774420 flag 902$(eval $(call assert_boolean,ERRATA_V1_1774420)) 903$(eval $(call add_define,ERRATA_V1_1774420)) 904 905# Process ERRATA_V1_1791573 flag 906$(eval $(call assert_boolean,ERRATA_V1_1791573)) 907$(eval $(call add_define,ERRATA_V1_1791573)) 908 909# Process ERRATA_V1_1852267 flag 910$(eval $(call assert_boolean,ERRATA_V1_1852267)) 911$(eval $(call add_define,ERRATA_V1_1852267)) 912 913# Process ERRATA_V1_1925756 flag 914$(eval $(call assert_boolean,ERRATA_V1_1925756)) 915$(eval $(call add_define,ERRATA_V1_1925756)) 916 917# Process ERRATA_V1_1940577 flag 918$(eval $(call assert_boolean,ERRATA_V1_1940577)) 919$(eval $(call add_define,ERRATA_V1_1940577)) 920 921# Process ERRATA_V1_1966096 flag 922$(eval $(call assert_boolean,ERRATA_V1_1966096)) 923$(eval $(call add_define,ERRATA_V1_1966096)) 924 925# Process ERRATA_V1_2139242 flag 926$(eval $(call assert_boolean,ERRATA_V1_2139242)) 927$(eval $(call add_define,ERRATA_V1_2139242)) 928 929# Process ERRATA_V1_2108267 flag 930$(eval $(call assert_boolean,ERRATA_V1_2108267)) 931$(eval $(call add_define,ERRATA_V1_2108267)) 932 933# Process ERRATA_V1_2216392 flag 934$(eval $(call assert_boolean,ERRATA_V1_2216392)) 935$(eval $(call add_define,ERRATA_V1_2216392)) 936 937# Process ERRATA_A710_1987031 flag 938$(eval $(call assert_boolean,ERRATA_A710_1987031)) 939$(eval $(call add_define,ERRATA_A710_1987031)) 940 941# Process ERRATA_A710_2081180 flag 942$(eval $(call assert_boolean,ERRATA_A710_2081180)) 943$(eval $(call add_define,ERRATA_A710_2081180)) 944 945# Process ERRATA_A710_2083908 flag 946$(eval $(call assert_boolean,ERRATA_A710_2083908)) 947$(eval $(call add_define,ERRATA_A710_2083908)) 948 949# Process ERRATA_A710_2058056 flag 950$(eval $(call assert_boolean,ERRATA_A710_2058056)) 951$(eval $(call add_define,ERRATA_A710_2058056)) 952 953# Process ERRATA_A710_2055002 flag 954$(eval $(call assert_boolean,ERRATA_A710_2055002)) 955$(eval $(call add_define,ERRATA_A710_2055002)) 956 957# Process ERRATA_A710_2017096 flag 958$(eval $(call assert_boolean,ERRATA_A710_2017096)) 959$(eval $(call add_define,ERRATA_A710_2017096)) 960 961# Process ERRATA_A710_2267065 flag 962$(eval $(call assert_boolean,ERRATA_A710_2267065)) 963$(eval $(call add_define,ERRATA_A710_2267065)) 964 965# Process ERRATA_A710_2136059 flag 966$(eval $(call assert_boolean,ERRATA_A710_2136059)) 967$(eval $(call add_define,ERRATA_A710_2136059)) 968 969# Process ERRATA_A710_2282622 flag 970$(eval $(call assert_boolean,ERRATA_A710_2282622)) 971$(eval $(call add_define,ERRATA_A710_2282622)) 972 973# Process ERRATA_N2_2067956 flag 974$(eval $(call assert_boolean,ERRATA_N2_2067956)) 975$(eval $(call add_define,ERRATA_N2_2067956)) 976 977# Process ERRATA_N2_2025414 flag 978$(eval $(call assert_boolean,ERRATA_N2_2025414)) 979$(eval $(call add_define,ERRATA_N2_2025414)) 980 981# Process ERRATA_N2_2189731 flag 982$(eval $(call assert_boolean,ERRATA_N2_2189731)) 983$(eval $(call add_define,ERRATA_N2_2189731)) 984 985# Process ERRATA_N2_2138956 flag 986$(eval $(call assert_boolean,ERRATA_N2_2138956)) 987$(eval $(call add_define,ERRATA_N2_2138956)) 988 989# Process ERRATA_N2_2138953 flag 990$(eval $(call assert_boolean,ERRATA_N2_2138953)) 991$(eval $(call add_define,ERRATA_N2_2138953)) 992 993# Process ERRATA_N2_2242415 flag 994$(eval $(call assert_boolean,ERRATA_N2_2242415)) 995$(eval $(call add_define,ERRATA_N2_2242415)) 996 997# Process ERRATA_N2_2138958 flag 998$(eval $(call assert_boolean,ERRATA_N2_2138958)) 999$(eval $(call add_define,ERRATA_N2_2138958)) 1000 1001# Process ERRATA_N2_2242400 flag 1002$(eval $(call assert_boolean,ERRATA_N2_2242400)) 1003$(eval $(call add_define,ERRATA_N2_2242400)) 1004 1005# Process ERRATA_N2_2280757 flag 1006$(eval $(call assert_boolean,ERRATA_N2_2280757)) 1007$(eval $(call add_define,ERRATA_N2_2280757)) 1008 1009# Process ERRATA_X2_2002765 flag 1010$(eval $(call assert_boolean,ERRATA_X2_2002765)) 1011$(eval $(call add_define,ERRATA_X2_2002765)) 1012 1013# Process ERRATA_X2_2058056 flag 1014$(eval $(call assert_boolean,ERRATA_X2_2058056)) 1015$(eval $(call add_define,ERRATA_X2_2058056)) 1016 1017# Process ERRATA_X2_2083908 flag 1018$(eval $(call assert_boolean,ERRATA_X2_2083908)) 1019$(eval $(call add_define,ERRATA_X2_2083908)) 1020 1021# Process ERRATA_X2_2017096 flag 1022$(eval $(call assert_boolean,ERRATA_X2_2017096)) 1023$(eval $(call add_define,ERRATA_X2_2017096)) 1024 1025# Process ERRATA_X2_2081180 flag 1026$(eval $(call assert_boolean,ERRATA_X2_2081180)) 1027$(eval $(call add_define,ERRATA_X2_2081180)) 1028 1029# Process ERRATA_X2_2216384 flag 1030$(eval $(call assert_boolean,ERRATA_X2_2216384)) 1031$(eval $(call add_define,ERRATA_X2_2216384)) 1032 1033# Process ERRATA_A510_1922240 flag 1034$(eval $(call assert_boolean,ERRATA_A510_1922240)) 1035$(eval $(call add_define,ERRATA_A510_1922240)) 1036 1037# Process ERRATA_A510_2288014 flag 1038$(eval $(call assert_boolean,ERRATA_A510_2288014)) 1039$(eval $(call add_define,ERRATA_A510_2288014)) 1040 1041# Process ERRATA_A510_2042739 flag 1042$(eval $(call assert_boolean,ERRATA_A510_2042739)) 1043$(eval $(call add_define,ERRATA_A510_2042739)) 1044 1045# Process ERRATA_A510_2041909 flag 1046$(eval $(call assert_boolean,ERRATA_A510_2041909)) 1047$(eval $(call add_define,ERRATA_A510_2041909)) 1048 1049# Process ERRATA_A510_2250311 flag 1050$(eval $(call assert_boolean,ERRATA_A510_2250311)) 1051$(eval $(call add_define,ERRATA_A510_2250311)) 1052 1053# Process ERRATA_A510_2218950 flag 1054$(eval $(call assert_boolean,ERRATA_A510_2218950)) 1055$(eval $(call add_define,ERRATA_A510_2218950)) 1056 1057# Process ERRATA_A510_2172148 flag 1058$(eval $(call assert_boolean,ERRATA_A510_2172148)) 1059$(eval $(call add_define,ERRATA_A510_2172148)) 1060 1061# Process ERRATA_DSU_798953 flag 1062$(eval $(call assert_boolean,ERRATA_DSU_798953)) 1063$(eval $(call add_define,ERRATA_DSU_798953)) 1064 1065# Process ERRATA_DSU_936184 flag 1066$(eval $(call assert_boolean,ERRATA_DSU_936184)) 1067$(eval $(call add_define,ERRATA_DSU_936184)) 1068 1069# Errata build flags 1070ifneq (${ERRATA_A53_843419},0) 1071TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419 1072endif 1073 1074ifneq (${ERRATA_A53_835769},0) 1075TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769 1076TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769 1077endif 1078 1079ifneq ($(filter 1,${ERRATA_A53_1530924} ${ERRATA_A55_1530923} \ 1080 ${ERRATA_A57_1319537} ${ERRATA_A72_1319367} ${ERRATA_A76_1165522}),) 1081ERRATA_SPECULATIVE_AT := 1 1082else 1083ERRATA_SPECULATIVE_AT := 0 1084endif 1085