Patchwork [U-Boot,v2,3/3] exynos: Enable I2C TPM for smdk5250

login
register
mail settings
Submitter Simon Glass
Date April 12, 2013, 8:44 p.m.
Message ID <1365799498-17895-3-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/236187/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Simon Glass - April 12, 2013, 8:44 p.m.
This is used on some Exynos 5250 variants.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
- Move CONFIG change to exynos5-dt.h

 include/configs/exynos5250-dt.h | 7 +++++++
 1 file changed, 7 insertions(+)

Patch

diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 2b9d6ac..7378487 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -129,6 +129,13 @@ 
 #define CONFIG_USB_EHCI_EXYNOS
 #define CONFIG_USB_STORAGE
 
+/* TPM */
+#define CONFIG_TPM
+#define CONFIG_CMD_TPM
+#define CONFIG_INFINEON_TPM_I2C
+#define CONFIG_INFINEON_TPM_I2C_BUS 3
+#define CONFIG_INFINEON_TPM_I2C_ADDR 0x20
+
 /* MMC SPL */
 #define CONFIG_SPL
 #define COPY_BL2_FNPTR_ADDR	0x02020030