From 046cb19b496b45ea9ef06119c13181819b41fbc4 Mon Sep 17 00:00:00 2001 From: Manish V Badarkhe Date: Thu, 21 Apr 2022 22:53:43 +0100 Subject: [PATCH] refactor(arm): update set_config_info function call Pass NS-load address as ~0UL to the 'set_config_info' function while updating FW_CONFIG device tree information since it is always loaded into secure memory. Change-Id: Ia33adfa9e7b0392f62056053a2df7db321a74e22 Signed-off-by: Manish V Badarkhe --- plat/arm/common/arm_bl1_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/arm/common/arm_bl1_setup.c b/plat/arm/common/arm_bl1_setup.c index 73338cbd2..7a9e04d0c 100644 --- a/plat/arm/common/arm_bl1_setup.c +++ b/plat/arm/common/arm_bl1_setup.c @@ -166,7 +166,7 @@ void arm_bl1_platform_setup(void) /* Set global DTB info for fixed fw_config information */ fw_config_max_size = ARM_FW_CONFIG_LIMIT - ARM_FW_CONFIG_BASE; - set_config_info(ARM_FW_CONFIG_BASE, fw_config_max_size, FW_CONFIG_ID); + set_config_info(ARM_FW_CONFIG_BASE, ~0UL, fw_config_max_size, FW_CONFIG_ID); /* Fill the device tree information struct with the info from the config dtb */ err = fconf_load_config(FW_CONFIG_ID);