Add empty weak assembler function armv8_switch_to_el2_prep() which is jumped to just before U-Boot determines which EL it is running in and decides which path to take to boot the Linux kernel. Add IH_TYPE_TFA_BL31 into supported images type, to allow implementation of board specific U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_TFA_BL31, ...) TFA BL31 loadable handler for fitImages.
This PR contains common hooks which are noop, R-Car Gen4 board specific implementation using these hooks is coming in next PR. The following changes since commit 89d33336d2645128dd217ac05410cfbfa2f74233: Merge branch 'misc' of https://source.denx.de/u-boot/custodians/u-boot-tegra (2025-02-13 12:37:26 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-sh.git master for you to fetch changes up to 854a5a00cadd6ea4adcc9e4a923124887989f5f8: image: Add support for starting TFA BL31 as fitImage loadables (2025-02-15 14:44:43 +0100) ---------------------------------------------------------------- Marek Vasut (2): arm64: Add late jump to kernel board hook image: Add support for starting TFA BL31 as fitImage loadables arch/arm/cpu/armv8/transition.S | 8 ++++++++ arch/arm/include/asm/system.h | 16 ++++++++++++++++ boot/image-fit.c | 1 + boot/image.c | 1 + include/image.h | 1 + 5 files changed, 27 insertions(+)