diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-11-02 13:51:10 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2021-01-19 19:57:15 +0300 |
commit | 3820749ddcee694abfd5ae6cabc18aaab11eab34 (patch) | |
tree | f4412915f8629640728c22a76672e2245866fd3e /drivers/firmware | |
parent | cdec91c034a2c99331b62a5f417bf7527fa6d490 (diff) | |
download | linux-3820749ddcee694abfd5ae6cabc18aaab11eab34.tar.xz |
efi/libstub: move TPM related prototypes into efistub.h
Move TPM related definitions that are only used in the EFI stub into
efistub.h, which is a local header.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/efi/libstub/efistub.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/firmware/efi/libstub/efistub.h b/drivers/firmware/efi/libstub/efistub.h index 2b7438ba1fbc..cde0a2ef507d 100644 --- a/drivers/firmware/efi/libstub/efistub.h +++ b/drivers/firmware/efi/libstub/efistub.h @@ -849,4 +849,13 @@ void efi_handle_post_ebs_state(void); enum efi_secureboot_mode efi_get_secureboot(void); +#ifdef CONFIG_RESET_ATTACK_MITIGATION +void efi_enable_reset_attack_mitigation(void); +#else +static inline void +efi_enable_reset_attack_mitigation(void) { } +#endif + +void efi_retrieve_tpm2_eventlog(void); + #endif |