kernel: tpm: add Infineon i2c support

(based on openwrt "kernel: add tpm support")

Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com>
This commit is contained in:
Ian Pozella 2017-03-06 14:12:36 +00:00 committed by John Crispin
parent d4203dfa55
commit 7c9c9fdd87

View file

@ -1003,3 +1003,18 @@ define KernelPackage/tpm-i2c-atmel/description
endef endef
$(eval $(call KernelPackage,tpm-i2c-atmel)) $(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))