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

login
register
mail settings
Submitter Simon Glass
Date Nov. 2, 2012, 4:44 p.m.
Message ID <1351874667-23959-3-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/196596/
State Superseded, archived
Delegated to: Minkyu Kang
Headers show

Comments

Simon Glass - Nov. 2, 2012, 4:44 p.m.
This is used on some Exynos 5250 variants. For now, enable it manually
until we have CONFIG_OF_CONTROL support.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 include/configs/smdk5250.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index c0f8622..c275a0e 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -107,6 +107,11 @@ 
 #define CONFIG_USB_EHCI_EXYNOS
 #define CONFIG_USB_STORAGE
 
+/* 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