]> git.baikalelectronics.ru Git - arm-tf.git/commit
fconf: Add dynamic config DTBs info as property
authorLouis Mayencourt <louis.mayencourt@arm.com>
Tue, 17 Dec 2019 13:17:25 +0000 (13:17 +0000)
committerLouis Mayencourt <louis.mayencourt@arm.com>
Fri, 7 Feb 2020 13:51:32 +0000 (13:51 +0000)
commit25ac87940cd3db8036f967d01653c0db64e4c136
tree59b10532b2acc657a0974515d979b6d1fc41f3aa
parent9814bfc1bfc4868a8505d3756aceea5ad41a8c64
fconf: Add dynamic config DTBs info as property

This patch introduces a better separation between the trusted-boot
related properties, and the dynamic configuration DTBs loading
information.

The dynamic configuration DTBs properties are moved to a new node:
`dtb-registry`. All the sub-nodes present will be provided to the
dynamic config framework to be loaded. The node currently only contains
the already defined configuration DTBs, but can be extended for future
features if necessary.
The dynamic config framework is modified to use the abstraction provided
by the fconf framework, instead of directly accessing the DTBs.

The trusted-boot properties are kept under the "arm,tb_fw" compatible
string, but in a separate `tb_fw-config` node.
The `tb_fw-config` property of the `dtb-registry` node simply points
to the load address of `fw_config`, as the `tb_fw-config` is currently
part of the same DTB.

Change-Id: Iceb6c4c2cb92b692b6e28dbdc9fb060f1c46de82
Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
22 files changed:
include/lib/fconf/fconf_dyn_cfg_getter.h [new file with mode: 0644]
include/plat/arm/common/arm_dyn_cfg_helpers.h
include/plat/arm/common/plat_arm.h
lib/fconf/fconf.c
lib/fconf/fconf.mk
lib/fconf/fconf_dyn_cfg_getter.c [new file with mode: 0644]
plat/arm/board/a5ds/fdts/a5ds_fw_config.dts [new file with mode: 0644]
plat/arm/board/a5ds/fdts/a5ds_tb_fw_config.dts [deleted file]
plat/arm/board/a5ds/platform.mk
plat/arm/board/fvp/fdts/fvp_fw_config.dts [new file with mode: 0644]
plat/arm/board/fvp/fdts/fvp_tb_fw_config.dts [deleted file]
plat/arm/board/fvp/jmptbl.i
plat/arm/board/fvp/platform.mk
plat/arm/board/fvp_ve/fdts/fvp_ve_fw_config.dts [new file with mode: 0644]
plat/arm/board/fvp_ve/fdts/fvp_ve_tb_fw_config.dts [deleted file]
plat/arm/board/fvp_ve/platform.mk
plat/arm/board/juno/fdts/juno_fw_config.dts [new file with mode: 0644]
plat/arm/board/juno/fdts/juno_tb_fw_config.dts [deleted file]
plat/arm/board/juno/jmptbl.i
plat/arm/board/juno/platform.mk
plat/arm/common/arm_dyn_cfg.c
plat/arm/common/arm_dyn_cfg_helpers.c