u-boot/arch/arm/mach-stm32mp
Alexandru Gagniuc 8d7f5edd86 arm: stm32mp: Implement support for TZC 400 controller
The purpose of this change is to allow configuring TrustZone (TZC)
memory permissions. For example, OP-TEE expects TZC regions to be
configured in a very particular way. The API presented here is
intended to allow exactly that.

UCLASS support is not implemented, because it would not be too useful.
Changing TZC permissions needs to be done with care, so as not to cut
off access to memory we are currently using. One place where we can
use this is at the end of SPL, right before jumping to OP-TEE.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-07-27 09:48:09 +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 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05: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