From d30d8989a0e9d11d878b03d0eeaf341025f60e1a Mon Sep 17 00:00:00 2001 From: Mikko Rapeli Date: Tue, 23 May 2023 15:14:43 +0300 Subject: linux-yocto: support tpm and tpm2 on all architectures arm, arm64 and other machines can also have tpm and tpm2 devices and the config snippets tpm.scc and tpm2.scc work there too. Signed-off-by: Mikko Rapeli Signed-off-by: Armin Kuster --- meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc b/meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc index 909c42d..7a27683 100644 --- a/meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc +++ b/meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc @@ -1,17 +1,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/linux-yocto:" -# Enable tpm in kernel -SRC_URI:append:x86 = " \ - ${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \ - ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \ - " - -SRC_URI:append:x86-64 = " \ +SRC_URI += " \ ${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \ ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \ - " - -SRC_URI += " \ ${@bb.utils.contains('MACHINE_FEATURES', 'tpm_i2c', 'file://tpm_i2c.scc', '', d)} \ ${@bb.utils.contains('MACHINE_FEATURES', 'vtpm', 'file://vtpm.scc', '', d)} \ " -- cgit v1.2.3-54-g00ecf