blob: 4893a44d782f5accf0c202a189da28c83796f7eb [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
Itaru Kitayama1e31bc12022-07-04 14:36:00 +090019 /* ---------------------------------------------
20 * This function provides cpu specific
21 * register information for crash reporting.
22 * It needs to return with x6 pointing to
23 * a list of register names in ascii and
24 * x8 - x15 having values of registers to be
25 * reported.
26 * ---------------------------------------------
27 */
28.section .rodata.a64fx_regs, "aS"
29a64fx_regs: /* The ascii list of register names to be reported */
30 .asciz ""
31
32func a64fx_cpu_reg_dump
33 adr x6, a64fx_regs
34 ret
35endfunc a64fx_cpu_reg_dump
36
37declare_cpu_ops a64fx, A64FX_MIDR, CPU_NO_RESET_FUNC \
38 a64fx_core_pwr_dwn, \
39 a64fx_cluster_pwr_dwn
40