]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spl: fit: Add ability to jump to Linux via OPTEE-OS on ARMv7a
authorMarek Vasut <marek.vasut@mailbox.org>
Thu, 30 Oct 2025 21:23:50 +0000 (22:23 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 6 Nov 2025 17:26:18 +0000 (11:26 -0600)
commitbe0e9ac7c8a141fbc52f658fbfdd96cf2c27d0de
tree3cd8720729a659a427bd7ca9af0fa1565a91020a
parent20861863eb3010581b12e9a77eb7958460edaa82
spl: fit: Add ability to jump to Linux via OPTEE-OS on ARMv7a

Add support for jumping to Linux kernel through OPTEE-OS on ARMv7a to SPL.
This is already supported on ARMv8a, this patch adds the ARMv7a support.
Extend the SPL fitImage loader to record OPTEE-OS load address and in case
the load address is non-zero, use the same bootm-optee.S code used by the
U-Boot fitImage jump code to start OPTEE-OS first and jump to Linux next.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
arch/arm/lib/spl.c
common/spl/spl_fit.c
include/spl.h