blob: 54c20c32b2c1758af2c0f84001f28f4fa1299252 [file] [log] [blame]
Itaru Kitayama1e31bc12022-07-04 14:36:00 +09001/*
2 * Copyright (c) 2022, Fujitsu Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6#include <arch.h>
7#include <asm_macros.S>
8#include <assert_macros.S>
9#include <a64fx.h>
10#include <cpu_macros.S>
11#include <plat_macros.S>
12
13func a64fx_core_pwr_dwn
14endfunc a64fx_core_pwr_dwn
15
16func a64fx_cluster_pwr_dwn
17endfunc a64fx_cluster_pwr_dwn
18
19#if REPORT_ERRATA
20/*
21 * Errata printing function for A64FX. Must follow AAPCS.
22 */
23func a64fx_errata_report
24 ret
25endfunc a64fx_errata_report
26#endif
27
28 /* ---------------------------------------------
29 * This function provides cpu specific
30 * register information for crash reporting.
31 * It needs to return with x6 pointing to
32 * a list of register names in ascii and
33 * x8 - x15 having values of registers to be
34 * reported.
35 * ---------------------------------------------
36 */
37.section .rodata.a64fx_regs, "aS"
38a64fx_regs: /* The ascii list of register names to be reported */
39 .asciz ""
40
41func a64fx_cpu_reg_dump
42 adr x6, a64fx_regs
43 ret
44endfunc a64fx_cpu_reg_dump
45
46declare_cpu_ops a64fx, A64FX_MIDR, CPU_NO_RESET_FUNC \
47 a64fx_core_pwr_dwn, \
48 a64fx_cluster_pwr_dwn
49