ramips: allow to use custom code for memory size detection
[openwrt/svn-archive/archive.git] / target / linux / octeon / modules.mk
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define KernelPackage/ata-octeon-cf
9 SUBMENU:=$(BLOCK_MENU)
10 TITLE:=Octeon Compact Flash support
11 DEPENDS:=@TARGET_octeon
12 KCONFIG:=CONFIG_PATA_OCTEON_CF
13 FILES:=$(LINUX_DIR)/drivers/ata/pata_octeon_cf.ko
14 AUTOLOAD:=$(call AutoLoad,41,pata_octeon_cf,1)
15 $(call AddDepends/ata)
16 endef
17
18 define KernelPackage/ata-octeon-cf/description
19 Octeon Compact Flash support.
20 endef
21
22 $(eval $(call KernelPackage,ata-octeon-cf))
23
24
25 define KernelPackage/usb-octeon
26 SUBMENU:=$(USB_MENU)
27 TITLE:=Support for the Octeon USB OTG controller
28 DEPENDS:=@TARGET_octeon
29 KCONFIG:=CONFIG_USB_DWC_OTG
30 FILES:=$(LINUX_DIR)/drivers/usb/host/dwc_otg/dwc_otg.ko
31 AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
32 $(call AddDepends/usb)
33 endef
34
35 define KernelPackage/usb-octeon/description
36 Kernel support for the Octeon USB host controller
37 endef
38
39 $(eval $(call KernelPackage,usb-octeon))
40
41 I2C_OCTEON_MODULES:=\
42 CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon
43
44 define KernelPackage/octeon-i2c
45 $(call i2c_defaults,$(I2C_OCTEON_MODULES),59)
46 TITLE:=I2C master driver for Cavium Octeon
47 DEPENDS:=@TARGET_octeon +kmod-i2c-core
48 endef
49
50 define KernelPackage/octeon-i2c/description
51 Kernel module to use the I2C master driver on Cavium Octeon
52 endef
53
54 $(eval $(call KernelPackage,octeon-i2c))
55