Some hardware has a TPM chip and in addition, qemu can emulate it using swtpm.
Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- features/tpm/tpm.cfg | 18 ++++++++++++++++++ features/tpm/tpm.scc | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 features/tpm/tpm.cfg create mode 100644 features/tpm/tpm.scc diff --git a/features/tpm/tpm.cfg b/features/tpm/tpm.cfg new file mode 100644 index 0000000..8b3f6d9 --- /dev/null +++ b/features/tpm/tpm.cfg @@ -0,0 +1,18 @@ +# Enable TPM device drivers. +CONFIG_TCG_TPM=y +CONFIG_HW_RANDOM_TPM=y +CONFIG_TCG_TPM=y +CONFIG_TCG_TIS_CORE=y +CONFIG_TCG_TIS=y +CONFIG_TCG_TIS_SPI=y +CONFIG_TCG_TIS_I2C_ATMEL=y +CONFIG_TCG_TIS_I2C_INFINEON=y +CONFIG_TCG_TIS_I2C_NUVOTON=y +CONFIG_TCG_NSC=y +CONFIG_TCG_ATMEL=y +CONFIG_TCG_INFINEON=y +CONFIG_TCG_CRB=y +CONFIG_TCG_VTPM_PROXY=y +CONFIG_TCG_TIS_ST33ZP24=y +CONFIG_TCG_TIS_ST33ZP24_I2C=y +CONFIG_TCG_TIS_ST33ZP24_SPI=y diff --git a/features/tpm/tpm.scc b/features/tpm/tpm.scc new file mode 100644 index 0000000..eeddc31 --- /dev/null +++ b/features/tpm/tpm.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Enable TCG TPM driver (Trusted Computing Group Trusted Platform Module)" +define KFEATURE_COMPATIBILITY board + +kconf hardware tpm.cfg -- git-series 0.9.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto