blob: cb17c95f254fc7ffd2621f28ee535b9402f1cf7a [file] [log] [blame]
Soby Mathew96a1c6b2018-01-15 14:45:33 +00001/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6#ifndef __ARM_DYN_CFG_HELPERS_H__
7#define __ARM_DYN_CFG_HELPERS_H__
8
John Tsichritzisc34341a2018-07-30 13:41:52 +01009#include <stddef.h>
Soby Mathew96a1c6b2018-01-15 14:45:33 +000010#include <stdint.h>
11
John Tsichritzisc34341a2018-07-30 13:41:52 +010012/* Function declarations */
Soby Mathewb6814842018-04-04 09:40:32 +010013int arm_dyn_get_config_load_info(void *dtb, int node, unsigned int config_id,
14 uint64_t *config_addr, uint32_t *config_size);
Soby Mathew96a1c6b2018-01-15 14:45:33 +000015int arm_dyn_tb_fw_cfg_init(void *dtb, int *node);
Soby Mathew45e39e22018-03-26 15:16:46 +010016int arm_dyn_get_disable_auth(void *dtb, int node, uint32_t *disable_auth);
John Tsichritzisc34341a2018-07-30 13:41:52 +010017int arm_get_dtb_mbedtls_heap_info(void *dtb, void **heap_addr,
18 size_t *heap_size);
19int arm_set_dtb_mbedtls_heap_info(void *dtb, void *heap_addr,
20 size_t heap_size);
Soby Mathew96a1c6b2018-01-15 14:45:33 +000021
22#endif /* __ARM_DYN_CFG_HELPERS_H__ */