summaryrefslogtreecommitdiff
path: root/lib/utils/reset/fdt_reset_thead.h
blob: d7a686ec93172f8afa2d811d480fe12da286ff49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * SPDX-License-Identifier: BSD-2-Clause
 */

#ifndef __FDT_RESET_THEAD_H__
#define __FDT_RESET_THEAD_H__

#define MAX_CUSTOM_CSR	32

#ifndef __ASSEMBLER__
struct custom_csr {
	unsigned long index;
	unsigned long value;
};

u64  __fdt_reset_thead_csrr(void);

extern struct custom_csr custom_csr[MAX_CUSTOM_CSR];
extern u32 __reset_thead_csr_stub[];

#endif /* __ASSEMBLER__ */

#endif /* __FDT_RESET_THEAD_H__ */