mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-09-17 14:57:22 +03:00
Modprobe tpm modules
This commit is contained in:
parent
bc5864d6ea
commit
47bcc9acff
@ -3,15 +3,17 @@
|
||||
{
|
||||
mobile.boot.stage-1 = {
|
||||
kernel.modular = true;
|
||||
kernel.modules = [
|
||||
"tpm_tis_core"
|
||||
"tpm_tis_spi"
|
||||
"tpm_tis_i2c_cr50"
|
||||
];
|
||||
kernel.additionalModules = [
|
||||
# Breaks udev if builtin or loaded before udev runs.
|
||||
# Using `additionalModules` means udev will load them as needed.
|
||||
"sbs-battery"
|
||||
"sbs-charger"
|
||||
"sbs-manager"
|
||||
|
||||
"tpm_tis_core"
|
||||
"tpm_tis_spi"
|
||||
"sbs-manager"
|
||||
];
|
||||
};
|
||||
|
||||
@ -28,7 +30,7 @@
|
||||
TCG_TIS_CORE = module;
|
||||
TCG_TIS_SPI = module;
|
||||
TCG_TIS_SPI_CR50 = yes;
|
||||
TCG_TIS_I2C_CR50 = yes;
|
||||
TCG_TIS_I2C_CR50 = module;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user