* [meta-tpm][PATCH 1/2] linux-yocto: support tpm and tpm2 on all architectures
@ 2023-05-23 12:14 mikko.rapeli
2023-05-23 12:14 ` [meta-tpm][PATCH 2/2] linux-yocto: remove tpm_x86.cfg mikko.rapeli
0 siblings, 1 reply; 2+ messages in thread
From: mikko.rapeli @ 2023-05-23 12:14 UTC (permalink / raw)
To: yocto; +Cc: Mikko Rapeli
From: Mikko Rapeli <mikko.rapeli@linaro.org>
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 <mikko.rapeli@linaro.org>
---
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)} \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [meta-tpm][PATCH 2/2] linux-yocto: remove tpm_x86.cfg
2023-05-23 12:14 [meta-tpm][PATCH 1/2] linux-yocto: support tpm and tpm2 on all architectures mikko.rapeli
@ 2023-05-23 12:14 ` mikko.rapeli
0 siblings, 0 replies; 2+ messages in thread
From: mikko.rapeli @ 2023-05-23 12:14 UTC (permalink / raw)
To: yocto; +Cc: Mikko Rapeli
From: Mikko Rapeli <mikko.rapeli@linaro.org>
It's not used by linux-yocto bbappends in any configuration.
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
meta-tpm/recipes-kernel/linux/linux-yocto/tpm_x86.cfg | 4 ----
1 file changed, 4 deletions(-)
delete mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm_x86.cfg
diff --git a/meta-tpm/recipes-kernel/linux/linux-yocto/tpm_x86.cfg b/meta-tpm/recipes-kernel/linux/linux-yocto/tpm_x86.cfg
deleted file mode 100644
index 8be331a..0000000
--- a/meta-tpm/recipes-kernel/linux/linux-yocto/tpm_x86.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-CONFIG_TCG_NSC=m
-CONFIG_TCG_ATMEL=m
-CONFIG_TCG_INFINEON=m
-CONFIG_TCG_TIS_ST33ZP24=m
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-23 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23 12:14 [meta-tpm][PATCH 1/2] linux-yocto: support tpm and tpm2 on all architectures mikko.rapeli
2023-05-23 12:14 ` [meta-tpm][PATCH 2/2] linux-yocto: remove tpm_x86.cfg mikko.rapeli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).