blob: 46620832988e4849c70c98e7e69fd97e35b3c890 [file] [log] [blame]
dp-arm4972ec52016-05-25 16:20:20 +01001/*
2 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
dp-arm4972ec52016-05-25 16:20:20 +01005 */
6
7#include <stddef.h>
8
9#include "firmware_image_package.h"
10#include "tbbr_config.h"
11
12/* The images used depends on the platform. */
13toc_entry_t toc_entries[] = {
dp-arm715ef422016-08-30 14:18:58 +010014 {
15 .name = "SCP Firmware Updater Configuration FWU SCP_BL2U",
16 .uuid = UUID_TRUSTED_UPDATE_FIRMWARE_SCP_BL2U,
dp-arm90d2f0e2016-11-14 15:54:32 +000017 .cmdline_name = "scp-fwu-cfg"
dp-arm715ef422016-08-30 14:18:58 +010018 },
19 {
20 .name = "AP Firmware Updater Configuration BL2U",
21 .uuid = UUID_TRUSTED_UPDATE_FIRMWARE_BL2U,
dp-arm90d2f0e2016-11-14 15:54:32 +000022 .cmdline_name = "ap-fwu-cfg"
dp-arm715ef422016-08-30 14:18:58 +010023 },
24 {
25 .name = "Firmware Updater NS_BL2U",
26 .uuid = UUID_TRUSTED_UPDATE_FIRMWARE_NS_BL2U,
dp-arm90d2f0e2016-11-14 15:54:32 +000027 .cmdline_name = "fwu"
dp-arm715ef422016-08-30 14:18:58 +010028 },
29 {
30 .name = "Non-Trusted Firmware Updater certificate",
31 .uuid = UUID_TRUSTED_FWU_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +000032 .cmdline_name = "fwu-cert"
dp-arm715ef422016-08-30 14:18:58 +010033 },
34 {
35 .name = "Trusted Boot Firmware BL2",
36 .uuid = UUID_TRUSTED_BOOT_FIRMWARE_BL2,
dp-arm90d2f0e2016-11-14 15:54:32 +000037 .cmdline_name = "tb-fw"
dp-arm715ef422016-08-30 14:18:58 +010038 },
39 {
40 .name = "SCP Firmware SCP_BL2",
41 .uuid = UUID_SCP_FIRMWARE_SCP_BL2,
dp-arm90d2f0e2016-11-14 15:54:32 +000042 .cmdline_name = "scp-fw"
dp-arm715ef422016-08-30 14:18:58 +010043 },
44 {
45 .name = "EL3 Runtime Firmware BL31",
46 .uuid = UUID_EL3_RUNTIME_FIRMWARE_BL31,
dp-arm90d2f0e2016-11-14 15:54:32 +000047 .cmdline_name = "soc-fw"
dp-arm715ef422016-08-30 14:18:58 +010048 },
49 {
50 .name = "Secure Payload BL32 (Trusted OS)",
51 .uuid = UUID_SECURE_PAYLOAD_BL32,
dp-arm90d2f0e2016-11-14 15:54:32 +000052 .cmdline_name = "tos-fw"
dp-arm715ef422016-08-30 14:18:58 +010053 },
54 {
55 .name = "Non-Trusted Firmware BL33",
56 .uuid = UUID_NON_TRUSTED_FIRMWARE_BL33,
dp-arm90d2f0e2016-11-14 15:54:32 +000057 .cmdline_name = "nt-fw"
dp-arm715ef422016-08-30 14:18:58 +010058 },
dp-arm90d2f0e2016-11-14 15:54:32 +000059
dp-arm4972ec52016-05-25 16:20:20 +010060 /* Key Certificates */
dp-arm715ef422016-08-30 14:18:58 +010061 {
62 .name = "Root Of Trust key certificate",
63 .uuid = UUID_ROT_KEY_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +000064 .cmdline_name = "rot-cert"
dp-arm715ef422016-08-30 14:18:58 +010065 },
66 {
67 .name = "Trusted key certificate",
68 .uuid = UUID_TRUSTED_KEY_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +000069 .cmdline_name = "trusted-key-cert"
dp-arm715ef422016-08-30 14:18:58 +010070 },
71 {
72 .name = "SCP Firmware key certificate",
73 .uuid = UUID_SCP_FW_KEY_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +000074 .cmdline_name = "scp-fw-key-cert"
dp-arm715ef422016-08-30 14:18:58 +010075 },
76 {
77 .name = "SoC Firmware key certificate",
78 .uuid = UUID_SOC_FW_KEY_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +000079 .cmdline_name = "soc-fw-key-cert"
dp-arm715ef422016-08-30 14:18:58 +010080 },
81 {
82 .name = "Trusted OS Firmware key certificate",
83 .uuid = UUID_TRUSTED_OS_FW_KEY_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +000084 .cmdline_name = "tos-fw-key-cert"
dp-arm715ef422016-08-30 14:18:58 +010085 },
86 {
87 .name = "Non-Trusted Firmware key certificate",
88 .uuid = UUID_NON_TRUSTED_FW_KEY_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +000089 .cmdline_name = "nt-fw-key-cert"
dp-arm715ef422016-08-30 14:18:58 +010090 },
dp-arm90d2f0e2016-11-14 15:54:32 +000091
dp-arm4972ec52016-05-25 16:20:20 +010092 /* Content certificates */
dp-arm715ef422016-08-30 14:18:58 +010093 {
94 .name = "Trusted Boot Firmware BL2 certificate",
95 .uuid = UUID_TRUSTED_BOOT_FW_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +000096 .cmdline_name = "tb-fw-cert"
dp-arm715ef422016-08-30 14:18:58 +010097 },
98 {
99 .name = "SCP Firmware content certificate",
100 .uuid = UUID_SCP_FW_CONTENT_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +0000101 .cmdline_name = "scp-fw-cert"
dp-arm715ef422016-08-30 14:18:58 +0100102 },
103 {
104 .name = "SoC Firmware content certificate",
105 .uuid = UUID_SOC_FW_CONTENT_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +0000106 .cmdline_name = "soc-fw-cert"
dp-arm715ef422016-08-30 14:18:58 +0100107 },
108 {
109 .name = "Trusted OS Firmware content certificate",
110 .uuid = UUID_TRUSTED_OS_FW_CONTENT_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +0000111 .cmdline_name = "tos-fw-cert"
dp-arm715ef422016-08-30 14:18:58 +0100112 },
113 {
114 .name = "Non-Trusted Firmware content certificate",
115 .uuid = UUID_NON_TRUSTED_FW_CONTENT_CERT,
dp-arm90d2f0e2016-11-14 15:54:32 +0000116 .cmdline_name = "nt-fw-cert"
dp-arm715ef422016-08-30 14:18:58 +0100117 },
118 {
119 .name = NULL,
120 .uuid = { 0 },
121 .cmdline_name = NULL,
dp-arm715ef422016-08-30 14:18:58 +0100122 }
dp-arm4972ec52016-05-25 16:20:20 +0100123};