mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

Updated the code to get and set the 'tpm_event_log_max_size' property in the event_log.dtsi. In this change, the maximum Event Log buffer size allocated by BL1 is passed to BL2, rather than both relying on the maximum Event Log buffer size macro. Change-Id: I7aa6256390872171e362b6f166f3f7335aa6e425 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
43 lines
1.3 KiB
ReStructuredText
43 lines
1.3 KiB
ReStructuredText
DTB binding for Event Log properties
|
|
====================================
|
|
|
|
This document describes the device tree format of Event Log properties.
|
|
These properties are not related to a specific platform and can be queried
|
|
from common code.
|
|
|
|
Dynamic configuration for Event Log
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Measured Boot driver expects a *tpm_event_log* node with the following field
|
|
in 'tb_fw_config', 'nt_fw_config' and 'tsp_fw_config' DTS files:
|
|
|
|
- compatible [mandatory]
|
|
- value type: <string>
|
|
- Must be the string "arm,tpm_event_log".
|
|
|
|
Then a list of properties representing Event Log configuration, which
|
|
can be used by Measured Boot driver. Each property is named according
|
|
to the information it contains:
|
|
|
|
- tpm_event_log_sm_addr [fvp_nt_fw_config.dts with OP-TEE]
|
|
- value type: <u64>
|
|
- Event Log base address in secure memory.
|
|
|
|
Note. Currently OP-TEE does not support reading DTBs from Secure memory
|
|
and this property should be removed when this feature is supported.
|
|
|
|
- tpm_event_log_addr [mandatory]
|
|
- value type: <u64>
|
|
- Event Log base address in non-secure memory.
|
|
|
|
- tpm_event_log_size [mandatory]
|
|
- value type: <u32>
|
|
- Event Log size.
|
|
|
|
- tpm_event_log_max_size [mandatory]
|
|
- value type: <u32>
|
|
- Event Log maximum size.
|
|
|
|
--------------
|
|
|
|
*Copyright (c) 2023, Arm Limited and Contributors. All rights reserved.*
|