mediatek: remove crypto-hw-mtk package
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 31 Mar 2022 13:38:49 +0000 (10:38 -0300)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 15 Jul 2022 13:55:45 +0000 (15:55 +0200)
The MediaTek's Crypto Engine module is only available for mt7623, in
which case it is built into the kernel.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 3f2d0703b60357e3ff1865783335be9f51528eb8)

target/linux/mediatek/modules.mk

index 9c6fb515f4c6290f5f016a1b416d70bcd3e9a1c0..467934256c64c4bc6a50b618530d80f328a59a87 100644 (file)
@@ -38,26 +38,3 @@ define KernelPackage/sdhci-mtk
 endef
 
 $(eval $(call KernelPackage,sdhci-mtk))
-
-define KernelPackage/crypto-hw-mtk
-  TITLE:= MediaTek's Crypto Engine module
-  DEPENDS:=@TARGET_mediatek
-  KCONFIG:= \
-       CONFIG_CRYPTO_HW=y \
-       CONFIG_CRYPTO_AES=y \
-       CONFIG_CRYPTO_AEAD=y \
-       CONFIG_CRYPTO_SHA1=y \
-       CONFIG_CRYPTO_SHA256=y \
-       CONFIG_CRYPTO_SHA512=y \
-       CONFIG_CRYPTO_HMAC=y \
-       CONFIG_CRYPTO_DEV_MEDIATEK
-  FILES:=$(LINUX_DIR)/drivers/crypto/mediatek/mtk-crypto.ko
-  AUTOLOAD:=$(call AutoLoad,90,mtk-crypto)
-  $(call AddDepends/crypto)
-endef
-
-define KernelPackage/crypto-hw-mtk/description
-  MediaTek's EIP97 Cryptographic Engine driver.
-endef
-
-$(eval $(call KernelPackage,crypto-hw-mtk))