blob: 0fda8c9b2037be5d2867aa6d538422a6b90e4b36 [file] [log] [blame]
Louis Mayencourt6d2b5732019-12-17 13:17:25 +00001/*
2 * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef FCONF_DYN_CFG_GETTER_H
8#define FCONF_DYN_CFG_GETTER_H
9
10#include <lib/fconf/fconf.h>
11
12/* Dynamic configuration related getter */
13#define dyn_cfg__dtb_getter(id) dyn_cfg_dtb_info_getter(id)
14
15struct dyn_cfg_dtb_info_t {
16 uintptr_t config_addr;
17 size_t config_max_size;
18 unsigned int config_id;
19};
20
21struct dyn_cfg_dtb_info_t *dyn_cfg_dtb_info_getter(unsigned int config_id);
22int fconf_populate_dtb_registry(uintptr_t config);
23
24#endif /* FCONF_DYN_CFG_GETTER_H */