X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Ftpm.h;h=9a6585d3d40e1625bf90add69e40ad1001cea116;hb=c0c10449cf10a08393dd4354c62632db01ac8297;hp=086b672718e1dcc98ed157e282e547311cce87d1;hpb=2132f971ba2443bc31046cbbf18bbf5e7c017b50;p=oweals%2Fu-boot.git diff --git a/include/tpm.h b/include/tpm.h index 086b672718..9a6585d3d4 100644 --- a/include/tpm.h +++ b/include/tpm.h @@ -8,8 +8,6 @@ #ifndef __TPM_H #define __TPM_H -#include - /* * Here is a partial implementation of TPM commands. Please consult TCG Main * Specification for definitions of TPM commands. @@ -196,8 +194,6 @@ struct tpm_permanent_flags { u8 disable_full_da_logic_info; } __packed; -#ifdef CONFIG_DM_TPM - /* Max buffer size supported by our tpm */ #define TPM_DEV_BUFSIZE 1260 @@ -375,8 +371,6 @@ int tpm_get_desc(struct udevice *dev, char *buf, int size); int tpm_xfer(struct udevice *dev, const uint8_t *sendbuf, size_t send_size, uint8_t *recvbuf, size_t *recv_size); -#endif /* CONFIG_DM_TPM */ - /** * Initialize TPM device. It must be called before any TPM commands. *