diff options
Diffstat (limited to 'arch/arm/include/asm/arch-rockchip/param.h')
-rw-r--r-- | arch/arm/include/asm/arch-rockchip/param.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/param.h b/arch/arm/include/asm/arch-rockchip/param.h index 66ba2ac22e..dbfb1fb27f 100644 --- a/arch/arm/include/asm/arch-rockchip/param.h +++ b/arch/arm/include/asm/arch-rockchip/param.h @@ -7,28 +7,36 @@ #ifndef __ROCKCHIP_PARAM_H_ #define __ROCKCHIP_PARAM_H_ -#include <sysmem.h> +#include <memblk.h> + +/** + * param_parse_ddr_mem() - Parse ddr memory region + * + * @out_count: valid count of memblock for memblock list. + * @return memblock structure list which contains base and size info. + */ +struct memblock *param_parse_ddr_mem(int *out_count); /** * param_parse_atf_mem() - Parse atf memory region * - * @return sysmem_property structure which contains base and size info. + * @return memblock structure which contains base and size info. */ -struct sysmem_property param_parse_atf_mem(void); +struct memblock param_parse_atf_mem(void); /** * param_parse_atf_mem() - Parse op-tee memory region * - * @return sysmem_property structure which contains base and size info. + * @return memblock structure which contains base and size info. */ -struct sysmem_property param_parse_optee_mem(void); +struct memblock 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. + * @return memblock structure which contains base and size info. */ -struct sysmem_property param_parse_common_resv_mem(void); +struct memblock param_parse_common_resv_mem(void); /** * param_parse_bootdev() - Parse boot device info. |