arm-trusted-firmware/plat/qti/common/src/aarch64/qti_kryo6_silver.S
Ryan Everett 3fb52e41fd refactor(cpus): remove cpu specific errata funcs
Errata printing is done directly via generic_errata_report.
This commit removes the unused \_cpu\()_errata_report
functions for all cores, and removes errata_func from cpu_ops.

Change-Id: I04fefbde5f0ff63b1f1cd17c864557a14070d68c
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
2024-07-26 11:19:52 +01:00

60 lines
1.6 KiB
ArmAsm

/*
* Copyright (c) 2015-2024, Arm Limited and Contributors. All rights reserved.
* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <arch.h>
#include <asm_macros.S>
#include <cpu_macros.S>
#include <plat_macros.S>
#include <qti_cpu.h>
.p2align 3
/* -------------------------------------------------
* The CPU Ops reset function for Kryo-3 Silver
* -------------------------------------------------
*/
func qti_kryo6_silver_reset_func
mov x19, x30
bl qtiseclib_kryo6_silver_reset_asm
mov x30, x19
b cortex_a55_reset_func
endfunc qti_kryo6_silver_reset_func
/* ---------------------------------------------------------
* The CPU Ops cluster power down function for Kryo-3 Silver
* ---------------------------------------------------------
*/
func qti_kryo6_silver_cluster_pwr_dwn
ret
endfunc qti_kryo6_silver_cluster_pwr_dwn
/* ---------------------------------------------
* This function provides kryo4_silver specific
* register information for crash reporting.
* It needs to return with x6 pointing to
* a list of register names in ASCII and
* x8 - x15 having values of registers to be
* reported.
* ---------------------------------------------
*/
.section .rodata.qti_kryo4_silver_regs, "aS"
qti_kryo6_silver_regs: /* The ASCII list of register names to be reported */
.asciz ""
func qti_kryo6_silver_cpu_reg_dump
adr x6, qti_kryo6_silver_regs
ret
endfunc qti_kryo6_silver_cpu_reg_dump
declare_cpu_ops qti_kryo6_silver, QTI_KRYO6_SILVER_MIDR, \
qti_kryo6_silver_reset_func, \
cortex_a55_core_pwr_dwn, \
qti_kryo6_silver_cluster_pwr_dwn