arm-trusted-firmware/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
..
aarch32 Fix Coverity #261967, Infinite loop 2019-08-06 13:06:03 +01:00
aarch64 Read-only xlat tables for BL31 memory 2020-02-24 16:52:56 +00:00
bl_aux_params Introduce lightweight BL platform parameter library 2019-07-18 16:42:40 -07:00
compiler-rt compiler_rt: Import popcountdi2.c and popcountsi2.c files 2020-01-20 11:32:59 +01:00
coreboot coreboot: Use generic base address 2020-02-25 09:34:38 +00:00
cpus cpus: denver: fixup register used to store return address 2020-03-09 15:25:15 -07:00
debugfs coverity: debugfs devfip remove comparisons to LONG_MAX 2020-02-04 13:40:30 +00:00
el3_runtime SPMD: Adds partially supported EL2 registers. 2020-03-03 11:38:26 +00:00
extensions TF-A: Add support for ARMv8.3-PAuth in BL1 SMC calls and BL2U 2019-10-03 14:43:55 +01:00
fconf fconf: enhancements to firmware configuration framework 2020-03-11 10:19:21 -05:00
libc libc: add memrchr 2019-12-11 08:51:26 +01:00
libfdt libfdt: Downgrade to version 1.4.6-9 2018-10-30 13:42:13 +00:00
locks T589: Fix insufficient ordering guarantees in bakery lock 2020-01-27 09:31:31 -08:00
optee Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
pmf Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
romlib FDT wrappers: add functions for read/write bytes 2020-02-03 11:41:27 +00:00
semihosting qemu: Implement qemu_system_off via semihosting. 2020-01-23 10:53:45 +00:00
stack_protector Disable stack protection explicitly 2019-10-20 14:59:09 -04:00
utils coverity: Fix MISRA null pointer violations 2020-02-05 14:53:02 -06:00
xlat_tables Coding guideline suggest not to use unsigned long 2019-11-12 11:14:18 -06:00
xlat_tables_v2 Read-only xlat tables for BL31 memory 2020-02-24 16:52:56 +00:00
zlib Sanitise includes across codebase 2019-01-04 10:43:17 +00:00