arm-trusted-firmware/bl2
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
..
aarch32 Merge pull request #1878 from jts-arm/sctlr 2019-03-13 15:32:00 +00:00
aarch64 BL2_AT_EL3: add PIE support 2020-01-24 22:34:25 +09:00
bl2.ld.S fconf: initial commit 2020-02-07 13:29:09 +00:00
bl2.mk Add support for Branch Target Identification 2019-05-24 14:44:45 +01:00
bl2_el3.ld.S BL2_AT_EL3: add PIE support 2020-01-24 22:34:25 +09:00
bl2_image_load_v2.c BL2: Print ID of images we fail loading 2020-02-03 16:11:56 +01:00
bl2_main.c Refactor ARMv8.3 Pointer Authentication support code 2019-09-13 14:11:59 +01:00
bl2_private.h Move BL1 and BL2 private defines to bl_common.h 2019-01-15 13:52:32 +00:00