ralink: add package for mt7620 sdhci
authorJohn Crispin <john@openwrt.org>
Mon, 28 Oct 2013 06:47:56 +0000 (06:47 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 28 Oct 2013 06:47:56 +0000 (06:47 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38553

target/linux/ramips/modules.mk

index 33b5c23697cf39d9655c6a4db760f63d6483464f..adf5e0230d602dbd520465c105d523d1e51b8515 100644 (file)
@@ -25,6 +25,19 @@ endef
 
 $(eval $(call KernelPackage,usb-rt305x-dwc_otg))
 
+OTHER_MENU:=Other modules
+define KernelPackage/sdhci-mt7620
+  SUBMENU:=Other modules
+  TITLE:=MT7620 SDCI
+  DEPENDS:=@TARGET_ramips_mt7620a +kmod-sdhci
+  KCONFIG:= \
+       CONFIG_MMC_SDHCI_MT7620
+  FILES:= \
+       $(LINUX_DIR)/drivers/mmc/host/sdhci-mt7620.ko
+  AUTOLOAD:=$(call AutoProbe,sdhci-mt7620,1)
+endef
+
+$(eval $(call KernelPackage,sdhci-mt7620))
 
 I2C_RALINK_MODULES:= \
   CONFIG_I2C_RALINK:drivers/i2c/busses/i2c-ralink