From c82b4dba25c7dd049e524f27e78719070807cab3 Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Tue, 30 May 2023 19:56:16 +0200 Subject: [PATCH] linux-compulab: Add TPM support When TPM support enabled the following devices are available: /dev/tpm0 /dev/tpmrm0 Fixes: #312 Changelog-entry: Add TPM kernel module support Signed-off-by: Alex Gonzalez --- .../linux/linux-compulab_5.10.%.bbappend | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/layers/meta-balena-imx8mm/recipes-kernel/linux/linux-compulab_5.10.%.bbappend b/layers/meta-balena-imx8mm/recipes-kernel/linux/linux-compulab_5.10.%.bbappend index a4b12ad6..a5d209dc 100644 --- a/layers/meta-balena-imx8mm/recipes-kernel/linux/linux-compulab_5.10.%.bbappend +++ b/layers/meta-balena-imx8mm/recipes-kernel/linux/linux-compulab_5.10.%.bbappend @@ -19,4 +19,16 @@ BALENA_CONFIGS[ath10k] = " \ CONFIG_ATH10K_PCI=m \ " +BALENA_CONFIGS_append = " tpm" +BALENA_CONFIGS_DEPS[tpm] = " \ + CONFIG_HW_RANDOM_TPM=y \ + CONFIG_SECURITYFS=y \ +" +BALENA_CONFIGS[tpm] = " \ + CONFIG_TCG_TPM=m \ + CONFIG_TCG_TIS_CORE=m \ + CONFIG_TCG_TIS=m \ + CONFIG_TCG_CRB=m \ +" + SCMVERSION="n"