add sdcard support for avr32 platforms
authorTravis Kemen <thepeople@openwrt.org>
Sat, 29 Mar 2008 05:16:10 +0000 (05:16 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Sat, 29 Mar 2008 05:16:10 +0000 (05:16 +0000)
SVN-Revision: 10683

package/kernel/modules/other.mk

index 2313135c568dceca98f07a84f3f992f8b0ff89a3..fac104528a364d57c383936f36e5588b6040178f 100644 (file)
@@ -512,6 +512,21 @@ endef
 
 $(eval $(call KernelPackage,mmc-spi))
 
+define KernelPackage/mmc-atmelmci
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Amtel MMC Support
+  DEPENDS:=@TARGET_avr32 +kmod-mmc
+  KCONFIG:=CONFIG_MMC_ATMELMCI
+  FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
+endef
+
+define KernelPackage/mmc-spi/description
+ Kernel support for  Atmel Multimedia Card Interface.
+endef
+
+$(eval $(call KernelPackage,mmc-atmelmci))
+
 define KernelPackage/spi
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Serial Peripheral Interface