diff --git a/plat/arm/board/fvp/fvp_bl1_measured_boot.c b/plat/arm/board/fvp/fvp_bl1_measured_boot.c index 477ae2776..f14dbffa4 100644 --- a/plat/arm/board/fvp/fvp_bl1_measured_boot.c +++ b/plat/arm/board/fvp/fvp_bl1_measured_boot.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023, Arm Limited. All rights reserved. + * Copyright (c) 2021-2024, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -7,6 +7,7 @@ #include #include +#include #include #include @@ -15,9 +16,9 @@ static uint8_t event_log[PLAT_ARM_EVENT_LOG_MAX_SIZE]; /* FVP table with platform specific image IDs, names and PCRs */ const event_log_metadata_t fvp_event_log_metadata[] = { - { FW_CONFIG_ID, EVLOG_FW_CONFIG_STRING, PCR_0 }, - { TB_FW_CONFIG_ID, EVLOG_TB_FW_CONFIG_STRING, PCR_0 }, - { BL2_IMAGE_ID, EVLOG_BL2_STRING, PCR_0 }, + { FW_CONFIG_ID, MBOOT_FW_CONFIG_STRING, PCR_0 }, + { TB_FW_CONFIG_ID, MBOOT_TB_FW_CONFIG_STRING, PCR_0 }, + { BL2_IMAGE_ID, MBOOT_BL2_IMAGE_STRING, PCR_0 }, { EVLOG_INVALID_ID, NULL, (unsigned int)(-1) } /* Terminator */ }; diff --git a/plat/arm/board/fvp/fvp_bl2_measured_boot.c b/plat/arm/board/fvp/fvp_bl2_measured_boot.c index 369bcb493..8bf7dad69 100644 --- a/plat/arm/board/fvp/fvp_bl2_measured_boot.c +++ b/plat/arm/board/fvp/fvp_bl2_measured_boot.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023, Arm Limited. All rights reserved. + * Copyright (c) 2021-2024, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -8,6 +8,7 @@ #include #include +#include #if defined(ARM_COT_cca) #include #else @@ -28,27 +29,27 @@ static uint64_t event_log_base; /* FVP table with platform specific image IDs, names and PCRs */ const event_log_metadata_t fvp_event_log_metadata[] = { - { BL31_IMAGE_ID, EVLOG_BL31_STRING, PCR_0 }, - { BL32_IMAGE_ID, EVLOG_BL32_STRING, PCR_0 }, - { BL32_EXTRA1_IMAGE_ID, EVLOG_BL32_EXTRA1_STRING, PCR_0 }, - { BL32_EXTRA2_IMAGE_ID, EVLOG_BL32_EXTRA2_STRING, PCR_0 }, - { BL33_IMAGE_ID, EVLOG_BL33_STRING, PCR_0 }, - { HW_CONFIG_ID, EVLOG_HW_CONFIG_STRING, PCR_0 }, - { NT_FW_CONFIG_ID, EVLOG_NT_FW_CONFIG_STRING, PCR_0 }, - { SCP_BL2_IMAGE_ID, EVLOG_SCP_BL2_STRING, PCR_0 }, - { SOC_FW_CONFIG_ID, EVLOG_SOC_FW_CONFIG_STRING, PCR_0 }, - { TOS_FW_CONFIG_ID, EVLOG_TOS_FW_CONFIG_STRING, PCR_0 }, - { RMM_IMAGE_ID, EVLOG_RMM_STRING, PCR_0}, + { BL31_IMAGE_ID, MBOOT_BL31_IMAGE_STRING, PCR_0 }, + { BL32_IMAGE_ID, MBOOT_BL32_IMAGE_STRING, PCR_0 }, + { BL32_EXTRA1_IMAGE_ID, MBOOT_BL32_EXTRA1_IMAGE_STRING, PCR_0 }, + { BL32_EXTRA2_IMAGE_ID, MBOOT_BL32_EXTRA2_IMAGE_STRING, PCR_0 }, + { BL33_IMAGE_ID, MBOOT_BL33_IMAGE_STRING, PCR_0 }, + { HW_CONFIG_ID, MBOOT_HW_CONFIG_STRING, PCR_0 }, + { NT_FW_CONFIG_ID, MBOOT_NT_FW_CONFIG_STRING, PCR_0 }, + { SCP_BL2_IMAGE_ID, MBOOT_SCP_BL2_IMAGE_STRING, PCR_0 }, + { SOC_FW_CONFIG_ID, MBOOT_SOC_FW_CONFIG_STRING, PCR_0 }, + { TOS_FW_CONFIG_ID, MBOOT_TOS_FW_CONFIG_STRING, PCR_0 }, + { RMM_IMAGE_ID, MBOOT_RMM_IMAGE_STRING, PCR_0}, #if defined(SPD_spmd) - { SP_PKG1_ID, EVLOG_SP1_STRING, PCR_0 }, - { SP_PKG2_ID, EVLOG_SP2_STRING, PCR_0 }, - { SP_PKG3_ID, EVLOG_SP3_STRING, PCR_0 }, - { SP_PKG4_ID, EVLOG_SP4_STRING, PCR_0 }, - { SP_PKG5_ID, EVLOG_SP5_STRING, PCR_0 }, - { SP_PKG6_ID, EVLOG_SP6_STRING, PCR_0 }, - { SP_PKG7_ID, EVLOG_SP7_STRING, PCR_0 }, - { SP_PKG8_ID, EVLOG_SP8_STRING, PCR_0 }, + { SP_PKG1_ID, MBOOT_SP1_STRING, PCR_0 }, + { SP_PKG2_ID, MBOOT_SP2_STRING, PCR_0 }, + { SP_PKG3_ID, MBOOT_SP3_STRING, PCR_0 }, + { SP_PKG4_ID, MBOOT_SP4_STRING, PCR_0 }, + { SP_PKG5_ID, MBOOT_SP5_STRING, PCR_0 }, + { SP_PKG6_ID, MBOOT_SP6_STRING, PCR_0 }, + { SP_PKG7_ID, MBOOT_SP7_STRING, PCR_0 }, + { SP_PKG8_ID, MBOOT_SP8_STRING, PCR_0 }, #endif { CRITICAL_DATA_ID, EVLOG_CRITICAL_DATA_STRING, PCR_1 },