apm821xx: make crypto4xx as a standalone module
[openwrt/staging/jow.git] / target / linux / apm821xx / modules.mk
1 define KernelPackage/ata-dwc
2 TITLE:=DesignWare Cores SATA support
3 KCONFIG:=CONFIG_SATA_DWC
4 FILES:=$(LINUX_DIR)/drivers/ata/sata_dwc_460ex.ko
5 AUTOLOAD:=$(call AutoLoad,40,sata_dwc_460ex,1)
6 $(call AddDepends/ata)
7 endef
8
9 define KernelPackage/ata-dwc/description
10 Platform support for the on-chip SATA controller.
11 endef
12
13 $(eval $(call KernelPackage,ata-dwc))
14
15 define KernelPackage/hw-crypto-4xx
16 TITLE:=Driver AMCC PPC4xx crypto accelerator
17 KCONFIG:= \
18 CONFIG_CRYPTO_HW=y \
19 CONFIG_HW_RANDOM=y \
20 CONFIG_CRYPTO_DEV_PPC4XX \
21 CONFIG_HW_RANDOM_PPC4XX=y
22 DEPENDS:=+kmod-random-core +kmod-crypto-manager \
23 +kmod-crypto-ccm +kmod-crypto-gcm \
24 +kmod-crypto-sha1 +kmod-crypto-sha256 +kmod-crypto-sha512
25 FILES:=$(LINUX_DIR)/drivers/crypto/amcc/crypto4xx.ko
26 AUTOLOAD:=$(call AutoLoad,09,sata_dwc_460ex,1)
27 endef
28
29 define KernelPackage/hw-crypto-4xx/description
30 Platform support for the on-chip crypto acceleration.
31 endef
32
33 $(eval $(call KernelPackage,hw-crypto-4xx))