diff options
| author | Marek Vasut <[email protected]> | 2025-10-30 22:23:50 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-11-06 11:26:18 -0600 |
| commit | be0e9ac7c8a141fbc52f658fbfdd96cf2c27d0de (patch) | |
| tree | 3cd8720729a659a427bd7ca9af0fa1565a91020a /include/spl.h | |
| parent | 20861863eb3010581b12e9a77eb7958460edaa82 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include/spl.h')
| -rw-r--r-- | include/spl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h index cf45d411ecb..06dc28362d3 100644 --- a/include/spl.h +++ b/include/spl.h @@ -289,6 +289,9 @@ struct spl_image_info { #if CONFIG_IS_ENABLED(LOAD_FIT) || CONFIG_IS_ENABLED(LOAD_FIT_FULL) void *fdt_addr; #endif +#if defined(CONFIG_BOOTM_OPTEE) && defined(CONFIG_ARM) && !defined(CONFIG_ARM64) + ulong optee_addr; +#endif u32 boot_device; u32 offset; u32 size; |
