Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: drivers/tpm/slb9635_i2c/tddl.h

Issue 6683023: Add Infineon v05 TPM driver (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/u-boot-next.git@chromeos-v2010.09
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698