+
+
+define KernelPackage/mmc-spi
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=MMC/SD over SPI Support
+ DEPENDS:=@LINUX_2_6
+ KCONFIG:=CONFIG_MMC_SPI
+ FILES:=$(LINUX_DIR)/drivers/mmc/host/mmc_spi.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,90,mmc_spi)
+endef
+
+define KernelPackage/mmc-spi/description
+ Kernel support for MMC/SD over SPI
+endef
+
+$(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
+ KCONFIG:=CONFIG_SPI=y \
+ CONFIG_MTD_DATAFLASH=n \
+ CONFIG_MTD_M25P80=n \
+ CONFIG_SPI_AT25=n \
+ CONFIG_SPI_SPIDEV=n \
+ CONFIG_SPI_TLE62X0=n
+endef
+
+define KernelPackage/spi/description
+ This package contains the Serial Peripheral Interface driver
+endef
+
+$(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
+endef
+
+define KernelPackage/spi-bitbang/description
+ This package contains the Serial Peripheral Interface bitbanging library
+endef
+
+$(eval $(call KernelPackage,spi-bitbang))