diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-03-27 18:36:56 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-03-27 18:36:56 +0000 |
commit | 01a53d521a699ac4e14c5afd08d3c70e2e2097de (patch) | |
tree | 8512b7e9f8cce1a72535a3ce6c6d3fdd36d9c51e /package/kernel/modules | |
parent | c6a90ed8a450b71dba1c30a9ff2ebc0c1b98c8e1 (diff) |
Create the kmod-spi package and load mmc_over_gpio after spi (#3273)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10675 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r-- | package/kernel/modules/other.mk | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 11c45136d..2313135c5 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -514,14 +514,21 @@ $(eval $(call KernelPackage,mmc-spi)) define KernelPackage/spi SUBMENU:=$(OTHER_MENU) - DEPENDS:=@LINUX_2_6 +kmod-crc-itu-t +kmod-crc7 TITLE:=Serial Peripheral Interface + DEPENDS:=@LINUX_2_6 +kmod-crc-itu-t +kmod-crc7 KCONFIG:=CONFIG_SPI=y \ - CONFIG_MTD_DATAFLASH=n \ - CONFIG_MTD_M25P80=n \ - CONFIG_SPI_AT25=n \ - CONFIG_SPI_SPIDEV=n \ - CONFIG_SPI_TLE62X0=n + CONFIG_MTD_DATAFLASH \ + CONFIG_MTD_M25P80 \ + CONFIG_SPI_AT25 \ + CONFIG_SPI_SPIDEV \ + CONFIG_SPI_TLE62X0 + FILES:= \ + $(LINUX_DIR)/drivers/spi/at25.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/spi/spidev.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/spi/tle62x0.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/mtd/devices/m25p80.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/mtd/devices/mtd_dataflash.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,90,spi) endef define KernelPackage/spi/description @@ -532,9 +539,11 @@ $(eval $(call KernelPackage,spi)) define KernelPackage/spi-bitbang SUBMENU:=$(OTHER_MENU) - DEPENDS:=@LINUX_2_6 TITLE:=Serial Peripheral Interface bitbanging - KCONFIG:=CONFIG_SPI_BITBANG=y + DEPENDS:=@LINUX_2_6 +kmod-spi + KCONFIG:=CONFIG_SPI_BITBANG + FILES:=$(LINUX_DIR)/drivers/spi/spi_bitbang.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,91,spi_bitbang) endef define KernelPackage/spi-bitbang/description |