Messages in this thread | | | Subject | Re: [PATCH v6] tpm: Add Upgrade/Reduced mode support for TPM2 modules | From | Jarkko Sakkinen <> | Date | Thu, 30 Sep 2021 19:31:30 +0300 |
| |
On Thu, 2021-09-30 at 19:28 +0300, Jarkko Sakkinen wrote: > static inline bool tpm_is_firmware_upgrade(void) > { > return chip->flags & TPM_CHIP_FLAG_FIRMWARE_UPGRADE_MODE; > }
Ugh, here's refined and fixed version:
static inline bool tpm_in_firmware_mode(struct tpm_chip *chip) { return chip->flags & TPM_CHIP_FLAG_FIRMWARE_MODE; }
/Jarkko
| |