boot/uboot: improve U-Boot OP-TEE TEE format options help text

OP-TEE generates a few binaries that can be used by u-boot on some
platforms (Rockchip, Texas Instruments K3) using TEE variable.

Add a link to the OP-TEE documentation were we can find easily the
desciption for each TEE format that can be used by u-boot.

For convenience, copy tee.elf and tee.bin description in each option
choice help text.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit a5f5c08dcd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Romain Naour
2026-03-04 22:35:26 +01:00
committed by Thomas Perale
parent 60c8ad4b00
commit 863fafb6aa

View File

@@ -295,15 +295,23 @@ choice
Since this version, the TEE in binary format must be used as
it contains important meta-data.
https://optee.readthedocs.io/en/4.9.0/architecture/porting_guidelines.html#binaries
config BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE_ELF
bool "tee.elf"
help
The main OP-TEE ELF file. All other OP-TEE binaries are
created with this as input.
ELF format may be used only for OP-TEE versions before
3.8.0.
config BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE_BIN
bool "tee.bin"
help
The original OP-TEE binary with a header (v1) and combined
init, paged, and unpaged parts.
Binary format must be used for OP-TEE versions since 3.8.0.
endchoice