aboutsummaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorManish V Badarkhe <Manish.Badarkhe@arm.com>2020-06-11 22:32:11 +0100
committerManish V Badarkhe <Manish.Badarkhe@arm.com>2020-06-25 13:48:43 +0100
commit8286967552bbf1c1e08e51cd98c22d27ca8fa44c (patch)
tree848fc35f2894059352970a402c6da38689e66628 /include/lib
parentf17ae7b0a92b83f5e230baee1f1a11b3cbfb2910 (diff)
downloadtrusted-firmware-a-8286967552bbf1c1e08e51cd98c22d27ca8fa44c.tar.gz
plat/arm: Load and populate fw_config and tb_fw_config
Modified the code to do below changes: 1. Load tb_fw_config along with fw_config by BL1. 2. Populate fw_config device tree information in the BL1 to load tb_fw_config. 3. In BL2, populate fw_config information to retrieve the address of tb_fw_config and then tb_fw_config gets populated using retrieved address. 4. Avoid processing of configuration file in case of error value returned from "fw_config_load" function. 5. Updated entrypoint information for BL2 image so that it's arg0 should point to fw_config address. Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com> Change-Id: Ife6f7b673a074e7f544ee3d1bda7645fd5b2886c
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/fconf/fconf_dyn_cfg_getter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lib/fconf/fconf_dyn_cfg_getter.h b/include/lib/fconf/fconf_dyn_cfg_getter.h
index 0fda8c9b20..9816d6fe0d 100644
--- a/include/lib/fconf/fconf_dyn_cfg_getter.h
+++ b/include/lib/fconf/fconf_dyn_cfg_getter.h
@@ -21,4 +21,7 @@ struct dyn_cfg_dtb_info_t {
struct dyn_cfg_dtb_info_t *dyn_cfg_dtb_info_getter(unsigned int config_id);
int fconf_populate_dtb_registry(uintptr_t config);
+/* Set fw_config information in global DTB array */
+void set_fw_config_info(uintptr_t config_addr, uint32_t config_max_size);
+
#endif /* FCONF_DYN_CFG_GETTER_H */