Added MMC/SD Card module support
authorHamish Guthrie <hcg@openwrt.org>
Sat, 10 Mar 2007 16:06:37 +0000 (16:06 +0000)
committerHamish Guthrie <hcg@openwrt.org>
Sat, 10 Mar 2007 16:06:37 +0000 (16:06 +0000)
SVN-Revision: 6544

package/kernel/modules/other.mk
target/linux/at91-2.6/config/default

index e9cefcb16aafc781d8ec8b355ac91213590c51c0..7143eac9b306919ce09c99c2dd18636a8fc43613 100644 (file)
@@ -216,6 +216,21 @@ define KernelPackage/bluetooth/2.6
 endef
 $(eval $(call KernelPackage,bluetooth))
 
+define KernelPackage/mmc
+  TITLE:=MMC/SD Card Support
+  DESCRIPTION:=Kernel support for MMC/SD cards
+  SUBMENU:=$(EMENU)
+ endef
+
+define KernelPackage/mmc/2.6
+       KCONFIG:=$(CONFIG_MMC)
+       FILES:= \
+       $(MODULES_DIR)/kernel/drivers/mmc/mmc_core.$(LINUX_KMOD_SUFFIX) \
+       $(MODULES_DIR)/kernel/drivers/mmc/mmc_block.$(LINUX_KMOD_SUFFIX) \
+       $(MODULES_DIR)/kernel/drivers/mmc/at91_mci.$(LINUX_KMOD_SUFFIX) \
+       AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block at91_mci)
+endef
+$(eval $(call KernelPackage,mmc))
 
 define KernelPackage/softdog
   TITLE:=Software watchdog driver
index 05e6f7c38ec2d170dd3cfe7b6c13d03824795274..f75428310f6168d2b068803faf04af765fb3c922 100644 (file)
@@ -188,6 +188,11 @@ CONFIG_LEDS_TIMER=y
 CONFIG_MACH_VLINK=y
 # CONFIG_MINIX_FS is not set
 CONFIG_MINI_FO=y
+CONFIG_MMC=m
+CONFIG_MMC_AT91=m
+CONFIG_MMC_BLOCK=m
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_TIFM_SD is not set
 # CONFIG_MSDOS_FS is not set
 CONFIG_MTD=y
 # CONFIG_MTD_ABSENT is not set