aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx23/modules.mk
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2013-07-04 22:25:26 +0000
committerZoltan Herpai <wigyori@uid0.hu>2013-07-04 22:25:26 +0000
commitde17203c855d17916e167d2889e3141f3f69dbb7 (patch)
tree56f08d943760cac0d19adf40955505bec6e9bb46 /target/linux/imx23/modules.mk
parent00b5a145677ac890f694898a8d095ad10574abdb (diff)
downloadupstream-de17203c855d17916e167d2889e3141f3f69dbb7.tar.gz
upstream-de17203c855d17916e167d2889e3141f3f69dbb7.tar.bz2
upstream-de17203c855d17916e167d2889e3141f3f69dbb7.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> SVN-Revision: 37175
Diffstat (limited to 'target/linux/imx23/modules.mk')
-rw-r--r--target/linux/imx23/modules.mk27
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))
-