mirror of https://github.com/hak5/openwrt.git
kirkwood: move mmc/sd features to modules
All devices are using nand images. Built-in MMC/SD modules are not needed anymore. Run tested: pogo v4 Reviewed-by: Sungbo Eo <mans0n@gorani.run> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>master
parent
73c3ba23a4
commit
c5356d10c0
|
@ -391,6 +391,23 @@ endef
|
||||||
$(eval $(call KernelPackage,mmc))
|
$(eval $(call KernelPackage,mmc))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/mvsdio
|
||||||
|
SUBMENU:=$(OTHER_MENU)
|
||||||
|
TITLE:=Marvell MMC/SD/SDIO host driver
|
||||||
|
DEPENDS:=+kmod-mmc @TARGET_kirkwood
|
||||||
|
KCONFIG:= CONFIG_MMC_MVSDIO
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,mvsdio,1)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/mvsdio/description
|
||||||
|
Kernel support for the Marvell SDIO host driver.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,mvsdio))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/sdhci
|
define KernelPackage/sdhci
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=Secure Digital Host Controller Interface support
|
TITLE:=Secure Digital Host Controller Interface support
|
||||||
|
|
|
@ -221,9 +221,6 @@ CONFIG_MDIO_BUS=y
|
||||||
CONFIG_MDIO_DEVICE=y
|
CONFIG_MDIO_DEVICE=y
|
||||||
CONFIG_MEMFD_CREATE=y
|
CONFIG_MEMFD_CREATE=y
|
||||||
CONFIG_MIGRATION=y
|
CONFIG_MIGRATION=y
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_MMC_BLOCK=y
|
|
||||||
CONFIG_MMC_MVSDIO=y
|
|
||||||
# CONFIG_MMC_TIFM_SD is not set
|
# CONFIG_MMC_TIFM_SD is not set
|
||||||
CONFIG_MODULES_USE_ELF_REL=y
|
CONFIG_MODULES_USE_ELF_REL=y
|
||||||
# CONFIG_MTD_CFI is not set
|
# CONFIG_MTD_CFI is not set
|
||||||
|
|
|
@ -36,6 +36,7 @@ define Device/cisco_on100
|
||||||
UBINIZE_OPTS := -E 5
|
UBINIZE_OPTS := -E 5
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
|
||||||
BOARD_NAME := on100
|
BOARD_NAME := on100
|
||||||
|
DEVICE_PACKAGES := kmod-mvsdio
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += cisco_on100
|
TARGET_DEVICES += cisco_on100
|
||||||
|
|
||||||
|
@ -50,7 +51,7 @@ define Device/cloudengines_pogoplugv4
|
||||||
DEVICE_VENDOR := Cloud Engines
|
DEVICE_VENDOR := Cloud Engines
|
||||||
DEVICE_MODEL := Pogoplug V4
|
DEVICE_MODEL := Pogoplug V4
|
||||||
DEVICE_DTS := kirkwood-pogoplug-series-4
|
DEVICE_DTS := kirkwood-pogoplug-series-4
|
||||||
DEVICE_PACKAGES := kmod-ata-marvell-sata kmod-usb3
|
DEVICE_PACKAGES := kmod-ata-marvell-sata kmod-mvsdio kmod-usb3
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += cloudengines_pogoplugv4
|
TARGET_DEVICES += cloudengines_pogoplugv4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue