diff options
-rw-r--r-- | meta-tpm/recipes-bsp/u-boot/u-boot/measured-boot.cfg | 6 | ||||
-rw-r--r-- | meta-tpm/recipes-bsp/u-boot/u-boot_%.bbappend | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/meta-tpm/recipes-bsp/u-boot/u-boot/measured-boot.cfg b/meta-tpm/recipes-bsp/u-boot/u-boot/measured-boot.cfg new file mode 100644 index 0000000..76c51ea --- /dev/null +++ b/meta-tpm/recipes-bsp/u-boot/u-boot/measured-boot.cfg | |||
@@ -0,0 +1,6 @@ | |||
1 | CONFIG_TPM=y | ||
2 | CONFIG_TPM_RNG=y | ||
3 | CONFIG_CMD_TPM=y | ||
4 | CONFIG_TPM2_MMIO=y | ||
5 | CONFIG_TPM2_TIS_SPI=y | ||
6 | CONFIG_TPM2_FTPM_TEE=y \ No newline at end of file | ||
diff --git a/meta-tpm/recipes-bsp/u-boot/u-boot_%.bbappend b/meta-tpm/recipes-bsp/u-boot/u-boot_%.bbappend new file mode 100644 index 0000000..c5d2923 --- /dev/null +++ b/meta-tpm/recipes-bsp/u-boot/u-boot_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI += "${@bb.utils.contains("MACHINE_FEATURES", "measured-boot", "file://measured-boot.cfg", "", d)}" \ No newline at end of file | ||