summaryrefslogtreecommitdiff
path: root/src/soc/cavium/cn81xx/include/atf/plat_params.h
blob: 0efe7c73219acdb3f57a9ca75e00e5d88d1fc259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __PLAT_PARAMS_H__
#define __PLAT_PARAMS_H__

#include <stdint.h>

/* param type */
enum {
	PARAM_NONE = 0,
	PARAM_FDT,
	PARAM_COREBOOT_TABLE,
};

/* common header for all plat parameter type */
struct bl31_plat_param {
	uint64_t type;
	void *next;
};

struct bl31_fdt_param {
	struct bl31_plat_param h;
	uint64_t fdt_ptr;
};

struct bl31_u64_param {
	struct bl31_plat_param h;
	uint64_t value;
};

void params_early_setup(void *ptr);

#endif /* __PLAT_PARAMS_H__ */