[source] kernel: tpm: add Infineon i2c support

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 13 06:21:43 PDT 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/7c9c9fdd8721236fcf0570ecefe5fb0bd7abdc3d

commit 7c9c9fdd8721236fcf0570ecefe5fb0bd7abdc3d
Author: Ian Pozella <Ian.Pozella at imgtec.com>
AuthorDate: Mon Mar 6 14:12:36 2017 +0000

    kernel: tpm: add Infineon i2c support
    
    (based on openwrt "kernel: add tpm support")
    
    Signed-off-by: Ian Pozella <Ian.Pozella at imgtec.com>
---
 package/kernel/linux/modules/other.mk | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 40869c6..8ea435e 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -1003,3 +1003,18 @@ define KernelPackage/tpm-i2c-atmel/description
 endef
 
 $(eval $(call KernelPackage,tpm-i2c-atmel))
+
+define KernelPackage/tpm-i2c-infineon
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:= TPM I2C Infineon driver
+  DEPENDS:= +kmod-tpm +kmod-i2c-core
+  KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
+  FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
+  AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
+endef
+
+define KernelPackage/tpm-i2c-infineon/description
+	This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
+endef
+
+$(eval $(call KernelPackage,tpm-i2c-infineon))



More information about the lede-commits mailing list