From: Quirin Gylstorff <quirin.gylstorff@...>
This can be drop after the linux-cip configuration was updated.
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@...>
---
recipes-kernel/linux/files/tpm.cfg | 13 +++++++++++++
recipes-kernel/linux/linux-cip-common.inc | 2 ++
2 files changed, 15 insertions(+)
create mode 100644 recipes-kernel/linux/files/tpm.cfg
diff --git a/recipes-kernel/linux/files/tpm.cfg b/recipes-kernel/linux/files/tpm.cfg
new file mode 100644
index 0000000..22268ae
--- /dev/null
+++ b/recipes-kernel/linux/files/tpm.cfg
@@ -0,0 +1,13 @@
+CONFIG_AS_SHA256_NI=y
+CONFIG_CRYPTO_HMAC=y
+CONFIG_CRYPTO_SHA256_SSSE3=y
+CONFIG_CRYPTO_SHA256=y
+CONFIG_CRYPTO_DRBG_HMAC=y
+CONFIG_CRYPTO_LIB_SHA256=y
+CONFIG_CRYPTO_XTS=y
+CONFIG_SECURITYFS=y
+CONFIG_TCG_TPM=m
+CONFIG_TCG_TIS_CORE=m
+CONFIG_TCG_TIS=m
+CONFIG_TCG_TIS_SPI=m
+CONFIG_TCG_CRB=m
diff --git a/recipes-kernel/linux/linux-cip-common.inc b/recipes-kernel/linux/linux-cip-common.inc
index 9b6cd3b..e4292a6 100644
--- a/recipes-kernel/linux/linux-cip-common.inc
+++ b/recipes-kernel/linux/linux-cip-common.inc
@@ -23,6 +23,8 @@ SRC_URI_append = " ${@ "git://gitlab.com/cip-project/cip-kernel/cip-kernel-confi
if d.getVar('USE_CIP_KERNEL_CONFIG') == '1' else '' \
}"
+SRC_URI += "file://tpm.cfg"
+
SRCREV_cip-kernel-config ?= "ce52837418aea714e780e0cbc8afb9515c12cc1b"
S = "${WORKDIR}/linux-cip-${PV}"
--
2.39.0