arm-trusted-firmware/include/lib
Madhukar Pappireddy 25d740c45e fconf: enhancements to firmware configuration framework
A populate() function essentially captures the value of a property,
defined by a platform, into a fconf related c structure. Such a
callback is usually platform specific and is associated to a specific
configuration source.
For example, a populate() function which captures the hardware topology
of the platform can only parse HW_CONFIG DTB. Hence each populator
function must be registered with a specific 'config_type' identifier.
It broadly represents a logical grouping of configuration properties
which is usually a device tree source file.

Example:
> TB_FW: properties related to trusted firmware such as IO policies,
	 base address of other DTBs, mbedtls heap info etc.
> HW_CONFIG: properties related to hardware configuration of the SoC
	 such as topology, GIC controller, PSCI hooks, CPU ID etc.

This patch modifies FCONF_REGISTER_POPULATOR macro and fconf_populate()
to register and invoke the appropriate callbacks selectively based on
configuration type.

Change-Id: I6f63b1fd7a8729c6c9137d5b63270af1857bb44a
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
2020-03-11 10:19:21 -05:00
..
bl_aux_params Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
cpus Merge "Add Matterhorn CPU lib" into integration 2020-02-21 17:51:10 +00:00
el3_runtime SPMD: Adds partially supported EL2 registers. 2020-03-03 11:38:26 +00:00
extensions Refactor ARMv8.3 Pointer Authentication support code 2019-09-13 14:11:59 +01:00
fconf fconf: enhancements to firmware configuration framework 2020-03-11 10:19:21 -05:00
libc libc: Fix SIZE_MAX on AArch32 2019-12-16 15:24:50 +01:00
libfdt Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
pmf Simplify PMF helper macro definitions across header files 2020-01-08 18:00:34 -06:00
psci Unify type of "cpu_idx" across PSCI module. 2020-01-10 17:11:51 +00:00
xlat_tables Read-only xlat tables for BL31 memory 2020-02-24 16:52:56 +00:00
zlib Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bakery_lock.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
cassert.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
coreboot.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
debugfs.h debugfs: add SMC channel 2019-12-18 09:59:12 +01:00
mmio.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
object_pool.h fconf: Fix misra issues 2020-02-27 16:14:07 +00:00
optee_utils.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
runtime_instr.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
semihosting.h qemu: Implement qemu_system_off via semihosting. 2020-01-23 10:53:45 +00:00
smccc.h smccc: add get smc function id num macro 2020-01-09 12:14:14 +01:00
spinlock.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
utils.h arm: gicv3: Fix compiler dependent behavior 2019-12-10 15:53:44 -06:00
utils_def.h include: move MHZ_TICKS_PER_SEC to utils_def.h 2020-02-20 09:25:45 -08:00