Merge "refactor(measured boot): remove weak definition of plat_get_measured_boot_data()" into integration

This commit is contained in:
Sandrine Bailleux 2021-07-01 11:13:41 +02:00 committed by TrustedFirmware Code Review
commit 8d148183a7
1 changed files with 0 additions and 24 deletions

View File

@ -80,30 +80,6 @@ static const event2_header_t locality_event_header = {
}
};
/* Platform's table with platform specific image IDs, names and PCRs */
static const image_data_t plat_images_data[] = {
{ BL2_IMAGE_ID, BL2_STRING, PCR_0 }, /* Reserved for BL2 */
{ INVALID_ID, NULL, (unsigned int)(-1) } /* Terminator */
};
static const measured_boot_data_t plat_measured_boot_data = {
plat_images_data,
NULL, /* platform_set_nt_fw_info */
NULL /* platform_set_tos_fw_info */
};
/*
* Function retuns pointer to platform's measured_boot_data_t structure
*
* Must be overridden in the platform code
*/
#pragma weak plat_get_measured_boot_data
const measured_boot_data_t *plat_get_measured_boot_data(void)
{
return &plat_measured_boot_data;
}
/*
* Add TCG_PCR_EVENT2 event
*