blob: 73e8e18daa57f6d4fec702e234e9dc35404b3ccb [file] [log] [blame] [view]
Soby Mathew3fd5ddf2014-08-18 16:57:56 +01001ARM CPU Errata Workarounds
2==========================
3
4ARM Trusted Firmware exports a series of build flags which controls the
5errata workarounds that are applied to each CPU by the reset handler. The
6errata details can be found in the CPU specifc errata documents published
7by ARM. The errata workarounds are implemented for a particular revision
8or a set of processor revisions. This check is done in the debug build.
9Each errata workaround is identified by its `ID` as specified in the processor's
10errata notice document. The format of the define used to enable/disable the
11errata is `ERRATA_<Processor name>_<ID>` where the `Processor name`
12is either `A57` for the `Cortex_A57` CPU or `A53` for `Cortex_A53` CPU.
13
14All workarounds are disabled by default. The platform is reponsible for
15enabling these workarounds according to its requirement by defining the
16errata workaround build flags in the platform specific makefile.
17
18In the current implementation, a platform which has more than 1 variant
19with different revisions of a processor has no runtime mechanism available
20for it to specify which errata workarounds should be enabled or not.
21
22The value of the build flags are 0 by default, that is disabled. Any other
23value will enable it.
24
25For Cortex A57, following errata build flags are defined :
26
27* `ERRATA_A57_806969`: This applies errata 806969 workaround to cortex a57
28 CPU. This needs to be enabled only for revision r0p0 of the CPU.
29
30* `ERRATA_A57_813420`: This applies errata 813420 workaround to cortex a57
31 CPU. This needs to be enabled only for revision r0p0 of the CPU.
32
33- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
34
35_Copyright (c) 2014, ARM Limited and Contributors. All rights reserved._