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>

SVN-Revision: 43627
master
John Crispin 10 years ago
parent ed61e202a1
commit 6d52fd203d
  1. 8
      package/kernel/linux/modules/usb.mk
  2. 2
      target/linux/imx6/profiles/100-generic.mk
  3. 2
      target/linux/imx6/profiles/110-wandboard.mk
  4. 2
      target/linux/imx6/profiles/120-gateworks.mk
  5. 16
      target/linux/mxs/modules.mk

@ -1401,9 +1401,9 @@ endef
$(eval $(call KernelPackage,usbip-server)) $(eval $(call KernelPackage,usbip-server))
define KernelPackage/usb-chipidea define KernelPackage/usb-chipidea-imx
TITLE:=Support for ChipIdea controllers 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:=\ KCONFIG:=\
CONFIG_USB_CHIPIDEA \ CONFIG_USB_CHIPIDEA \
CONFIG_USB_CHIPIDEA_HOST=y \ CONFIG_USB_CHIPIDEA_HOST=y \
@ -1425,11 +1425,11 @@ endif
$(call AddDepends/usb) $(call AddDepends/usb)
endef endef
define KernelPackage/usb-chipidea/description define KernelPackage/usb-chipidea-imx/description
Kernel support for USB ChipIdea controllers Kernel support for USB ChipIdea controllers
endef endef
$(eval $(call KernelPackage,usb-chipidea,1)) $(eval $(call KernelPackage,usb-chipidea-imx,1))
define KernelPackage/usb-mxs-phy define KernelPackage/usb-mxs-phy

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

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

@ -8,7 +8,7 @@
define Profile/VENTANA define Profile/VENTANA
NAME:=Gateworks Ventana family NAME:=Gateworks Ventana family
PACKAGES:= \ 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-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
kmod-can kmod-can-flexcan kmod-can-raw \ kmod-can kmod-can-flexcan kmod-can-raw \
kmod-rtc-ds1672 kmod-gpio-pca953x kmod-hwmon-gsc kmod-eeprom-at24 \ kmod-rtc-ds1672 kmod-gpio-pca953x kmod-hwmon-gsc kmod-eeprom-at24 \

@ -33,22 +33,6 @@ endef
$(eval $(call KernelPackage,wdt-stmp3xxx)) $(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 define KernelPackage/sound-soc-mxs
TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support TITLE:=Freescale i.MX23/i.MX28 built-in SoC sound support
KCONFIG:= \ KCONFIG:= \

Loading…
Cancel
Save