Index: drivers/tpm/slb9635_i2c/tpm_tis_i2c.h |
diff --git a/drivers/tpm/slb9635_i2c/tpm_tis_i2c.h b/drivers/tpm/slb9635_i2c/tpm_tis_i2c.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9ea41b465606d101cc996096a8cd0564f9e711e6 |
--- /dev/null |
+++ b/drivers/tpm/slb9635_i2c/tpm_tis_i2c.h |
@@ -0,0 +1,28 @@ |
+/******************************************************************************* |
+** |
+** FILENAME: $Id: i2c_tddl.h 59 2010-10-20 10:04:48Z hkr $ |
+** COPYRIGHT: Infineon Technologies |
+** DESCRIPTION: I2C TPM - TIS specific part of the TPM API. |
+** CREATION DATE: 2010/11/19 |
+** LAST CHANGE: $Date: 2010-10-20 12:04:48 +0200 (Wed, 20 Oct 2010) $ |
+** $Author$ |
+** VERSION: $Revision: 59 $ |
+** |
+*******************************************************************************/ |
+#ifndef _TPM_TIS_I2C_H_ |
+#define _TPM_TIS_I2C_H_ |
+ |
+#include "compatibility.h" |
+ |
+/* Initialise tpm_tis_i2c layer |
+ * @return 0 on success |
+ * < 0 on error |
+ */ |
+extern int tpm_tis_i2c_init(struct device *dev); |
+ |
+extern void tpm_tis_i2c_cleanup(struct tpm_chip *chip); |
+ |
+extern int iic_tpm_write(uint addr, const uchar *buffer, int len); |
+extern int iic_tpm_read(uint addr, uchar *buffer, int len); |
+ |
+#endif |