xref: /aosp_15_r20/external/coreboot/src/soc/cavium/cn81xx/include/atf/plat_params.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __PLAT_PARAMS_H__
4 #define __PLAT_PARAMS_H__
5 
6 #include <stdint.h>
7 
8 /* param type */
9 enum {
10 	PARAM_NONE = 0,
11 	PARAM_FDT,
12 	PARAM_COREBOOT_TABLE,
13 };
14 
15 /* common header for all plat parameter type */
16 struct bl31_plat_param {
17 	uint64_t type;
18 	void *next;
19 };
20 
21 struct bl31_fdt_param {
22 	struct bl31_plat_param h;
23 	uint64_t fdt_ptr;
24 };
25 
26 struct bl31_u64_param {
27 	struct bl31_plat_param h;
28 	uint64_t value;
29 };
30 
31 void params_early_setup(void *ptr);
32 
33 #endif /* __PLAT_PARAMS_H__ */
34