aboutsummaryrefslogtreecommitdiff
path: root/lib/cpus/aarch32/cortex_a32.S
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2018-09-17 04:34:35 +0100
committerSoby Mathew <soby.mathew@arm.com>2018-10-29 09:54:32 +0000
commit12af5ed4fb146d575463bd304027da5a0e6b4a68 (patch)
tree78e72e95b6ffbcead3752082d2bd9ac066055e1b /lib/cpus/aarch32/cortex_a32.S
parentf1722b693d363cc6a2b624d59f0442bf845baf62 (diff)
Make errata reporting mandatory for CPU files
Previously the errata reporting was optional for CPU operation files and this was achieved by making use of weak reference to resolve to 0 if the symbol is not defined. This is error prone when adding new CPU operation files and weak references are problematic when fixing up dynamic relocations. Hence this patch removes the weak reference and makes it mandatory for the CPU operation files to define the errata reporting function. Change-Id: I8af192e19b85b7cd8c7579e52f8f05a4294e5396 Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'lib/cpus/aarch32/cortex_a32.S')
-rw-r--r--lib/cpus/aarch32/cortex_a32.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/cpus/aarch32/cortex_a32.S b/lib/cpus/aarch32/cortex_a32.S
index 2b6df272..c2622762 100644
--- a/lib/cpus/aarch32/cortex_a32.S
+++ b/lib/cpus/aarch32/cortex_a32.S
@@ -117,6 +117,15 @@ func cortex_a32_cluster_pwr_dwn
b cortex_a32_disable_smp
endfunc cortex_a32_cluster_pwr_dwn
+#if REPORT_ERRATA
+/*
+ * Errata printing function for Cortex-A32. Must follow AAPCS.
+ */
+func cortex_a32_errata_report
+ bx lr
+endfunc cortex_a32_errata_report
+#endif
+
declare_cpu_ops cortex_a32, CORTEX_A32_MIDR, \
cortex_a32_reset_func, \
cortex_a32_core_pwr_dwn, \