summaryrefslogtreecommitdiff
path: root/include/configs/exynos5250-dt.h
diff options
context:
space:
mode:
authorTom Wai-Hong Tam <waihong@chromium.org>2013-04-12 11:04:37 +0000
committerSimon Glass <sjg@chromium.org>2013-06-03 01:31:23 -0700
commit1b393db5870927d68c42a46e6c5877c8d0d83910 (patch)
tree9c8357f65d5221778bcd7a9272c40823eeb89649 /include/configs/exynos5250-dt.h
parentec34fa5e43bfbef5a93394db04ff3b03fdfe3f44 (diff)
downloadu-boot-imx-1b393db5870927d68c42a46e6c5877c8d0d83910.zip
u-boot-imx-1b393db5870927d68c42a46e6c5877c8d0d83910.tar.gz
u-boot-imx-1b393db5870927d68c42a46e6c5877c8d0d83910.tar.bz2
tpm: Reorganize the I2C TPM driver
This patch does a similar code reogranzation from http://patchwork.ozlabs.org/patch/132179/ which is based on an old version of code (fdt support and bus selection still not in). It merges this tidy-up on top of the recent code. It does not make any logical change. tpm.c implements the interface defined in tpm.h based on underlying LPC or I2C TPM driver. tpm.c and the underlying driver communicate throught tpm_private.h. Note: Merging the LPC driver with tpm.c is left to future patches. Change-Id: Ie1384f5f9e3935d3bc9a44adf8de80c5a70a5f2b Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/exynos5250-dt.h')
-rw-r--r--include/configs/exynos5250-dt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 8a82892..41d6cf9 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -142,9 +142,9 @@
/* 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
+#define CONFIG_TPM_TIS_I2C
+#define CONFIG_TPM_TIS_I2C_BUS_NUMBER 3
+#define CONFIG_TPM_TIS_I2C_SLAVE_ADDR 0x20
/* MMC SPL */
#define CONFIG_SPL