arm-trusted-firmware/tools/fiptool/plat_fiptool/nxp/plat_def_uuid_config.c
Raef Coles 034a2e3ef8 refactor(fiptool): move plat_fiptool.mk to tools
Move all plat_fiptool.mks into tools, change the logic to recursively
check for tools/fiptool/plat_fiptool/<plat_path>/plat_fiptool.mk

I.e. for a platform that has the path "plat/arm/board/tc/platform.mk",
the makefile will now load the first existing file from:
 - tools/fiptool/plat_fiptool/arm/board/tc/plat_fiptool.mk
 - tools/fiptool/plat_fiptool/arm/board/plat_fiptool.mk
 - tools/fiptool/plat_fiptool/arm/plat_fiptool.mk

This enables fiptool to support multiple platforms, or a specific one.

Remove file-copying previously being used to handle old default path.
Remove custom file cleaning in plat_fiptool.mk.

Change-Id: I95245bcf7143b329481d4394ab64f29bfe9de5ab
Signed-off-by: Raef Coles <raef.coles@arm.com>
2023-02-06 09:36:39 +00:00

90 lines
1.8 KiB
C

/*
* Copyright 2021 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stddef.h>
#include <firmware_image_package.h>
#include "tbbr_config.h"
toc_entry_t plat_def_toc_entries[] = {
/* DDR PHY firmwares */
{
.name = "DDR UDIMM PHY IMEM 1d FW",
.uuid = UUID_DDR_IMEM_UDIMM_1D,
.cmdline_name = "ddr-immem-udimm-1d"
},
{
.name = "DDR UDIMM PHY IMEM 2d FW",
.uuid = UUID_DDR_IMEM_UDIMM_2D,
.cmdline_name = "ddr-immem-udimm-2d"
},
{
.name = "DDR UDIMM PHY DMEM 1d FW",
.uuid = UUID_DDR_DMEM_UDIMM_1D,
.cmdline_name = "ddr-dmmem-udimm-1d"
},
{
.name = "DDR UDIMM PHY DMEM 2d FW",
.uuid = UUID_DDR_DMEM_UDIMM_2D,
.cmdline_name = "ddr-dmmem-udimm-2d"
},
{
.name = "DDR RDIMM PHY IMEM 1d FW",
.uuid = UUID_DDR_IMEM_RDIMM_1D,
.cmdline_name = "ddr-immem-rdimm-1d"
},
{
.name = "DDR RDIMM PHY IMEM 2d FW",
.uuid = UUID_DDR_IMEM_RDIMM_2D,
.cmdline_name = "ddr-immem-rdimm-2d"
},
{
.name = "DDR RDIMM PHY DMEM 1d FW",
.uuid = UUID_DDR_DMEM_RDIMM_1D,
.cmdline_name = "ddr-dmmem-rdimm-1d"
},
{
.name = "DDR RDIMM PHY DMEM 2d FW",
.uuid = UUID_DDR_DMEM_RDIMM_2D,
.cmdline_name = "ddr-dmmem-rdimm-2d"
},
{
.name = "FUSE PROV FW",
.uuid = UUID_FUSE_PROV,
.cmdline_name = "fuse-prov"
},
{
.name = "FUSE UPGRADE FW",
.uuid = UUID_FUSE_UP,
.cmdline_name = "fuse-upgrade"
},
/* Key Certificates */
{
.name = "DDR Firmware key certificate",
.uuid = UUID_DDR_FW_KEY_CERT,
.cmdline_name = "ddr-fw-key-cert"
},
/* Content certificates */
{
.name = "DDR UDIMM Firmware content certificate",
.uuid = UUID_DDR_UDIMM_FW_CONTENT_CERT,
.cmdline_name = "ddr-udimm-fw-cert"
},
{
.name = "DDR RDIMM Firmware content certificate",
.uuid = UUID_DDR_RDIMM_FW_CONTENT_CERT,
.cmdline_name = "ddr-rdimm-fw-cert"
},
{
.name = NULL,
.uuid = { {0} },
.cmdline_name = NULL,
}
};