Hi Patrick, On Wed, 6 May 2020 at 16:58, Patrick Wildt <patr...@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 <patr...@blueri.se>
There is a tpm_common.h so they could go in there perhaps. Regards, Simon