Revert r29193
[openwrt.git] / target / linux / at91 / 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/mmc-at91
9 SUBMENU:=$(OTHER_MENU)
10 TITLE:=MMC/SD Card Support on AT91
11 DEPENDS:=@TARGET_at91 +kmod-mmc
12 KCONFIG:=CONFIG_MMC_AT91
13 FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.ko
14 AUTOLOAD:=$(call AutoLoad,90,at91_mci,1)
15 endef
16
17 define KernelPackage/mmc-at91/description
18 Kernel support for MMC/SD cards on the AT91 target
19 endef
20
21 $(eval $(call KernelPackage,mmc-at91))
22
23 define KernelPackage/pwm-atmel
24 SUBMENU:=$(OTHER_MENU)
25 TITLE:=PWM on atmel SoC
26 DEPENDS:=@TARGET_at91
27 KCONFIG:=CONFIG_GENERIC_PWM \
28 CONFIG_ATMEL_PWM
29 FILES:=$(LINUX_DIR)/drivers/pwm/atmel-pwm.ko
30 AUTOLOAD:=$(call AutoLoad,51,atmel-pwm)
31 endef
32
33 define KernelPackage/pwm-atmel/description
34 Kernel module to use the PWM channel on ATMEL SoC
35 endef
36
37 $(eval $(call KernelPackage,pwm-atmel))
38
39 define KernelPackage/at91-adc
40 SUBMENU:=$(OTHER_MENU)
41 TITLE:=ADC on atmel SoC
42 DEPENDS:=@TARGET_at91
43 KCONFIG:=CONFIG_AT91_ADC
44 FILES:=$(LINUX_DIR)/drivers/misc/at91-adc.ko
45 AUTOLOAD:=$(call AutoLoad,40,at91-adc)
46 endef
47
48 define KernelPackage/at91-adc/description
49 Kernel module to use the ADC channels of SoC
50 endef
51
52 $(eval $(call KernelPackage,at91-adc))
This page took 0.0448 seconds and 5 git commands to generate.