mxs: add kernel module for spi interface
authorZoltan Herpai <wigyori@uid0.hu>
Fri, 12 Dec 2014 11:10:04 +0000 (11:10 +0000)
committerZoltan Herpai <wigyori@uid0.hu>
Fri, 12 Dec 2014 11:10:04 +0000 (11:10 +0000)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43647

target/linux/mxs/modules.mk

index 10ea3d6..afcf238 100644 (file)
@@ -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))