Index: drivers/tpm/slb9635_i2c/tddl.h |
diff --git a/drivers/tpm/slb9635_i2c/tddl.h b/drivers/tpm/slb9635_i2c/tddl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a260c748002c3db5550b4de291302a641cae8d25 |
--- /dev/null |
+++ b/drivers/tpm/slb9635_i2c/tddl.h |
@@ -0,0 +1,28 @@ |
+/******************************************************************************* |
+** |
+** FILENAME: tddl.h |
+** COPYRIGHT: Infineon Technologies |
+** DESCRIPTION: I2C TPM - TDDL API. |
+** CREATOR: Peter Huewe <huewe.external@infineon.com> |
+** LICENSE: GPL |
+** |
+*******************************************************************************/ |
+#ifndef _TDDL_H_ |
+#define _TDDL_H_ |
+ |
+/* Includes from U-Boot */ |
+#include <linux/types.h> |
+ |
+typedef uint32_t TDDL_RESULT; |
+ |
+#define TDDL_SUCCESS 0x00000000L |
+#define TDDL_E_FAIL 0x00000001L |
+ |
+ |
+TDDL_RESULT TDDL_Open(void); |
+ |
+TDDL_RESULT TDDL_Close(void); |
+ |
+TDDL_RESULT TDDL_TransmitData(uint8_t *pbTransmitBuf, uint32_t dwTransmitBufLen, |
+ uint8_t *pbReceiveBuf, uint32_t *pdwReceiveBufLen); |
+#endif |