From: Ian Pozella Date: Mon, 6 Mar 2017 14:12:36 +0000 (+0000) Subject: kernel: tpm: add Infineon i2c support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7c9c9fdd8721236fcf0570ecefe5fb0bd7abdc3d;p=openwrt%2Fstaging%2Fneocturne.git kernel: tpm: add Infineon i2c support (based on openwrt "kernel: add tpm support") Signed-off-by: Ian Pozella --- 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))