summaryrefslogtreecommitdiff
path: root/meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.cfg
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2021-12-13 18:13:02 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-12-22 16:18:27 +0300
commit8c3075a3a50ec16c8c9fb93a1785a5abb13386c5 (patch)
tree5ee9ef27e57d02aaf47e48735f9d008b9d253238 /meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.cfg
parent775dfa41360e48d926489c18553fb4997d4f7d37 (diff)
downloadopenbmc-8c3075a3a50ec16c8c9fb93a1785a5abb13386c5.tar.xz
meta-aspeed: Enable tpm2 kernel config
Append tpm2 in MACHINE_FEATURES to enable related kernel configs MACHINE_FEATURES:append = " tpm2" Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Ie6b50d81040de2863487cffc449193ec9462bf89
Diffstat (limited to 'meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.cfg')
-rw-r--r--meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.cfg b/meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.cfg
new file mode 100644
index 000000000..9479a7b41
--- /dev/null
+++ b/meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.cfg
@@ -0,0 +1,6 @@
+CONFIG_HW_RANDOM_TPM=y
+CONFIG_TCG_TPM=y
+CONFIG_TCG_TIS_CORE=y
+CONFIG_TCG_TIS=y
+CONFIG_TCG_TIS_SPI=y
+CONFIG_SECURITYFS=y