From 8d4f643c66fcda5b7e427e5ae82a26bc7b74f77d Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Sun, 23 Apr 2023 19:30:36 -0700 Subject: [PATCH] linux: enable CR50 TPM found on chromebooks Along with other ChromeOS related configs, this change enables TPM support for Chromebook/Chromebox devices. --- pkgs/os-specific/linux/kernel/common-config.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index e6eff416a770..2083fe3e6071 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;