diff options
author | Etienne Carriere <etienne.carriere@linaro.org> | 2018-02-05 10:42:42 +0100 |
---|---|---|
committer | Etienne Carriere <etienne.carriere@linaro.org> | 2018-02-05 10:42:42 +0100 |
commit | 10c669585456bc9122bb86c1710e80599f5eae89 (patch) | |
tree | b93f6173cdaa7fb9e16b442701fc0efe748d8452 /bl32 | |
parent | 3fe81dcf5db35bd6afe8dd9f6b9ebdd06e9f1369 (diff) |
aarch32: optee: define the OP-TEE secure payload
AArch32 only platforms can boot the OP-TEE secure firmware as
a BL32 secure payload. Such configuration can be defined through
AARCH32_SP=optee.
The source files can rely on AARCH32_SP_OPTEE to condition
OP-TEE boot specific instruction sequences.
OP-TEE does not expect ARM Trusted Firmware formatted structure
as boot argument. Load sequence is expected to have already loaded
to OP-TEE boot arguments into the bl32 entrypoint info structure.
Last, AArch32 platform can only boot AArch32 OP-TEE images.
Change-Id: Ic28eec5004315fc9111051add6bb1a1d607fc815
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Diffstat (limited to 'bl32')
-rw-r--r-- | bl32/optee/optee.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bl32/optee/optee.mk b/bl32/optee/optee.mk new file mode 100644 index 00000000..462020f5 --- /dev/null +++ b/bl32/optee/optee.mk @@ -0,0 +1,15 @@ +# +# Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# +# This makefile only aims at complying with ARM Trusted Firmware build process so +# that "optee" is a valid ARM Trusted Firmware AArch32 Secure Playload identifier. + +ifneq ($(ARCH),aarch32) +$(error This directory targets AArch32 support) +endif + +$(eval $(call add_define,AARCH32_SP_OPTEE)) + +$(info ARM Trusted Firmware built for OP-TEE payload support) |