mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-27 15:24:54 +00:00

Move the runtime errata source file into the PSCI library, as PSCI is the only component directly dependent on it, and it doesn't require internal access to the CPUs library. Change-Id: I92826714d49b1b0131f62c158543b4c167ab9aa8 Signed-off-by: Chris Kay <chris.kay@arm.com>
27 lines
537 B
ArmAsm
27 lines
537 B
ArmAsm
/*
|
|
* Copyright (c) 2023, Arm Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <asm_macros.S>
|
|
#include <cortex_a510.h>
|
|
#include <cpu_macros.S>
|
|
|
|
/*
|
|
* void apply_cpu_pwr_dwn_errata(void);
|
|
*
|
|
* This function applies various CPU errata during power down.
|
|
*/
|
|
.globl apply_cpu_pwr_dwn_errata
|
|
func apply_cpu_pwr_dwn_errata
|
|
mov x19, x30
|
|
bl cpu_get_rev_var
|
|
mov x18, x0
|
|
|
|
#if ERRATA_A510_2684597
|
|
bl errata_cortex_a510_2684597_wa
|
|
#endif
|
|
|
|
ret x19
|
|
endfunc apply_cpu_pwr_dwn_errata
|