event_log.rst 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. DTB binding for Event Log properties
  2. ====================================
  3. This document describes the device tree format of Event Log properties.
  4. These properties are not related to a specific platform and can be queried
  5. from common code.
  6. Dynamic configuration for Event Log
  7. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8. Measured Boot driver expects a *tpm_event_log* node with the following field
  9. in 'tb_fw_config', 'nt_fw_config' and 'tsp_fw_config' DTS files:
  10. - compatible [mandatory]
  11. - value type: <string>
  12. - Must be the string "arm,tpm_event_log".
  13. Then a list of properties representing Event Log configuration, which
  14. can be used by Measured Boot driver. Each property is named according
  15. to the information it contains:
  16. - tpm_event_log_sm_addr [fvp_nt_fw_config.dts with OP-TEE]
  17. - value type: <u64>
  18. - Event Log base address in secure memory.
  19. Note. Currently OP-TEE does not support reading DTBs from Secure memory
  20. and this property should be removed when this feature is supported.
  21. - tpm_event_log_addr [mandatory]
  22. - value type: <u64>
  23. - Event Log base address in non-secure memory.
  24. - tpm_event_log_size [mandatory]
  25. - value type: <u32>
  26. - Event Log size.
  27. - tpm_event_log_max_size [mandatory]
  28. - value type: <u32>
  29. - Event Log maximum size.
  30. --------------
  31. *Copyright (c) 2023, Arm Limited and Contributors. All rights reserved.*