diff options
| author | Tony Luck <tony.luck@intel.com> | 2024-06-05 01:28:42 +0300 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko@kernel.org> | 2024-06-05 04:55:04 +0300 |
| commit | f071d02ecad4cfbf3ab41807c90bd1fef1cbfd3f (patch) | |
| tree | 2904e7b7aa4ed6cc8ff3eaddc88884c745deb648 /drivers/char/tpm/tpm_tis_core.h | |
| parent | 0ea00e249ca992adee54dc71a526ee70ef109e40 (diff) | |
| download | linux-f071d02ecad4cfbf3ab41807c90bd1fef1cbfd3f.tar.gz linux-f071d02ecad4cfbf3ab41807c90bd1fef1cbfd3f.tar.bz2 linux-f071d02ecad4cfbf3ab41807c90bd1fef1cbfd3f.zip | |
tpm: Switch to new Intel CPU model defines
New CPU #defines encode vendor and family as well as model.
Link: https://lore.kernel.org/all/20240520224620.9480-4-tony.luck@intel.com/
Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char/tpm/tpm_tis_core.h')
| -rw-r--r-- | drivers/char/tpm/tpm_tis_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_tis_core.h b/drivers/char/tpm/tpm_tis_core.h index 13e99cf65efe..690ad8e9b731 100644 --- a/drivers/char/tpm/tpm_tis_core.h +++ b/drivers/char/tpm/tpm_tis_core.h @@ -210,7 +210,7 @@ static inline int tpm_tis_verify_crc(struct tpm_tis_data *data, size_t len, static inline bool is_bsw(void) { #ifdef CONFIG_X86 - return ((boot_cpu_data.x86_model == INTEL_FAM6_ATOM_AIRMONT) ? 1 : 0); + return (boot_cpu_data.x86_vfm == INTEL_ATOM_AIRMONT) ? 1 : 0; #else return false; #endif |
