This enables OP-TEE support for i.MX93. This is done in a way very similar to how it's done on i.MX8M. One major difference is that the i.MX93 needs a RAM firmware for the EdgeLock secure enclave. Without it OP-TEE doesn't work properly. The firmware can be integrated into the i.MX93 image where the ROM picks it up automatically. The firmware image is SoC revision specific though, so we load the firmware during runtime to avoid having to create a barebox image for each SoC revision. Sascha Hauer (7): firmware: add missing FIRMWARE_IMX8MQ_OPTEE symbol firmware: add missing include firmware: i.MX OP-TEE: Add some Kconfig help ARM: i.MX93: add imx93_barebox_entry() ARM: i.MX: export imx9_ddrc_sdram_size() ARM: i.MX93: add scratch space support ARM: i.MX93: Add OP-TEE support arch/arm/boards/tqmba9xxxca/lowlevel.c | 4 +- arch/arm/mach-imx/atf.c | 25 +++++++++- arch/arm/mach-imx/ele.c | 67 ++++++++++++++++++++++++++ arch/arm/mach-imx/esdctl.c | 17 ++++++- arch/arm/mach-imx/imx9.c | 15 ++++++ arch/arm/mach-imx/scratch.c | 11 +++++ firmware/Kconfig | 32 ++++++++++++ firmware/Makefile | 5 +- include/firmware.h | 1 + include/mach/imx/ele.h | 5 ++ include/mach/imx/esdctl.h | 2 + include/mach/imx/scratch.h | 1 + 12 files changed, 180 insertions(+), 5 deletions(-) -- 2.39.2