mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-20 18:23:08 +00:00
8d7f5edd86
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>
22 lines
478 B
Makefile
22 lines
478 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
|
|
#
|
|
|
|
obj-y += cpu.o
|
|
obj-y += dram_init.o
|
|
obj-y += syscon.o
|
|
obj-y += bsec.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl.o
|
|
obj-y += tzc400.o
|
|
else
|
|
obj-y += cmd_stm32prog/
|
|
obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o
|
|
obj-$(CONFIG_ARMV7_PSCI) += psci.o
|
|
obj-$(CONFIG_TFABOOT) += boot_params.o
|
|
endif
|
|
|
|
obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
|
|
obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o
|