diff options
author | Jared Baur <jaredbaur@fastmail.com> | 2023-04-23 19:30:36 -0700 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-05-08 20:29:43 +0000 |
commit | 8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d (patch) | |
tree | 7dc963451fa4ea6eb91c57fcfb8203b96bad83cb /pkgs/os-specific/linux/kernel/common-config.nix | |
parent | cc8e3e9c1f52395c996a6ec1924b21ec17bff86a (diff) | |
download | nixpkgs-8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d.tar nixpkgs-8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d.tar.gz nixpkgs-8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d.tar.bz2 nixpkgs-8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d.tar.lz nixpkgs-8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d.tar.xz nixpkgs-8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d.tar.zst nixpkgs-8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d.zip |
linux: enable CR50 TPM found on chromebooks
Along with other ChromeOS related configs, this change enables TPM support for Chromebook/Chromebox devices.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index e6eff416a77..2083fe3e607 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -1024,6 +1024,8 @@ let CROS_EC_ISHTP = module; CROS_KBD_LED_BACKLIGHT = module; + + TCG_TIS_SPI_CR50 = whenAtLeast "5.5" yes; } // optionalAttrs (versionAtLeast version "5.4" && stdenv.hostPlatform.system == "x86_64-linux") { CHROMEOS_LAPTOP = module; CHROMEOS_PSTORE = module; |