aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs/modules.mk
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
commitfc2dff246db939293d958ec1c1f720a149b3055d (patch)
treece536e5f160866f357b63a828da22b450919dc1c /target/linux/mxs/modules.mk
parent276a732a779ea00501622e04700fd32ef1ffe95b (diff)
downloadupstream-fc2dff246db939293d958ec1c1f720a149b3055d.tar.gz
upstream-fc2dff246db939293d958ec1c1f720a149b3055d.tar.bz2
upstream-fc2dff246db939293d958ec1c1f720a149b3055d.zip
mxs: add kernel module for spi interface
Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 43647
Diffstat (limited to 'target/linux/mxs/modules.mk')
-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))