[U-Boot] [PATCH v3 2/4] dm: tpm: Add Driver Model support for tpm_atmel_twi driver

Simon Glass sjg at chromium.org
Sun Oct 4 18:25:33 CEST 2015


Hi Christophe,

On 3 October 2015 at 15:27, Simon Glass <sjg at chromium.org> wrote:
> On 20 September 2015 at 21:00, Christophe Ricard
> <christophe.ricard at gmail.com> wrote:
>> tpm_atmel_twi can fit perfectly to the new UCLASS_TPM class.
>>
>> Signed-off-by: Christophe Ricard <christophe-h.ricard at st.com>
>> Reviewed-by: Tom Rini <trini at konsulko.com>
>> ---
>>
>> Changes in v3: None
>>
>>  drivers/tpm/Kconfig         |  2 +-
>>  drivers/tpm/tpm_atmel_twi.c | 74 ++++++++++++++++++++++++++++++++-------------
>>  2 files changed, 54 insertions(+), 22 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>

I get errors with this patch:

03: dm: tpm: Add Driver Model support for tpm_atmel_twi driver
   powerpc:  +   controlcenterd_36BIT_SDCARD
controlcenterd_36BIT_SDCARD_DEVELOP controlcenterd_TRAILBLAZER
controlcenterd_TRAILBLAZER_DEVELOP
+common/built-in.o: In function `do_tpm_raw_transfer':
+build/../common/cmd_tpm.c:504: undefined reference to `tis_sendrecv'
+lib/built-in.o: In function `tpm_sendrecv_command':
+build/../lib/tpm.c:253: undefined reference to `tis_sendrecv'
+lib/built-in.o: In function `tpm_init':
+build/../lib/tpm.c:276: undefined reference to `tis_init'
+build/../lib/tpm.c:280: undefined reference to `tis_open'

Regards,
Simon


More information about the U-Boot mailing list