4d713b597e8d7b0801b256dbe78fb4ba17c13c21
[openwrt/staging/chunkeey.git] / target / linux / layerscape / modules.mk
1 #
2 # Copyright (C) Jiang Yutang <jiangyutang1978@gmail.com>
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/ahci-qoriq
9 SUBMENU:=$(BLOCK_MENU)
10 TITLE:=Freescale QorIQ AHCI SATA support
11 KCONFIG:=CONFIG_AHCI_QORIQ
12 FILES:=$(LINUX_DIR)/drivers/ata/ahci_qoriq.ko
13 AUTOLOAD:=$(call AutoLoad,40,ahci-qoriq,1)
14 $(call AddDepends/ata,+kmod-ata-ahci-platform @TARGET_layerscape)
15 endef
16
17 define KernelPackage/ahci-qoriq/description
18 This option enables support for the Freescale QorIQ AHCI SoC's
19 onboard AHCI SATA.
20 endef
21
22 $(eval $(call KernelPackage,ahci-qoriq))
23
24 define KernelPackage/ppfe
25 SUBMENU:=$(NETWORK_DEVICES_MENU)
26 TITLE:=Freescale PPFE Driver support
27 DEPENDS:=@TARGET_layerscape
28 KCONFIG:=CONFIG_FSL_PPFE=y \
29 CONFIG_FSL_PPFE_UTIL_DISABLED=y
30 FILES:=$(LINUX_DIR)/drivers/staging/fsl_ppfe/pfe.ko
31 AUTOLOAD:=$(call AutoLoad,35,pfe)
32 endef
33
34 define KernelPackage/ppfe/description
35 Kernel modules for Freescale PPFE Driver support.
36 endef
37
38 $(eval $(call KernelPackage,ppfe))