Przeglądaj źródła

ralink: add package for mt7620 sdhci

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 38553
John Crispin 12 lat temu
rodzic
commit
176b41d441
1 zmienionych plików z 13 dodań i 0 usunięć
  1. 13 0
      target/linux/ramips/modules.mk

+ 13 - 0
target/linux/ramips/modules.mk

@@ -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