diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 17b7f95f50..3331b81e8c 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -314,6 +314,18 @@ config BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE_BIN Binary format must be used for OP-TEE versions since 3.8.0. +config BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE_RAW_BIN + bool "tee-raw.bin" + help + Raw binary suitable to copy into physical memory where OP-TEE + be can executed from. + + OP-TEE since 3.21 suggests to use tee-raw.bin instead of (the + still identical) tee-pager_v2.bin. + + Texas Instrument’s K3 family of SoCs embed tee-raw.bin in + U-Boot (using Binman tool) to support their boot flow. + endchoice config BR2_TARGET_UBOOT_NEEDS_OPENSBI diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 6ddbb9e438..5b3f46ac74 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -204,6 +204,8 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE_ELF),y) UBOOT_MAKE_OPTS += TEE=$(BINARIES_DIR)/tee.elf else ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE_BIN),y) UBOOT_MAKE_OPTS += TEE=$(BINARIES_DIR)/tee.bin +else ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE_RAW_BIN),y) +UBOOT_MAKE_OPTS += TEE=$(BINARIES_DIR)/tee-raw.bin endif endif