package/freescale-imx: Add installation of easrc-imx8mn.bin firmware

The easrc firmware is used for audio resampling. The firmware for now
exists only for imx8mn device

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Michael Trimarchi 2022-01-29 15:08:31 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 6c00a319ac
commit b538b43c76
2 changed files with 16 additions and 0 deletions

View File

@ -39,6 +39,10 @@ config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW
bool
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EASRC_FW
bool
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EPDC_FW
bool
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q

View File

@ -113,6 +113,17 @@ define FIRMWARE_IMX_INSTALL_IMAGE_HDMI_FW
endef
endif
#
# EASRC firmware
#
ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EASRC_FW),y)
define FIRMWARE_IMX_INSTALL_TARGET_EASRC_FW
mkdir -p $(TARGET_DIR)/lib/firmware/imx
cp -r $(@D)/firmware/easrc $(TARGET_DIR)/lib/firmware/imx
endef
endif
#
# EPDC firmware
#
@ -160,6 +171,7 @@ define FIRMWARE_IMX_INSTALL_IMAGES_CMDS
endef
define FIRMWARE_IMX_INSTALL_TARGET_CMDS
$(FIRMWARE_IMX_INSTALL_TARGET_EASRC_FW)
$(FIRMWARE_IMX_INSTALL_TARGET_EPDC_FW)
$(FIRMWARE_IMX_INSTALL_TARGET_SDMA_FW)
$(FIRMWARE_IMX_INSTALL_TARGET_VPU_FW)