diff options
| author | Ruchika Gupta <[email protected]> | 2021-11-29 13:09:44 +0530 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2021-11-30 09:23:49 +0100 |
| commit | 34287efdaf6ed186a64445f65227b5407a1dcd63 (patch) | |
| tree | 4970ebd5afe25dc716afba4a2a36a6e4b008ff49 /include | |
| parent | 3b7bf8a9e48f0951e4060f832bba409fd406273e (diff) | |
efi_loader: Add check for event log passed from firmware
Platforms may have support to measure their initial firmware components
and pass the event log to u-boot. The event log address can be passed
in property tpm_event_log_addr and tpm_event_log_size of the tpm node.
Platforms may choose their own specific mechanism to do so. A weak
function is added to check if even log has been passed to u-boot
from earlier firmware components. If available, the eventlog is parsed
to check for its correctness and further event logs are appended to the
passed log.
Signed-off-by: Ruchika Gupta <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Tested-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index d52e399841b..67c40ca57a7 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -988,4 +988,6 @@ efi_status_t efi_esrt_register(void); */ efi_status_t efi_esrt_populate(void); efi_status_t efi_load_capsule_drivers(void); + +efi_status_t platform_get_eventlog(struct udevice *dev, u64 *addr, u32 *sz); #endif /* _EFI_LOADER_H */ |
