OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
1 | # |
1 | # |
|
2 | # Copyright (C) 2010 OpenWrt.org |
2 | # Copyright (C) 2010 OpenWrt.org |
|
3 | # |
3 | # |
|
4 | # This is free software, licensed under the GNU General Public License v2. |
4 | # This is free software, licensed under the GNU General Public License v2. |
|
5 | # See /LICENSE for more information. |
5 | # See /LICENSE for more information. |
|
6 | # |
6 | # |
|
7 | |
7 | |
|
8 | define KernelPackage/mmc-at91 |
8 | define KernelPackage/mmc-at91 |
|
9 | SUBMENU:=$(OTHER_MENU) |
9 | SUBMENU:=$(OTHER_MENU) |
|
10 | TITLE:=MMC/SD Card Support on AT91 |
10 | TITLE:=MMC/SD Card Support on AT91 |
|
11 | DEPENDS:=@TARGET_at91 +kmod-mmc |
11 | DEPENDS:=@TARGET_at91 +kmod-mmc |
|
12 | KCONFIG:=CONFIG_MMC_AT91 |
12 | KCONFIG:=CONFIG_MMC_AT91 |
|
13 | FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.ko |
13 | FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.ko |
|
14 | AUTOLOAD:=$(call AutoLoad,90,at91_mci,1) |
14 | AUTOLOAD:=$(call AutoLoad,90,at91_mci,1) |
|
15 | endef |
15 | endef |
|
16 | |
16 | |
|
17 | define KernelPackage/mmc-at91/description |
17 | define KernelPackage/mmc-at91/description |
|
18 | Kernel support for MMC/SD cards on the AT91 target |
18 | Kernel support for MMC/SD cards on the AT91 target |
|
19 | endef |
19 | endef |
|
20 | |
20 | |
|
21 | $(eval $(call KernelPackage,mmc-at91)) |
21 | $(eval $(call KernelPackage,mmc-at91)) |
|
22 | |
22 | |
|
23 | define KernelPackage/pwm-atmel |
23 | define KernelPackage/pwm-atmel |
|
24 | SUBMENU:=$(OTHER_MENU) |
24 | SUBMENU:=$(OTHER_MENU) |
|
25 | TITLE:=PWM on atmel SoC |
25 | TITLE:=PWM on atmel SoC |
|
26 | DEPENDS:=@TARGET_at91 |
26 | DEPENDS:=@TARGET_at91 |
|
27 | KCONFIG:=CONFIG_ATMEL_PWM |
27 | KCONFIG:=CONFIG_ATMEL_PWM |
|
28 | FILES:=$(LINUX_DIR)/drivers/misc/atmel_pwm.ko |
28 | FILES:=$(LINUX_DIR)/drivers/misc/atmel_pwm.ko |
|
29 | AUTOLOAD:=$(call AutoLoad,51,atmel_pwm) |
29 | AUTOLOAD:=$(call AutoLoad,51,atmel_pwm) |
|
30 | endef |
30 | endef |
|
31 | |
31 | |
|
32 | define KernelPackage/pwm-atmel/description |
32 | define KernelPackage/pwm-atmel/description |
|
33 | Kernel module to use the PWM channel on ATMEL SoC |
33 | Kernel module to use the PWM channel on ATMEL SoC |
|
34 | endef |
34 | endef |
|
35 | |
35 | |
|
36 | $(eval $(call KernelPackage,pwm-atmel)) |
36 | $(eval $(call KernelPackage,pwm-atmel)) |
|
37 | |
37 | |
|
38 | define KernelPackage/at91-adc |
38 | define KernelPackage/at91-adc |
|
39 | SUBMENU:=$(OTHER_MENU) |
39 | SUBMENU:=$(OTHER_MENU) |
|
40 | TITLE:=ADC on atmel SoC |
40 | TITLE:=ADC on atmel SoC |
|
41 | DEPENDS:=@TARGET_at91 +kmod-iio-core +kmod-input-core |
41 | DEPENDS:=@TARGET_at91 +kmod-iio-core +kmod-input-core |
|
42 | KCONFIG:=CONFIG_AT91_ADC |
42 | KCONFIG:=CONFIG_AT91_ADC |
|
43 | FILES:=$(LINUX_DIR)/drivers/iio/adc/at91_adc.ko |
43 | FILES:=$(LINUX_DIR)/drivers/iio/adc/at91_adc.ko |
|
44 | AUTOLOAD:=$(call AutoLoad,40,at91_adc) |
44 | AUTOLOAD:=$(call AutoLoad,40,at91_adc) |
|
45 | endef |
45 | endef |
|
46 | |
46 | |
|
47 | define KernelPackage/at91-adc/description |
47 | define KernelPackage/at91-adc/description |
|
48 | Kernel module to use the ADC channels of SoC |
48 | Kernel module to use the ADC channels of SoC |
|
49 | endef |
49 | endef |
|
50 | |
50 | |
|
51 | $(eval $(call KernelPackage,at91-adc)) |
51 | $(eval $(call KernelPackage,at91-adc)) |
|
52 | |
52 | |
|
53 | define KernelPackage/at91-udc |
53 | define KernelPackage/at91-udc |
|
54 | SUBMENU:=$(USB_MENU) |
54 | SUBMENU:=$(USB_MENU) |
|
55 | TITLE:=USB Device Controller on atmel SoC |
55 | TITLE:=USB Device Controller on atmel SoC |
|
56 | DEPENDS:=@TARGET_at91 +kmod-usb-gadget +kmod-regmap-core |
56 | DEPENDS:=@TARGET_at91 +kmod-usb-gadget +kmod-regmap |
|
57 | KCONFIG:=CONFIG_USB_AT91 |
57 | KCONFIG:=CONFIG_USB_AT91 |
|
58 | ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/udc/at91_udc.ko),) |
58 | ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/udc/at91_udc.ko),) |
|
59 | FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc/at91_udc.ko |
59 | FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc/at91_udc.ko |
|
60 | else |
60 | else |
|
61 | FILES:=$(LINUX_DIR)/drivers/usb/gadget/at91_udc.ko |
61 | FILES:=$(LINUX_DIR)/drivers/usb/gadget/at91_udc.ko |
|
62 | endif |
62 | endif |
|
63 | AUTOLOAD:=$(call AutoLoad,51,at91_udc) |
63 | AUTOLOAD:=$(call AutoLoad,51,at91_udc) |
|
64 | endef |
64 | endef |
|
65 | |
65 | |
|
66 | define KernelPackage/at91-udc/description |
66 | define KernelPackage/at91-udc/description |
|
67 | Kernel module to use the USB Device controller for Atmel AT91 |
67 | Kernel module to use the USB Device controller for Atmel AT91 |
|
68 | endef |
68 | endef |
|
69 | |
69 | |
|
70 | $(eval $(call KernelPackage,at91-udc)) |
70 | $(eval $(call KernelPackage,at91-udc)) |
|
71 | |
71 | |
|
72 | define KernelPackage/atmel-usba-udc |
72 | define KernelPackage/atmel-usba-udc |
|
73 | SUBMENU:=$(USB_MENU) |
73 | SUBMENU:=$(USB_MENU) |
|
74 | TITLE:=High-speed USB Device Controller on atmel SoC |
74 | TITLE:=High-speed USB Device Controller on atmel SoC |
|
75 | DEPENDS:=@TARGET_at91 +kmod-usb-gadget |
75 | DEPENDS:=@TARGET_at91 +kmod-usb-gadget |
|
76 | KCONFIG:=CONFIG_USB_ATMEL_USBA |
76 | KCONFIG:=CONFIG_USB_ATMEL_USBA |
|
77 | ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/udc/atmel_usba_udc.ko),) |
77 | ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/udc/atmel_usba_udc.ko),) |
|
78 | FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc/atmel_usba_udc.ko |
78 | FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc/atmel_usba_udc.ko |
|
79 | else |
79 | else |
|
80 | FILES:=$(LINUX_DIR)/drivers/usb/gadget/atmel_usba_udc.ko |
80 | FILES:=$(LINUX_DIR)/drivers/usb/gadget/atmel_usba_udc.ko |
|
81 | endif |
81 | endif |
|
82 | AUTOLOAD:=$(call AutoLoad,51,atmel_usba_udc) |
82 | AUTOLOAD:=$(call AutoLoad,51,atmel_usba_udc) |
|
83 | endef |
83 | endef |
|
84 | |
84 | |
|
85 | define KernelPackage/atmel-usba-udc/description |
85 | define KernelPackage/atmel-usba-udc/description |
|
86 | Kernel module to use the High-speed USB Device controller for Atmel AT91 |
86 | Kernel module to use the High-speed USB Device controller for Atmel AT91 |
|
87 | endef |
87 | endef |
|
88 | |
88 | |
|
89 | $(eval $(call KernelPackage,atmel-usba-udc)) |
89 | $(eval $(call KernelPackage,atmel-usba-udc)) |
|
90 | |
90 | |
|
91 | I2C_AT91_MODULES:=\ |
91 | I2C_AT91_MODULES:=\ |
|
92 | CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91 |
92 | CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91 |
|
93 | |
93 | |
|
94 | define KernelPackage/at91-i2c |
94 | define KernelPackage/at91-i2c |
|
95 | $(call i2c_defaults,$(I2C_AT91_MODULES),55) |
95 | $(call i2c_defaults,$(I2C_AT91_MODULES),55) |
|
96 | TITLE:=I2C (TWI) master driver for Atmel AT91 |
96 | TITLE:=I2C (TWI) master driver for Atmel AT91 |
|
97 | DEPENDS:=@TARGET_at91 +kmod-i2c-core |
97 | DEPENDS:=@TARGET_at91 +kmod-i2c-core |
|
98 | endef |
98 | endef |
|
99 | |
99 | |
|
100 | define KernelPackage/at91-i2c/description |
100 | define KernelPackage/at91-i2c/description |
|
101 | Kernel module to use the I2C (TWI) master driver for Atmel AT91 |
101 | Kernel module to use the I2C (TWI) master driver for Atmel AT91 |
|
102 | endef |
102 | endef |
|
103 | |
103 | |
|
104 | $(eval $(call KernelPackage,at91-i2c)) |
104 | $(eval $(call KernelPackage,at91-i2c)) |
|
105 | |
105 | |
|
106 | |
106 | |