TPM: remove duplicate definitions
sjg at chromium.org
Mon May 11 01:31:34 CEST 2020
On Wed, 6 May 2020 at 16:58, Patrick Wildt <patrick at blueri.se> wrote:
> With the recent change to tpm-v2.h, some enums are now defined twice
> and tpm2_tis_spi.c fails to build. Unfortunately I fear removing
> the defines from tpm_tis.h, like in this diff, will break the TPMv1
> drivers tpm_tis_infineon.c and pm_tis_st33zp24_i2c.c, which depend
> on those defines. Maybe they should be added to tpm-v1.h as well?
> Or maybe they should be moved from tpm-v2.h to tpm_tis.h? I have
> no solution.
> Signed-off-by: Patrick Wildt <patrick at blueri.se>
There is a tpm_common.h so they could go in there perhaps.
More information about the U-Boot