linux: enable CR50 TPM found on chromebooks

Along with other ChromeOS related configs, this change
enables TPM support for Chromebook/Chromebox devices.
This commit is contained in:
Jared Baur 2023-04-23 19:30:36 -07:00 committed by Alyssa Ross
parent cc8e3e9c1f
commit 8d4f643c66

View file

@ -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;