xref: /rk3399_ARM-atf/plat/arm/board/fvp/fvp_drtm_measurement.c (revision b67e984664a8644d6cfd1812cabaa02cf24f09c9)
1 /*
2  * Copyright (c) 2022-2025, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <stdbool.h>
8 #include <stddef.h>
9 #include <stdint.h>
10 
11 #include <plat/common/platform.h>
12 #include <platform_def.h>
13 
14 #include <event_measure.h>
15 #include <event_print.h>
16 
17 /* DRTM TPM Features */
18 static const plat_drtm_tpm_features_t tpm_features = {
19 	/* No TPM-based hashing supported. */
20 	.tpm_based_hash_support = false,
21 
22 	/* Set to decided algorithm by Event Log driver */
23 	.firmware_hash_algorithm = TPM_ALG_ID
24 
25 };
26 
27 const plat_drtm_tpm_features_t *plat_drtm_get_tpm_features(void)
28 {
29 	return &tpm_features;
30 }
31