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 vap...@gentoo.org 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-19 Thread Che-liang Chiou
On Sun, Dec 18, 2011 at 4:33 AM, Wolfgang Denk w...@denx.de 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

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.h

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); using

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

2011-12-14 Thread Che-Liang Chiou
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.h based on underlying LPC or i2C TPM driver. tpm.c and the underlying driver communicate throught