Re: [U-Boot] [PATCH v1 2/2] tpm: Add i2c TPM driver

2011-12-19 Thread Che-liang Chiou
On Sun, Dec 18, 2011 at 4:33 AM, Wolfgang Denk wrote: > Dear Che-Liang Chiou, > > In message <1323852504-19954-3-git-send-email-clch...@chromium.org> you wrote: >> Peter Huewe implemented the original driver; this patch only reorganizes >> the code structure of the driver, and does not make logica

Re: [U-Boot] [PATCH v1 2/2] tpm: Add i2c TPM driver

2011-12-19 Thread Che-liang Chiou
On Sat, Dec 17, 2011 at 1:21 AM, Mike Frysinger wrote: > On Wednesday 14 December 2011 03:48:24 Che-Liang Chiou wrote: >> --- /dev/null >> +++ b/drivers/tpm/tpm.c >> >> +int tis_sendrecv(const uint8_t *sendbuf, size_t send_size, uint8_t >> *recvbuf, +           size_t *recv_len) >> +{ >> +        

Re: [U-Boot] [PATCH v1 2/2] tpm: Add i2c TPM driver

2011-12-17 Thread Wolfgang Denk
Dear Che-Liang Chiou, In message <1323852504-19954-3-git-send-email-clch...@chromium.org> you wrote: > Peter Huewe implemented the original driver; this patch only reorganizes > the code structure of the driver, and does not make logical changes. > > tpm.c implements the interface defined in tpm.

Re: [U-Boot] [PATCH v1 2/2] tpm: Add i2c TPM driver

2011-12-16 Thread Mike Frysinger
On Wednesday 14 December 2011 03:48:24 Che-Liang Chiou wrote: > --- /dev/null > +++ b/drivers/tpm/tpm.c > > +int tis_sendrecv(const uint8_t *sendbuf, size_t send_size, uint8_t > *recvbuf, + size_t *recv_len) > +{ > + error("%s: invalid send_size %zx\n", __func__, send_size);