[OpenWrt-Devel] [PATCH RESEND] mxs: add kernel module for spi interface

Michael Heimpold mhei at heimpold.de
Sat Dec 6 17:32:47 EST 2014


Signed-off-by: Michael Heimpold <mhei at heimpold.de>
---
 target/linux/mxs/modules.mk |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/target/linux/mxs/modules.mk b/target/linux/mxs/modules.mk
index c96146c..eba06c1 100644
--- a/target/linux/mxs/modules.mk
+++ b/target/linux/mxs/modules.mk
@@ -101,3 +101,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))
-- 
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list