diff options
Diffstat (limited to 'target/linux/mxs/modules.mk')
-rw-r--r-- | target/linux/mxs/modules.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/mxs/modules.mk b/target/linux/mxs/modules.mk index afcf23865c..75d668a1d0 100644 --- a/target/linux/mxs/modules.mk +++ b/target/linux/mxs/modules.mk @@ -99,3 +99,18 @@ define KernelPackage/spi-mxs/description endef $(eval $(call KernelPackage,spi-mxs)) + +I2C_MXS_MODULES:= \ + CONFIG_I2C_MXS:drivers/i2c/busses/i2c-mxs + +define KernelPackage/i2c-mxs + $(call i2c_defaults,$(I2C_MXS_MODULES),55) + TITLE:=Freescale i.MX23/28 I2C driver + DEPENDS:=@TARGET_mxs +kmod-i2c-core +endef + +define KernelPackage/i2c-mxs/description + Kernel module for Freescale i.MX23/28 I2C controller +endef + +$(eval $(call KernelPackage,i2c-mxs)) |