blob: 66ba2ac22ecfb0da88513ea44bcdd39d649775a0 (
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
34
35
36
37
38
39
40
41
42
43
|
/*
* (C) Copyright 2019 Rockchip Electronics Co., Ltd
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __ROCKCHIP_PARAM_H_
#define __ROCKCHIP_PARAM_H_
#include <sysmem.h>
/**
* param_parse_atf_mem() - Parse atf memory region
*
* @return sysmem_property structure which contains base and size info.
*/
struct sysmem_property param_parse_atf_mem(void);
/**
* param_parse_atf_mem() - Parse op-tee memory region
*
* @return sysmem_property structure which contains base and size info.
*/
struct sysmem_property param_parse_optee_mem(void);
/**
* param_parse_atf_mem() - Parse platform common reserved memory region
*
* @return sysmem_property structure which contains base and size info.
*/
struct sysmem_property param_parse_common_resv_mem(void);
/**
* param_parse_bootdev() - Parse boot device info.
*
* @devtype: out data to store dev type
* @devnum: out data to store dev number
*
* @return 0 on success, otherwise failed.
*/
int param_parse_bootdev(char **devtype, char **devtnum);
#endif
|