summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2022-06-13 09:05:11 +0000
committerAndrey Zhizhikin <andrey.z@gmail.com>2022-06-14 18:51:40 +0000
commitb61c4907b1926061cbf627ee1fd5dd8eb8e53d59 (patch)
tree400f0cd1c751409786d6382955a5e42cb23a90bf /classes
parent60f941077013631c98df522c730eb5beab374523 (diff)
downloadmeta-freescale-b61c4907b1926061cbf627ee1fd5dd8eb8e53d59.tar.gz
layer-wide: define configurable default TF-A provider
TF-A package can have several providers: upstream TF-A implementation, or NXP downstream fork. Functionality to switch this provider, and to select which package shall be included into the target image is missing in the layer however, defaulting the usage of the layer to NXP downstream fork only. Introduce the Default TF-A Provider define, make it overridable, and default it to NXP downstream fork. This allows user to re-define the package name later shall they choose to integrate upstream TF-A package instead. Current upstream TF-A version (v2.7) does not support HAB feature of i.MX8M family, see [1]. If the upstream TF-A version is chosen, then HAB will not be available for all SoCs that are opting-in. This is indicated in the comment where default TF-A provider variable is set. This might change with future TF-A release, so later it can be revised and statement in include file can be potentially removed. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Link: [1]: https://lists.trustedfirmware.org/archives/list/tf-a@lists.trustedfirmware.org/message/5UYYI4CNLQ5OWWHU466JBK6I5QIQ2VRS/
Diffstat (limited to 'classes')
-rw-r--r--classes/imx-boot-container.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass
index 71c2809d..7765266d 100644
--- a/classes/imx-boot-container.bbclass
+++ b/classes/imx-boot-container.bbclass
@@ -29,7 +29,7 @@ ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-o
29# appropriate dependencies for populate binaries task 29# appropriate dependencies for populate binaries task
30do_resolve_and_populate_binaries[depends] += " \ 30do_resolve_and_populate_binaries[depends] += " \
31 ${@' '.join('%s:do_deploy' % r for r in '${IMX_EXTRA_FIRMWARE}'.split() )} \ 31 ${@' '.join('%s:do_deploy' % r for r in '${IMX_EXTRA_FIRMWARE}'.split() )} \
32 imx-atf:do_deploy \ 32 ${IMX_DEFAULT_ATF_PROVIDER}:do_deploy \
33 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-os:do_deploy', '', d)} \ 33 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-os:do_deploy', '', d)} \
34" 34"
35 35