diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -332,9 +332,8 @@ # random(4) device padlock_rng # VIA Padlock RNG device rdrand_rng # Intel Bull Mountain RNG -# Disabled for now since tpm(4) breaks suspend/resume. -#device tpm # Trusted Platform Module -options RANDOM_ENABLE_TPM # enable entropy from TPM 2.0 +device tpm # Trusted Platform Module +options RANDOM_ENABLE_TPM # enable entropy from TPM devices options RANDOM_ENABLE_KBD options RANDOM_ENABLE_MOUSE diff --git a/sys/amd64/conf/MINIMAL b/sys/amd64/conf/MINIMAL --- a/sys/amd64/conf/MINIMAL +++ b/sys/amd64/conf/MINIMAL @@ -141,9 +141,8 @@ # random(4) device padlock_rng # VIA Padlock RNG device rdrand_rng # Intel Bull Mountain RNG -# Disabled for now since tpm(4) breaks suspend/resume. -#device tpm # Trusted Platform Module -options RANDOM_ENABLE_TPM # enable entropy from TPM 2.0 +device tpm # Trusted Platform Module +options RANDOM_ENABLE_TPM # enable entropy from TPM devices options RANDOM_ENABLE_KBD options RANDOM_ENABLE_MOUSE diff --git a/sys/powerpc/conf/MPC85XX b/sys/powerpc/conf/MPC85XX --- a/sys/powerpc/conf/MPC85XX +++ b/sys/powerpc/conf/MPC85XX @@ -28,6 +28,7 @@ options DEVICE_POLLING #options DIAGNOSTIC options FDT +options RANDOM_ENABLE_TPM #makeoptions FDT_DTS_FILE=mpc8555cds.dts options FFS options GDB @@ -103,6 +104,7 @@ device sec device spibus device spigen +device tpm device tsec device tuntap device uart diff --git a/sys/powerpc/conf/QORIQ64 b/sys/powerpc/conf/QORIQ64 --- a/sys/powerpc/conf/QORIQ64 +++ b/sys/powerpc/conf/QORIQ64 @@ -31,6 +31,7 @@ options DEVICE_POLLING #options DIAGNOSTIC options FDT +options RANDOM_ENABLE_TPM #makeoptions FDT_DTS_FILE=mpc8555cds.dts options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support @@ -105,6 +106,7 @@ device sdhci device spibus device spigen +device tpm device tuntap device uart options USB_DEBUG # enable debug msgs