summaryrefslogtreecommitdiffstats
path: root/drivers/tpm
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-10-06 22:54:43 +0200
committerSimon Glass <sjg@chromium.org>2015-10-23 09:42:28 -0600
commitc2b0f600a1707450ef985e28363893987f36fd8a (patch)
tree981149157b60b2df47424e14a7ebdd71cefde480 /drivers/tpm
parent302c5dba0a6eeb5846b628d3d59978dc0751def9 (diff)
downloadtalos-obmc-uboot-c2b0f600a1707450ef985e28363893987f36fd8a.tar.gz
talos-obmc-uboot-c2b0f600a1707450ef985e28363893987f36fd8a.zip
dm: tpm: Remove every compilation switch for TPM driver model
As every TPM drivers support UCLASS_TPM, we can only rely on DM_TPM functions. This simplify a bit the code. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/tpm')
-rw-r--r--drivers/tpm/tpm_tis_infineon.c1
-rw-r--r--drivers/tpm/tpm_tis_lpc.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tpm/tpm_tis_infineon.c b/drivers/tpm/tpm_tis_infineon.c
index 88eb7869bc..f57c32837b 100644
--- a/drivers/tpm/tpm_tis_infineon.c
+++ b/drivers/tpm/tpm_tis_infineon.c
@@ -24,7 +24,6 @@
#include <dm.h>
#include <fdtdec.h>
#include <i2c.h>
-#include <tis.h>
#include <tpm.h>
#include <asm-generic/errno.h>
#include <linux/compiler.h>
diff --git a/drivers/tpm/tpm_tis_lpc.c b/drivers/tpm/tpm_tis_lpc.c
index b41c3cec37..257d035d72 100644
--- a/drivers/tpm/tpm_tis_lpc.c
+++ b/drivers/tpm/tpm_tis_lpc.c
@@ -16,7 +16,6 @@
#include <common.h>
#include <dm.h>
#include <mapmem.h>
-#include <tis.h>
#include <tpm.h>
#include <asm/io.h>
OpenPOWER on IntegriCloud