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

2021-11-15 Thread Ilias Apalodimas
On Sat, Nov 13, 2021 at 11:15:54AM -0700, Simon Glass wrote: > On Tue, 9 Nov 2021 at 00:02, Ilias Apalodimas > 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. > > >

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

2021-11-13 Thread Simon Glass
On Tue, 9 Nov 2021 at 00:02, Ilias Apalodimas 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. > A

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

2021-11-13 Thread Simon Glass
On Tue, 9 Nov 2021 at 00:02, Ilias Apalodimas 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. > A

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

2021-11-08 Thread Ilias Apalodimas
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