1 /*
2  * Copyright 2021 NXP
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <stddef.h>
8 
9 #include <firmware_image_package.h>
10 
11 #include "tbbr_config.h"
12 
13 toc_entry_t plat_def_toc_entries[] = {
14 	/* DDR PHY firmwares */
15 	{
16 		.name = "DDR UDIMM PHY IMEM 1d FW",
17 		.uuid = UUID_DDR_IMEM_UDIMM_1D,
18 		.cmdline_name = "ddr-immem-udimm-1d"
19 	},
20 	{
21 		.name = "DDR UDIMM PHY IMEM 2d FW",
22 		.uuid = UUID_DDR_IMEM_UDIMM_2D,
23 		.cmdline_name = "ddr-immem-udimm-2d"
24 	},
25 	{
26 		.name = "DDR UDIMM PHY DMEM 1d FW",
27 		.uuid = UUID_DDR_DMEM_UDIMM_1D,
28 		.cmdline_name = "ddr-dmmem-udimm-1d"
29 	},
30 	{
31 		.name = "DDR UDIMM PHY DMEM 2d FW",
32 		.uuid = UUID_DDR_DMEM_UDIMM_2D,
33 		.cmdline_name = "ddr-dmmem-udimm-2d"
34 	},
35 	{
36 		.name = "DDR RDIMM PHY IMEM 1d FW",
37 		.uuid = UUID_DDR_IMEM_RDIMM_1D,
38 		.cmdline_name = "ddr-immem-rdimm-1d"
39 	},
40 	{
41 		.name = "DDR RDIMM PHY IMEM 2d FW",
42 		.uuid = UUID_DDR_IMEM_RDIMM_2D,
43 		.cmdline_name = "ddr-immem-rdimm-2d"
44 	},
45 	{
46 		.name = "DDR RDIMM PHY DMEM 1d FW",
47 		.uuid = UUID_DDR_DMEM_RDIMM_1D,
48 		.cmdline_name = "ddr-dmmem-rdimm-1d"
49 	},
50 	{
51 		.name = "DDR RDIMM PHY DMEM 2d FW",
52 		.uuid = UUID_DDR_DMEM_RDIMM_2D,
53 		.cmdline_name = "ddr-dmmem-rdimm-2d"
54 	},
55 	{
56 		.name = "FUSE PROV FW",
57 		.uuid = UUID_FUSE_PROV,
58 		.cmdline_name = "fuse-prov"
59 	},
60 	{
61 		.name = "FUSE UPGRADE FW",
62 		.uuid = UUID_FUSE_UP,
63 		.cmdline_name = "fuse-upgrade"
64 	},
65 
66 	/* Key Certificates */
67 	{
68 		.name = "DDR Firmware key certificate",
69 		.uuid = UUID_DDR_FW_KEY_CERT,
70 		.cmdline_name = "ddr-fw-key-cert"
71 	},
72 
73 	/* Content certificates */
74 	{
75 		.name = "DDR UDIMM Firmware content certificate",
76 		.uuid = UUID_DDR_UDIMM_FW_CONTENT_CERT,
77 		.cmdline_name = "ddr-udimm-fw-cert"
78 	},
79 	{
80 		.name = "DDR RDIMM Firmware content certificate",
81 		.uuid = UUID_DDR_RDIMM_FW_CONTENT_CERT,
82 		.cmdline_name = "ddr-rdimm-fw-cert"
83 	},
84 
85 	{
86 		.name = NULL,
87 		.uuid = { {0} },
88 		.cmdline_name = NULL,
89 	}
90 };
91