diff options
author | Potin Lai <potin.lai@quantatw.com> | 2021-12-13 18:13:02 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-12-22 16:18:27 +0300 |
commit | 8c3075a3a50ec16c8c9fb93a1785a5abb13386c5 (patch) | |
tree | 5ee9ef27e57d02aaf47e48735f9d008b9d253238 /meta-aspeed/recipes-kernel/linux/linux-aspeed | |
parent | 775dfa41360e48d926489c18553fb4997d4f7d37 (diff) | |
download | openbmc-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')
-rw-r--r-- | meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.cfg | 6 | ||||
-rw-r--r-- | meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.scc | 3 |
2 files changed, 9 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 diff --git a/meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.scc b/meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.scc new file mode 100644 index 000000000..088148fec --- /dev/null +++ b/meta-aspeed/recipes-kernel/linux/linux-aspeed/tpm/tpm2.scc @@ -0,0 +1,3 @@ +define KFEATURE_DESCRIPTION "Enable TPM 2.0" + +kconf hardware tpm2.cfg |