diff options
author | Govindraj Raja <govindraj.raja@arm.com> | 2023-06-06 15:57:59 -0500 |
---|---|---|
committer | Govindraj Raja <govindraj.raja@arm.com> | 2023-08-03 14:08:35 -0500 |
commit | 62e84c8804e08db91895155832ba799992ec13d8 (patch) | |
tree | 3d46bc6ce330621acdc592f02d9c14d86e4df5bb /lib/cpus/aarch32 | |
parent | 3ca54cb4a3b7bd873eeca515bfa9445ceaa87983 (diff) |
refactor(cpus): use cpu errata wrappers Cortex-A12 aarch32 cpu
Adapt to use errata frame-work cpu macro helpers for Cortex-A12
aarch32 cpu.
Testing:
- Manual comparison of disassembly with and without the patch.
- Compile testing.
Change-Id: I9bad7f1e3d87419c0451b5d46edf0c406d31a84d
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
Diffstat (limited to 'lib/cpus/aarch32')
-rw-r--r-- | lib/cpus/aarch32/cortex_a12.S | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/cpus/aarch32/cortex_a12.S b/lib/cpus/aarch32/cortex_a12.S index 5300fe009..089c08987 100644 --- a/lib/cpus/aarch32/cortex_a12.S +++ b/lib/cpus/aarch32/cortex_a12.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2017-2023, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -69,14 +69,7 @@ func cortex_a12_cluster_pwr_dwn b cortex_a12_disable_smp endfunc cortex_a12_cluster_pwr_dwn -#if REPORT_ERRATA -/* - * Errata printing function for Cortex-A12. Must follow AAPCS. - */ -func cortex_a12_errata_report - bx lr -endfunc cortex_a12_errata_report -#endif +errata_report_shim cortex_a12 declare_cpu_ops cortex_a12, CORTEX_A12_MIDR, \ cortex_a12_reset_func, \ |