arm-trusted-firmware/plat/arm/board/juno
Soby Mathew cab0b5b045 ARM Platforms: Load HW_CONFIG in BL2
The patch adds the necessary changes to load HW_CONFIG in BL2 for
ARM Platforms :

1. The load address of HW_CONFIG is specified via the `hw_config_addr`
property in TB_FW_CONFIG is loaded by BL1. The `hw_config_max_size`
property defines the maximum size to be expected for the HW_CONFIG.
The `arm_dyn_cfg_helpers.c` and corresponding header implements
utility functions to parse these DT properties defined.
The `arm_dyn_cfg.c` implements wrappers to these helpers to enable
them to be invoked from ARM platform layer.

2. `HW_CONFIG` is added to the `bl2_mem_params_descs[]` array which is
the list of images to be loaded by BL2.

3. The `libfdt` sources are now included when BL2 is built

4. A new helper `populate_next_bl_params_config()` is introduced in
desc_image_load.c to populate the subsequent executable BL images
with the `hw_config` and the corresponding `fw_config` if available.
The `plat_get_next_bl_params()` API for ARM platforms is modified to
invoke this new helper.

5. The implementation of `bl2_early_platform_setup2()` is modified to
consider `arg0` as well in addition to `arg1` passed from BL1.

6. Bump up the BL2 size for Juno to accommodate the inclusion of libfdt.

Change-Id: I80f1554adec41753e0d179a5237364f04fe13a3f
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
2018-02-26 16:31:11 +00:00
..
aarch32 juno: Fix AArch32 build 2017-06-20 15:14:01 +01:00
aarch64 juno: Fix bug in plat_get_my_entrypoint 2017-09-06 14:44:56 +01:00
include ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
sp_min mem_protect: Add mem_protect support in Juno and FVP for DRAM1 2017-09-25 13:32:20 +01:00
tsp Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
juno_bl1_setup.c Fix order of ARM platform #includes 2017-07-14 10:50:40 +01:00
juno_bl2_setup.c Juno AArch32: Remove duplicate definition of bl2 platform API 2017-11-29 14:37:29 +00:00
juno_decl.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
juno_def.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
juno_err.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
juno_security.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
juno_stack_protector.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
juno_topology.c Add SCMI support for Juno platform 2017-06-05 13:32:17 +01:00
juno_trng.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
platform.mk Merge pull request #1178 from davidcunado-arm/dc/enable_sve 2017-12-11 12:29:47 +00:00