All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Ohly <patrick.ohly@intel.com>
To: yocto@yoctoproject.org
Subject: [yocto-kernel-cache][PATCH 1/1] meta: add TPM feature
Date: Mon, 23 Jan 2017 15:11:19 +0100	[thread overview]
Message-ID: <c19c0e806114a43ea11774620e83a899a8f579f3.1485180600.git-series.patrick.ohly@intel.com> (raw)
In-Reply-To: <cover.d80eadf93cc834138baf753dee75bd75faefc003.1485180600.git-series.patrick.ohly@intel.com>

Some hardware has a TPM chip and in addition, qemu can emulate it
using swtpm.

Signed-off-by: Patrick Ohly <patrick.ohly@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


  reply	other threads:[~2017-01-23 14:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-23 14:11 [yocto-kernel-cache][PATCH 0/1] features: enable tpm Patrick Ohly
2017-01-23 14:11 ` Patrick Ohly [this message]
2017-01-23 19:51 ` Bruce Ashfield
2017-01-23 20:24   ` Patrick Ohly
     [not found]     ` <CADkTA4Mve6Mj5Y7_F7WsGzrVeFL_VfiPknUyzRffLQ_NRQVK0A@mail.gmail.com>
     [not found]       ` <CADkTA4NOWQk0zfAUALjJanHjgqdi6rMLOk7Z=ZY0cit8-fqbbw@mail.gmail.com>
2017-01-23 22:55         ` Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c19c0e806114a43ea11774620e83a899a8f579f3.1485180600.git-series.patrick.ohly@intel.com \
    --to=patrick.ohly@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.