summaryrefslogtreecommitdiff
path: root/drivers/io
diff options
context:
space:
mode:
authorJuan Castillo <juan.castillo@arm.com>2015-01-07 13:49:59 +0000
committerDan Handley <dan.handley@arm.com>2015-01-28 18:27:54 +0000
commit01df3c14677db0eab68f088f2721542f88ea4004 (patch)
tree0969d3733cd4269c516bfab5a6f0399074086cfe /drivers/io
parent40febc3ac81c9255bd64848cef0a37c0376740fa (diff)
TBB: authenticate BL2 image and certificate
This patch adds support to authenticate the BL2 content certificate and image using the authentication module in BL1. The FIP driver has been extended to include the BL2 certificate UUID. FVP and Juno ports include the BL2 certificate FIP file definition. Change-Id: I32680e9bd123c8db4a4193c14448c9b32b0e9325
Diffstat (limited to 'drivers/io')
-rw-r--r--drivers/io/io_fip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/io/io_fip.c b/drivers/io/io_fip.c
index 4262a9de..7d205907 100644
--- a/drivers/io/io_fip.c
+++ b/drivers/io/io_fip.c
@@ -76,6 +76,10 @@ static const plat_fip_name_uuid_t name_uuid[] = {
{BL32_IMAGE_NAME, UUID_SECURE_PAYLOAD_BL32},
#endif /* BL32_IMAGE_NAME */
{BL33_IMAGE_NAME, UUID_NON_TRUSTED_FIRMWARE_BL33},
+#if TRUSTED_BOARD_BOOT
+ /* Certificates */
+ {BL2_CERT_NAME, UUID_TRUSTED_BOOT_FIRMWARE_BL2_CERT},
+#endif /* TRUSTED_BOARD_BOOT */
};
static const uuid_t uuid_null = {0};