]> git.sur5r.net Git - u-boot/blobdiff - drivers/tpm/tpm-uclass.c
tpm: disociate TPMv1.x specific and generic code
[u-boot] / drivers / tpm / tpm-uclass.c
index e71545235cff29e1b1ea1930d6d8190395cc1efe..9488b091a2e823cd53680dbd1573c9859b3dc072 100644 (file)
@@ -6,8 +6,10 @@
 
 #include <common.h>
 #include <dm.h>
-#include <tpm.h>
 #include <linux/unaligned/be_byteshift.h>
+#if defined(CONFIG_TPM_V1)
+#include <tpm-v1.h>
+#endif
 #include "tpm_internal.h"
 
 int tpm_open(struct udevice *dev)