u-boot/arch/arm/mach-stm32mp
Alexandru Gagniuc 8533263c85 stm32mp1: spl: Configure TrustZone controller for OP-TEE
OP-TEE is very particular about how the TZC should be configured.
When booting an OP-TEE payload, an incorrect TZC configuration will
result in a panic.

Most information can be derived from the SPL devicetree. The only
information we don't have is the split between TZDRAM and shared
memory. This has to be hardcoded. The rest of the configuration is
fairly easy, and only requires 3 TZC regions. Configure them.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2021-07-27 09:48:11 +02:00
..
cmd_stm32prog stm32mp: stm32prog: use defines for virtual partition size 2021-07-16 09:28:46 +02:00
include/mach arm: stm32mp: Implement support for TZC 400 controller 2021-07-27 09:48:09 +02:00
boot_params.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bsec.c stm32mp: bsec: manage clock when present in device tree 2021-03-11 17:50:10 +01:00
cmd_stm32key.c stm32mp: cmd_stm32key: add subcommand close 2021-07-16 09:28:46 +02:00
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
cpu.c arm: stm32mp1: force boot_device variable for invalid TAMP register value 2021-07-27 09:47:40 +02:00
dram_init.c stm32mp: Increase the reserved memory in board_get_usable_ram_top 2021-06-07 10:48:40 -04:00
fdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Kconfig stm32mp: configs: activate the command stm32key only for ST boards 2021-07-16 09:28:46 +02:00
Makefile arm: stm32mp: Implement support for TZC 400 controller 2021-07-27 09:48:09 +02:00
psci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pwr_regulator.c arm: stm32mp: migrate trace to log macro 2021-01-13 09:52:58 +01:00
spl.c stm32mp1: spl: Configure TrustZone controller for OP-TEE 2021-07-27 09:48:11 +02:00
syscon.c stm32mp: syscon: manage clock when present in device tree 2021-07-16 09:28:46 +02:00
tzc400.c arm: stm32mp: Implement support for TZC 400 controller 2021-07-27 09:48:09 +02:00