aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Pozella <Ian.Pozella@imgtec.com>2017-03-06 14:12:36 +0000
committerJohn Crispin <john@phrozen.org>2017-03-13 14:20:47 +0100
commit7c9c9fdd8721236fcf0570ecefe5fb0bd7abdc3d (patch)
treea4bde200d44cd5f1e6fe13f5144201169729c072
parentd4203dfa550e73250b11bc6aceebcff36392fb91 (diff)
downloadupstream-7c9c9fdd8721236fcf0570ecefe5fb0bd7abdc3d.tar.gz
upstream-7c9c9fdd8721236fcf0570ecefe5fb0bd7abdc3d.tar.bz2
upstream-7c9c9fdd8721236fcf0570ecefe5fb0bd7abdc3d.zip
kernel: tpm: add Infineon i2c support
(based on openwrt "kernel: add tpm support") Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com>
-rw-r--r--package/kernel/linux/modules/other.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 40869c6bb0..8ea435ed84 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))