]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/tis.h
dm: tpm: Add a uclass for Trusted Platform Modules
[karo-tx-uboot.git] / include / tis.h
index 40a1f867627a66209618048257077452ecfa143f..1985d9e60e67475eabf2451a816380b854961ee6 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __TIS_H
 #define __TIS_H
 
+#ifndef CONFIG_DM_TPM
+
 #include <common.h>
 
 /* 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 */