aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2014-12-12 11:10:04 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2014-12-12 11:10:04 +0000
commit1b4898f87dab1d35ae71df44ed9ce9343d495e45 (patch)
tree70f907ac2cf50c84977e682c7f4a4f5d0c896170 /target/linux
parent8404a6957929e921271157fe097bafd3a6ceaf0b (diff)
downloadmaster-187ad058-1b4898f87dab1d35ae71df44ed9ce9343d495e45.tar.gz
master-187ad058-1b4898f87dab1d35ae71df44ed9ce9343d495e45.tar.bz2
master-187ad058-1b4898f87dab1d35ae71df44ed9ce9343d495e45.zip
mxs: add kernel module for spi interface
Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43647 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mxs/modules.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/mxs/modules.mk b/target/linux/mxs/modules.mk
index 10ea3d685f..afcf23865c 100644
--- a/target/linux/mxs/modules.mk
+++ b/target/linux/mxs/modules.mk
@@ -84,3 +84,18 @@ define KernelPackage/crypto-hw-dcp/description
endef
$(eval $(call KernelPackage,crypto-hw-dcp))
+
+define KernelPackage/spi-mxs
+ SUBMENU:=$(SPI_MENU)
+ TITLE:=Freescale i.MX23/28 SPI driver
+ DEPENDS:=@TARGET_mxs
+ KCONFIG:=CONFIG_SPI_MXS
+ FILES:=$(LINUX_DIR)/drivers/spi/spi-mxs.ko
+ AUTOLOAD:=$(call AutoProbe,spi-mxs)
+endef
+
+define KernelPackage/spi-mxs/description
+ Kernel module for Freescale i.MX23/28 SPI controller
+endef
+
+$(eval $(call KernelPackage,spi-mxs))