[PATCH 3/8 v7] tpm2: Introduce TIS tpm core

Simon Glass sjg at chromium.org
Sat Nov 13 19:15:54 CET 2021


On Tue, 9 Nov 2021 at 00:02, Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> There's a lot of code duplication in U-Boot right now.  All the TPM TIS
> compatible drivers we have at the moment have their own copy of a TIS
> implementation.
>
> So let's create a common layer which implements the core TIS functions.
> Any driver added from now own, which is compatible with the TIS spec, will
> only have to provide the underlying bus communication mechanisms.
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---
>  drivers/tpm/tpm2_tis_core.c | 463 ++++++++++++++++++++++++++++++++++++
>  drivers/tpm/tpm_tis.h       | 136 +++++++++++
>  include/tpm-v2.h            |   1 +
>  3 files changed, 600 insertions(+)
>  create mode 100644 drivers/tpm/tpm2_tis_core.c
>

Please can you add a change log to each patch? You have a vague one in
the cover letter but I am left to guess how each patch has changed.

Reviewed-by: Simon Glass <sjg at chromium.org>

Regards,
Simon


More information about the U-Boot mailing list