blob: 34bf07c0df45127e38b168711fd3986f69e6276b [file] [log] [blame]
Soby Mathew96a1c6b2018-01-15 14:45:33 +00001/*
Louis Mayencourt6d2b5732019-12-17 13:17:25 +00002 * Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
Soby Mathew96a1c6b2018-01-15 14:45:33 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
Antonio Nino Diazb5acb3f2018-10-30 16:32:48 +00006#ifndef ARM_DYN_CFG_HELPERS_H
7#define ARM_DYN_CFG_HELPERS_H
Soby Mathew96a1c6b2018-01-15 14:45:33 +00008
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 Mathew96a1c6b2018-01-15 14:45:33 +000013int arm_dyn_tb_fw_cfg_init(void *dtb, int *node);
John Tsichritzisc34341a2018-07-30 13:41:52 +010014int arm_set_dtb_mbedtls_heap_info(void *dtb, void *heap_addr,
15 size_t heap_size);
Soby Mathew96a1c6b2018-01-15 14:45:33 +000016
Alexei Fedorov25d7c882020-03-20 18:38:55 +000017#if MEASURED_BOOT
18int arm_set_bl2_hash_info(void *dtb, void *data);
19#endif
20
Antonio Nino Diazb5acb3f2018-10-30 16:32:48 +000021#endif /* ARM_DYN_CFG_HELPERS_H */