summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurong Xu <xfr@outlook.com>2017-03-03 14:07:34 +0800
committerJohn Crispin <john@phrozen.org>2017-03-11 08:19:37 +0100
commita93a48328d092e4d097bf6b218dfe531d92b803a (patch)
tree80780a8212a7f5e6c485ed2f5d229a897af4ce8c
parent0e56151ab24fe79677a845d2eb173fc336133752 (diff)
downloadmtk-20170518-a93a48328d092e4d097bf6b218dfe531d92b803a.zip
mtk-20170518-a93a48328d092e4d097bf6b218dfe531d92b803a.tar.gz
mtk-20170518-a93a48328d092e4d097bf6b218dfe531d92b803a.tar.bz2
ramips: kmod-sdhci-mt7620: switch dependence to kmod-mmc
mtk-mmc/mtk_sd.ko only depends on mmc_core and mmc_block. And, we remove kmod-sdhci dependence assignment from all related target devices. Signed-off-by: Furong Xu <xfr@outlook.com>
-rw-r--r--target/linux/ramips/image/mt7620.mk6
-rw-r--r--target/linux/ramips/image/mt7628.mk2
-rw-r--r--target/linux/ramips/modules.mk2
3 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 9a2941c..ece1539 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -242,7 +242,7 @@ define Device/hc5661
DTS := HC5661
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_TITLE := HiWiFi HC5661
- DEVICE_PACKAGES := kmod-usb2 kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-usb2 kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += hc5661
@@ -250,7 +250,7 @@ define Device/hc5761
DTS := HC5761
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_TITLE := HiWiFi HC5761
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += hc5761
@@ -258,7 +258,7 @@ define Device/hc5861
DTS := HC5861
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_TITLE := HiWiFi HC5861
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += hc5861
diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk
index 6292d45..6bb04ea 100644
--- a/target/linux/ramips/image/mt7628.mk
+++ b/target/linux/ramips/image/mt7628.mk
@@ -31,7 +31,7 @@ define Device/vocore2
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_TITLE := VoCore VoCore2
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
- kmod-sdhci kmod-sdhci-mt7620
+ kmod-sdhci-mt7620
endef
TARGET_DEVICES += vocore2
diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk
index 2bece6f..524b1ef 100644
--- a/target/linux/ramips/modules.mk
+++ b/target/linux/ramips/modules.mk
@@ -29,7 +29,7 @@ $(eval $(call KernelPackage,pwm-mediatek))
define KernelPackage/sdhci-mt7620
SUBMENU:=Other modules
TITLE:=MT7620 SDCI
- DEPENDS:=@(TARGET_ramips_mt7620||TARGET_ramips_mt7628||TARGET_ramips_mt7621||TARGET_ramips_mt7688) +kmod-sdhci
+ DEPENDS:=@(TARGET_ramips_mt7620||TARGET_ramips_mt7628||TARGET_ramips_mt7621||TARGET_ramips_mt7688) +kmod-mmc
KCONFIG:= \
CONFIG_MTK_MMC \
CONFIG_MTK_AEE_KDUMP=n \