u-boot: enable TPM support via "tpm2" in MACHINE_FEATURES

"tpm2" is used elsewhere in distro and machine featues to
enable TPM device support.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Mikko Rapeli authored and Armin Kuster committed 2024-12-27 11:28:23 -05:00
1 parent 3555941add
commit b22814dc2a
1 file changed
+1 -1
@@ -1,3 +1,3 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "${@bb.utils.contains("MACHINE_FEATURES", "measured-boot", "file://measured-boot.cfg", "", d)}"
SRC_URI += "${@bb.utils.contains("MACHINE_FEATURES", "tpm2", "file://measured-boot.cfg", "", d)}"