X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Ftis.h;h=1985d9e60e67475eabf2451a816380b854961ee6;hb=b255d0f66eccad23012f8c11171f7e143f0955d9;hp=40a1f867627a66209618048257077452ecfa143f;hpb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;p=karo-tx-uboot.git diff --git a/include/tis.h b/include/tis.h index 40a1f86762..1985d9e60e 100644 --- a/include/tis.h +++ b/include/tis.h @@ -7,6 +7,8 @@ #ifndef __TIS_H #define __TIS_H +#ifndef CONFIG_DM_TPM + #include /* Low-level interface to access TPM */ @@ -53,5 +55,6 @@ int tis_close(void); */ int tis_sendrecv(const uint8_t *sendbuf, size_t send_size, uint8_t *recvbuf, size_t *recv_len); +#endif #endif /* __TIS_H */