Re: [U-Boot] [PATCH 2/3] tpm: Initial work to introduce TPM driver model

2015-08-13 Thread Simon Glass
Hi Christophe, On 13 August 2015 at 14:37, Christophe Ricard wrote: > Hi Simon, > > > On 13/08/2015 17:55, Simon Glass wrote: >> >> Hi Christophe, >> >> On 9 August 2015 at 07:19, Christophe Ricard >> wrote: >>> >>> drivers/tpm/tpm.c is a TPM core driver port from Linux. >>> So far in u-boot onl

Re: [U-Boot] [PATCH 2/3] tpm: Initial work to introduce TPM driver model

2015-08-13 Thread Christophe Ricard
Hi Simon, On 13/08/2015 17:55, Simon Glass wrote: Hi Christophe, On 9 August 2015 at 07:19, Christophe Ricard wrote: drivers/tpm/tpm.c is a TPM core driver port from Linux. So far in u-boot only infineon i2c driver is using it but it could fit for others... Introduce a new tpm uclass so that

Re: [U-Boot] [PATCH 2/3] tpm: Initial work to introduce TPM driver model

2015-08-13 Thread Simon Glass
Hi Christophe, On 9 August 2015 at 07:19, Christophe Ricard wrote: > drivers/tpm/tpm.c is a TPM core driver port from Linux. > So far in u-boot only infineon i2c driver is using it but it could fit > for others... > > Introduce a new tpm uclass so that every TPM driver can register against it >

[U-Boot] [PATCH 2/3] tpm: Initial work to introduce TPM driver model

2015-08-09 Thread Christophe Ricard
drivers/tpm/tpm.c is a TPM core driver port from Linux. So far in u-boot only infineon i2c driver is using it but it could fit for others... Introduce a new tpm uclass so that every TPM driver can register against it and and take benefit of common functions and data such as tpm_transmit, tpm_regis