Soby Mathew | 3fd5ddf | 2014-08-18 16:57:56 +0100 | [diff] [blame] | 1 | ARM CPU Errata Workarounds |
| 2 | ========================== |
| 3 | |
| 4 | ARM Trusted Firmware exports a series of build flags which controls the |
| 5 | errata workarounds that are applied to each CPU by the reset handler. The |
| 6 | errata details can be found in the CPU specifc errata documents published |
| 7 | by ARM. The errata workarounds are implemented for a particular revision |
| 8 | or a set of processor revisions. This check is done in the debug build. |
| 9 | Each errata workaround is identified by its `ID` as specified in the processor's |
| 10 | errata notice document. The format of the define used to enable/disable the |
| 11 | errata is `ERRATA_<Processor name>_<ID>` where the `Processor name` |
| 12 | is either `A57` for the `Cortex_A57` CPU or `A53` for `Cortex_A53` CPU. |
| 13 | |
| 14 | All workarounds are disabled by default. The platform is reponsible for |
| 15 | enabling these workarounds according to its requirement by defining the |
| 16 | errata workaround build flags in the platform specific makefile. |
| 17 | |
| 18 | In the current implementation, a platform which has more than 1 variant |
| 19 | with different revisions of a processor has no runtime mechanism available |
| 20 | for it to specify which errata workarounds should be enabled or not. |
| 21 | |
| 22 | The value of the build flags are 0 by default, that is disabled. Any other |
| 23 | value will enable it. |
| 24 | |
| 25 | For 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._ |