arm_dyn_cfg_helpers.h 709 Bytes
Newer Older
1
2
3
4
5
/*
 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
6
7
#ifndef ARM_DYN_CFG_HELPERS_H
#define ARM_DYN_CFG_HELPERS_H
8

9
#include <stddef.h>
10
11
#include <stdint.h>

12
/* Function declarations */
13
14
int arm_dyn_get_config_load_info(void *dtb, int node, unsigned int config_id,
		uint64_t *config_addr, uint32_t *config_size);
15
int arm_dyn_tb_fw_cfg_init(void *dtb, int *node);
16
int arm_dyn_get_disable_auth(void *dtb, int node, uint32_t *disable_auth);
17
18
19
20
int arm_get_dtb_mbedtls_heap_info(void *dtb, void **heap_addr,
	size_t *heap_size);
int arm_set_dtb_mbedtls_heap_info(void *dtb, void *heap_addr,
	size_t heap_size);
21

22
#endif /* ARM_DYN_CFG_HELPERS_H */