diff options
author | Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> | 2021-04-21 17:20:43 +0100 |
---|---|---|
committer | Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> | 2021-07-22 18:01:39 +0100 |
commit | bf3ce9937182e5d8d91e058baabb8213acedacdb (patch) | |
tree | 751d6140edd4e2768e6aedb66e0529583f106ec4 /plat/arm/board/common | |
parent | 52eb322919017b4230fb0f9580020375db56466b (diff) | |
download | arm-trusted-firmware-bf3ce9937182e5d8d91e058baabb8213acedacdb.tar.gz |
feat: adding the diphda platform
This commit enables trusted-firmware-a with Trusted Board Boot support
for the Diphda 64-bit platform.
Diphda uses a FIP image located in the flash. The FIP contains the
following components:
- BL2
- BL31
- BL32
- BL32 SPMC manifest
- BL33
- The TBB certificates
The board boot relies on CoT (chain of trust). The trusted-firmware-a
BL2 is extracted from the FIP and verified by the Secure Enclave
processor. BL2 verification relies on the signature area at the
beginning of the BL2 image. This area is needed by the SecureEnclave
bootloader.
Then, the application processor is released from reset and starts by
executing BL2.
BL2 performs the actions described in the trusted-firmware-a TBB design
document.
Signed-off-by: Rui Miguel Silva <rui.silva@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Change-Id: Iddb1cb9c2a0324a9635e23821c210ac81dfc305d
Diffstat (limited to 'plat/arm/board/common')
-rw-r--r-- | plat/arm/board/common/rotpk/arm_dev_rotpk.S | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plat/arm/board/common/rotpk/arm_dev_rotpk.S b/plat/arm/board/common/rotpk/arm_dev_rotpk.S index 80f2192e4..38f91fe5f 100644 --- a/plat/arm/board/common/rotpk/arm_dev_rotpk.S +++ b/plat/arm/board/common/rotpk/arm_dev_rotpk.S @@ -1,10 +1,17 @@ /* - * Copyright (c) 2020, ARM Limited. All rights reserved. + * Copyright (c) 2021, ARM Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ +/* diphda platform provides custom values for the macros defined in + * arm_def.h , so only platform_def.h needs to be included + */ +#if !defined(TARGET_PLATFORM_FVP) && !defined(TARGET_PLATFORM_FPGA) #include "plat/arm/common/arm_def.h" +#else +#include <platform_def.h> +#endif .global arm_rotpk_header .global arm_rotpk_header_end |