aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2007-03-10 16:06:37 +0000
committerHamish Guthrie <hcg@openwrt.org>2007-03-10 16:06:37 +0000
commitd40728c5b00715dd13d2b970485c5c391d1de9c1 (patch)
tree9305255684ebf68d1537bd45d961350be9cc10a6
parent4f4432dafaa00c181ff919170935aa25f24ef3aa (diff)
downloadupstream-d40728c5b00715dd13d2b970485c5c391d1de9c1.tar.gz
upstream-d40728c5b00715dd13d2b970485c5c391d1de9c1.tar.bz2
upstream-d40728c5b00715dd13d2b970485c5c391d1de9c1.zip
Added MMC/SD Card module support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6544 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/other.mk15
-rw-r--r--target/linux/at91-2.6/config/default5
2 files changed, 20 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index e9cefcb16a..7143eac9b3 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -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
diff --git a/target/linux/at91-2.6/config/default b/target/linux/at91-2.6/config/default
index 05e6f7c38e..f75428310f 100644
--- a/target/linux/at91-2.6/config/default
+++ b/target/linux/at91-2.6/config/default
@@ -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