kernel/modules: fix chipidea

it should needs to depend on imx and mxs

also remove duplicate kmod definition from mxs target

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43627 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2014-12-11 18:35:41 +00:00
parent 154f8ef0d8
commit 046c63d707
5 changed files with 9 additions and 25 deletions

View File

@ -1401,9 +1401,9 @@ endef
$(eval $(call KernelPackage,usbip-server))
define KernelPackage/usb-chipidea
define KernelPackage/usb-chipidea-imx
TITLE:=Support for ChipIdea controllers
DEPENDS:=+kmod-usb2 +USB_GADGET_SUPPORT:kmod-usb-gadget
DEPENDS:=@TARGET_imx6||TARGET_mxs +kmod-usb2 +USB_GADGET_SUPPORT:kmod-usb-gadget
KCONFIG:=\
CONFIG_USB_CHIPIDEA \
CONFIG_USB_CHIPIDEA_HOST=y \
@ -1424,12 +1424,12 @@ else
endif
$(call AddDepends/usb)
endef
define KernelPackage/usb-chipidea/description
define KernelPackage/usb-chipidea-imx/description
Kernel support for USB ChipIdea controllers
endef
$(eval $(call KernelPackage,usb-chipidea,1))
$(eval $(call KernelPackage,usb-chipidea-imx,1))
define KernelPackage/usb-mxs-phy

View File

@ -8,7 +8,7 @@
define Profile/Generic
NAME:=Generic (default)
PACKAGES:= \
kmod-thermal-imx kmod-usb-chipidea kmod-usb-mxs-phy \
kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy \
uboot-envtools
endef

View File

@ -8,7 +8,7 @@
define Profile/IMX6DL_WANDBOARD
NAME:=Wandboard Dual
PACKAGES:= \
kmod-thermal-imx kmod-usb-chipidea kmod-usb-mxs-phy \
kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy \
uboot-envtools
endef

View File

@ -8,7 +8,7 @@
define Profile/VENTANA
NAME:=Gateworks Ventana family
PACKAGES:= \
kmod-thermal-imx kmod-sky2 kmod-usb-chipidea kmod-usb-mxs-phy \
kmod-thermal-imx kmod-sky2 kmod-usb-chipidea-imx kmod-usb-mxs-phy \
kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
kmod-can kmod-can-flexcan kmod-can-raw \
kmod-rtc-ds1672 kmod-gpio-pca953x kmod-hwmon-gsc kmod-eeprom-at24 \

View File

@ -33,22 +33,6 @@ endef
$(eval $(call KernelPackage,wdt-stmp3xxx))
define KernelPackage/usb-chipidea-imx
TITLE:=Support for ChipIdea controllers on Freescale i.MX SoCs
DEPENDS:=+kmod-usb-chipidea @TARGET_mxs
FILES:= \
$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko \
$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko
AUTOLOAD:=$(call AutoLoad,52,usbmisc_imx ci_hdrc_imx,1)
$(call AddDepends/usb)
endef
define KernelPackage/usb-chipidea-imx/description
Kernel support for USB ChipIdea controllers on Freescale i.MX SoCs
endef
$(eval $(call KernelPackage,usb-chipidea-imx,1))
define KernelPackage/sound-soc-mxs
TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support
KCONFIG:= \
@ -63,7 +47,7 @@ define KernelPackage/sound-soc-mxs
DEPENDS:=@TARGET_mxs +kmod-sound-soc-core
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-mxs/description
Kernel support for Freescale i.MX23/i.MX28 built-in SoC audio
endef