[U-Boot] [PATCH v4 3/4] dm: tpm: Remove every compilation switch for TPM driver model

Simon Glass sjg at chromium.org
Thu Oct 8 23:45:55 CEST 2015


On 6 October 2015 at 21:54, Christophe Ricard
<christophe.ricard at gmail.com> wrote:
> As every TPM drivers support UCLASS_TPM, we can only rely on DM_TPM
> functions.
>
> This simplify a bit the code.
>
> Signed-off-by: Christophe Ricard <christophe-h.ricard at st.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
>  common/cmd_tpm.c               | 13 +--------
>  drivers/tpm/tpm_tis_infineon.c |  1 -
>  drivers/tpm/tpm_tis_lpc.c      |  1 -
>  include/tis.h                  | 60 ------------------------------------------
>  include/tpm.h                  |  6 -----
>  lib/tpm.c                      | 20 +++-----------
>  6 files changed, 4 insertions(+), 97 deletions(-)
>  delete mode 100644 include/tis.h

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


More information about the U-Boot mailing list