[U-Boot] [PATCH v6 1/2] Introduce generic TPM support in u-boot

Simon Glass sjg at chromium.org
Wed Dec 7 01:57:21 CET 2011


Hi Wolfgang,

On Mon, Oct 17, 2011 at 11:36 AM, Vadim Bendebury <vbendeb at chromium.org> wrote:
> TPM (Trusted Platform Module) is an integrated circuit and
> software platform that provides computer manufacturers with the
> core components of a subsystem used to assure authenticity,
> integrity and confidentiality.
>
> This driver supports version 1.2 of the TCG (Trusted Computing
> Group) specifications.
>
> The TCG specification defines several so called localities in a
> TPM chip, to be controlled by different software layers. When
> used on a typical x86 platform during the firmware phase, only
> locality 0 can be accessed by the CPU, so this driver even while
> supporting the locality concept presumes that only locality zero
> is used.
>
> This implementation is loosely based on the article "Writing a
> TPM Device Driver" published on http://ptgmedia.pearsoncmg.com
>
> Compiling this driver with DEBUG defined will generate trace of
> all accesses to TMP registers.
>
> This driver has been tested and is being used in three different
> functional ChromeOS machines (Pinetrail and Sandy Bridge Intel
> chipsets) all using the same Infineon SLB 9635 TT 1.2 device.
>
> A u-boot cli command allowing access to the TPM was also
> implemented and is being submitted as a second patch.
>
> Change-Id: I22a33c3e5b2e20eec9557a7621bd463b30389d73
> Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
> CC: Wolfgang Denk <wd at denx.de>
> ---
>
> v5 with A function comment header correction.
>
>  Makefile                      |    3 +
>  README                        |   10 +
>  drivers/tpm/Makefile          |   43 ++++
>  drivers/tpm/generic_lpc_tpm.c |  495 +++++++++++++++++++++++++++++++++++++++++
>  include/tpm.h                 |   71 ++++++
>  5 files changed, 622 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/tpm/Makefile
>  create mode 100644 drivers/tpm/generic_lpc_tpm.c
>  create mode 100644 include/tpm.h

Regarding this patch, the second in the series has been applied. Are
you planning on picking this one up also?

Regards,
Simon


More information about the U-Boot mailing list