arm-trusted-firmware/plat/arm/common
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 ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
aarch64 ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
sp_min ARM Platforms: Migrate to new BL handover interface 2018-02-26 16:31:11 +00:00
tsp Fix order of ARM platform #includes 2017-07-14 10:50:40 +01:00
arm_bl1_fwu.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
arm_bl1_setup.c ARM Platorms: Load TB_FW_CONFIG in BL1 2018-02-26 16:31:11 +00:00
arm_bl2_el3_setup.c bl2-el3: Add BL2 at EL3 support in FVP 2018-01-18 09:55:11 +00:00
arm_bl2_setup.c ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
arm_bl2u_setup.c Fix order of ARM platform #includes 2017-07-14 10:50:40 +01:00
arm_bl31_setup.c ARM Platforms: Migrate to new BL handover interface 2018-02-26 16:31:11 +00:00
arm_cci.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
arm_ccn.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
arm_common.c ARM platforms: Provide SDEI entry point validation 2017-11-13 08:38:51 +00:00
arm_common.mk ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
arm_dyn_cfg.c ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
arm_dyn_cfg_helpers.c ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
arm_gicv2.c GICv2: Fix populating PE target data 2017-11-13 07:49:30 +00:00
arm_gicv3.c Merge pull request #1137 from soby-mathew/sm/arm_plat_en_gicv3_save 2017-11-03 13:12:48 +00:00
arm_gicv3_legacy.c ARM platforms: enable GICv3 state save/restore 2017-10-11 16:57:00 +01:00
arm_image_load.c ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
arm_io_storage.c ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
arm_nor_psci_mem_protect.c mem_protect: Add DRAM2 to the list of mem protected ranges 2017-09-25 13:32:20 +01:00
arm_pm.c ARM platforms: Make arm_validate_ns_entrypoint() common 2017-11-13 08:38:51 +00:00
arm_sip_svc.c Merge pull request #927 from jeenu-arm/state-switch 2017-05-11 16:04:52 +01:00
arm_topology.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
arm_tzc400.c ARM Platforms: Change the TZC access permissions for EL3 payload 2017-12-05 15:58:45 +00:00
arm_tzc_dmc500.c ARM platforms: Add support for EL3 TZC memory region 2017-10-11 16:57:00 +01:00
execution_state_switch.c Add missing SPDX header 2017-05-11 17:31:29 +01:00