summaryrefslogtreecommitdiffstats
path: root/drivers/tpm/tpm_tis_i2c.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-22 18:31:26 -0600
committerSimon Glass <sjg@chromium.org>2015-08-31 07:57:27 -0600
commit605152a80371c494b1735f6ef8d296e141b1eadf (patch)
tree88ebccd79c2608bc4e8916467b302d85b15f2614 /drivers/tpm/tpm_tis_i2c.h
parent13932b09bb19898a5c64bf7a48448855200c63f5 (diff)
downloadtalos-obmc-uboot-605152a80371c494b1735f6ef8d296e141b1eadf.tar.gz
talos-obmc-uboot-605152a80371c494b1735f6ef8d296e141b1eadf.zip
tpm: tpm_tis_i2c: Merge struct tpm into tpm_chip
There are too many structures storing the same sort of information. Move the fields from struct tpm into struct tpm_chip and remove the former struct. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/tpm/tpm_tis_i2c.h')
-rw-r--r--drivers/tpm/tpm_tis_i2c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tpm/tpm_tis_i2c.h b/drivers/tpm/tpm_tis_i2c.h
index 0fec4640d8..161e63b5ff 100644
--- a/drivers/tpm/tpm_tis_i2c.h
+++ b/drivers/tpm/tpm_tis_i2c.h
@@ -43,6 +43,7 @@ enum i2c_chip_type {
};
struct tpm_chip {
+ bool inited;
int is_open;
u8 req_complete_mask;
u8 req_complete_val;
OpenPOWER on IntegriCloud