diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2013-07-04 22:25:26 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2013-07-04 22:25:26 +0000 |
commit | 17eb204230751502f712dd1cc09e33b4c0b3e059 (patch) | |
tree | 4c397d20fb3324a1daf34292ed9e1fb1f584587e /target/linux/imx23/modules.mk | |
parent | 7ac10b4555c90fedaee0fa2cc7d7dc3fa5d11b88 (diff) | |
download | upstream-17eb204230751502f712dd1cc09e33b4c0b3e059.tar.gz upstream-17eb204230751502f712dd1cc09e33b4c0b3e059.tar.bz2 upstream-17eb204230751502f712dd1cc09e33b4c0b3e059.zip |
imx23: bump kernel to 3.10
- fix BOARDNAME
- add profile for Olinuxino boards
- prep image Makefile for u-boot inclusion, separate out bootlet build
- update kernel config to reflect updated chipidea requirements
- update rtc/watchdog config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37175 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imx23/modules.mk')
-rw-r--r-- | target/linux/imx23/modules.mk | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/target/linux/imx23/modules.mk b/target/linux/imx23/modules.mk index 91faf513a0..1e27e415ac 100644 --- a/target/linux/imx23/modules.mk +++ b/target/linux/imx23/modules.mk @@ -4,13 +4,27 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. +define KernelPackage/rtc-stmp3xxx + SUBMENU:=$(OTHER_MENU) + TITLE:=STMP3xxx SoC built-in RTC support + DEPENDS:=@(TARGET_imx23) + $(call AddDepends/rtc) + KCONFIG:=\ + CONFIG_RTC_CLASS=y \ + CONFIG_RTC_DRV_STMP=m + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-stmp3xxx.ko + AUTOLOAD:=$(call AutoLoad,50,rtc-stmp3xxx) +endef + +$(eval $(call KernelPackage,rtc-stmp3xxx)) + define KernelPackage/wdt-stmp3xxx SUBMENU:=$(OTHER_MENU) TITLE:=STMP3xxx Watchdog timer - DEPENDS:=@(TARGET_imx23) + DEPENDS:=kmod-rtc-stmp3xxx KCONFIG:=CONFIG_STMP3XXX_RTC_WATCHDOG FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/stmp3xxx_rtc_wdt.ko - AUTOLOAD:=$(call AutoLoad,50,stmp3xxx_rtc_wdt) + AUTOLOAD:=$(call AutoLoad,51,stmp3xxx_rtc_wdt) endef define KernelPackage/wdt-stmp3xxx/description @@ -18,9 +32,9 @@ define KernelPackage/wdt-stmp3xxx/description endef $(eval $(call KernelPackage,wdt-stmp3xxx)) + define KernelPackage/usb-chipidea TITLE:=Support for ChipIdea controllers - DEPENDS:=+kmod-usb2 +kmod-usb-mxs-phy KCONFIG:= \ CONFIG_USB_CHIPIDEA \ CONFIG_USB_CHIPIDEA_HOST=y \ @@ -40,11 +54,11 @@ $(eval $(call KernelPackage,usb-chipidea,1)) define KernelPackage/usb-mxs-phy TITLE:=Support for Freescale MXS USB PHY controllers - DEPENDS:=+kmod-usb2 + DEPENDS:=+kmod-usb-chipidea KCONFIG:= \ CONFIG_USB_MXS_PHY - FILES:=$(LINUX_DIR)/drivers/usb/otg/mxs-phy.ko - AUTOLOAD:=$(call AutoLoad,50,mxs-phy,1) + FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko + AUTOLOAD:=$(call AutoLoad,50,phy-mxs-usb,1) $(call AddDepends/usb) endef @@ -68,4 +82,3 @@ endef $(eval $(call KernelPackage,usb-net-smsc95xx)) - |