blob: eabefae3318d89359ea5ee79dc63ebdda6f10c7f [file] [log] [blame]
developer4f0d2ba2023-08-21 17:33:25 +08001# SPDX-Liscense-Identifier: GPL-2.0-or-later
2#
3# Copyright (C) 2023 MediaTek Inc.
4#
5# Author: Chris.Chou <chris.chou@mediatek.com>
6# Ren-Ting Wang <ren-ting.wang@mediatek.com>
7
8# Configure for crypto firmware makefile
9EIP_PKGS+= \
10 crypto-eip-inline-fw
11
12define Package/crypto-eip-inline-fw
13 TITLE:=Mediatek EIP Firmware
14 SECTION:=firmware
15 CATEGORY:=Firmware
16 DEPENDS:=@CRYPTO_OFFLOAD_INLINE
17endef
18
19define Package/crypto-eip-inline-fw/description
20 Load firmware for EIP197 inline mode.
21endef
22
23define Package/crypto-eip-inline-fw/install
24 $(INSTALL_DIR) $(1)/lib/firmware/
25 $(CP) \
26 $(PKG_BUILD_DIR)/firmware/bin/firmware_eip207_ifpp.bin \
27 $(PKG_BUILD_DIR)/firmware/bin/firmware_eip207_ipue.bin \
28 $(PKG_BUILD_DIR)/firmware/bin/firmware_eip207_ofpp.bin \
29 $(PKG_BUILD_DIR)/firmware/bin/firmware_eip207_opue.bin \
30 $(1)/lib/firmware/
31endef