On Mon, May 12, 2025 at 06:52:12PM +0200, Marek Vasut wrote: > Add support for jumping to Linux kernel through OpTee-OS on ARMv7a. > This is only supported if U-Boot runs in PL1 secure. This change adds > two components, one is fitImage OpTee-OS loadable handler, which makes > a note of OpTee-OS being loaded and stores the load address for later > jump to it. The second part is the actual jump to Linux through OpTee-OS. > The jump through OpTee-OS requires set up of multiple CPU registers, r1 > and r2 are passed through, r0 and r3 have to be set to 0, lr is set to > Linux kernel entry point. This setup is done by new assembler function > boot_jump_linux_via_optee(). > > The boot_jump_linux_via_optee() also includes STM32MP13xx late TZC > configuration write, this cannot be moved easily, hence the ifdef. > > Signed-off-by: Marek Vasut <marek.va...@mailbox.org>
The lack of a cover letter isn't the final problem, because I could summarize this easily enough. However, this causes a large number of targets to now have warnings, such as imx8mp-icore-mx8mp-edimm2.2 and gxp. -- Tom
signature.asc
Description: PGP signature