arm-trusted-firmware/plat
Louis Mayencourt ab1981db9e fconf: initial commit
Introduce the Firmware CONfiguration Framework (fconf).

The fconf is an abstraction layer for platform specific data, allowing
a "property" to be queried and a value retrieved without the requesting
entity knowing what backing store is being used to hold the data.

The default backing store used is C structure. If another backing store
has to be used, the platform integrator needs to provide a "populate()"
function to fill the corresponding C structure.
The "populate()" function must be registered to the fconf framework with
the "FCONF_REGISTER_POPULATOR()". This ensures that the function would
be called inside the "fconf_populate()" function.

A two level macro is used as getter:
- the first macro takes 3 parameters and converts it to a function
  call: FCONF_GET_PROPERTY(a,b,c) -> a__b_getter(c).
- the second level defines a__b_getter(c) to the matching C structure,
  variable, array, function, etc..

Ex: Get a Chain of trust property:
    1) FCONF_GET_PROPERY(tbbr, cot, BL2_id) -> tbbr__cot_getter(BL2_id)
    2) tbbr__cot_getter(BL2_id) -> cot_desc_ptr[BL2_id]

Change-Id: Id394001353ed295bc680c3f543af0cf8da549469
Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
2020-02-07 13:29:09 +00:00
..
allwinner allwinner: Unify Platform specific defines for PSCI module 2020-01-24 13:14:34 +00:00
amlogic Merge changes from topic "amlogic-g12a" into integration 2019-09-27 09:53:40 +00:00
arm fconf: initial commit 2020-02-07 13:29:09 +00:00
common Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
hisilicon hisilicon: Unify Platform specific defines for PSCI module 2020-01-24 13:01:27 +00:00
imx Enable -Wredundant-decls warning check 2020-01-28 11:09:02 -06:00
intel/soc intel: Introduce SMC support for mailbox command 2020-02-05 16:26:15 +08:00
layerscape layerscape: Unify Platform specific defines for PSCI module 2020-01-24 13:15:40 +00:00
marvell marvell: Unify Platform specific defines for PSCI module 2020-01-24 13:14:55 +00:00
mediatek Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00
nvidia/tegra Tegra194: mce: declare nvg_roc_clean_cache_trbits() 2020-02-05 19:15:40 +00:00
qemu qemu: Implement PSCI_CPU_OFF. 2020-01-29 10:50:25 +00:00
renesas/rcar Merge "Use correct type when reading SCR register" into integration 2020-01-30 16:55:55 +00:00
rockchip Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00
rpi Merge "rpi3/4: Add support for offlining CPUs" into integration 2020-01-20 22:16:43 +00:00
socionext Merge "Use correct type when reading SCR register" into integration 2020-01-30 16:55:55 +00:00
st Enable -Wredundant-decls warning check 2020-01-28 11:09:02 -06:00
ti/k3 Merge "Use correct type when reading SCR register" into integration 2020-01-30 16:55:55 +00:00
xilinx xilinx: versal: Pass result count to pm_get_callbackdata() 2020-01-30 11:31:52 -08:00