package/freescale-imx/imx-sc-firmware: bump to version 1.1 to support i.MX8

Signed-off-by: Maeva Manuel <maeva.manuel@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020.02.x
Maeva Manuel 2019-09-09 12:15:00 +00:00 committed by Thomas Petazzoni
parent e11fec61be
commit a9c4bb3517
2 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_IMX_SC_FIRMWARE
bool "imx-sc-firmware"
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 || \
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
help
System Control Unit Firmware blobs for the Freescale i.MX8
SoCs.

View File

@ -17,11 +17,18 @@ define IMX_SC_FIRMWARE_EXTRACT_CMDS
endef
IMX_SC_FIRMWARE_INSTALL_IMAGES = YES
# SCFW firmware is needed when generating imx8-boot-sd.bin which is
# done in post-image script.
ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X),y)
define IMX_SC_FIRMWARE_INSTALL_IMAGES_CMDS
# SCFW firmware is needed when generating imx8-boot-sd.bin which
# is done in post-image script.
cp $(@D)/mx8qx-mek-scfw-tcm.bin $(BINARIES_DIR)/mx8qx-mek-scfw-tcm.bin
cp $(@D)/mx8qx-val-scfw-tcm.bin $(BINARIES_DIR)/mx8qx-val-scfw-tcm.bin
endef
else ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8),y)
define IMX_SC_FIRMWARE_INSTALL_IMAGES_CMDS
cp $(@D)/mx8qm-*-scfw-tcm.bin $(BINARIES_DIR)/
endef
endif
$(eval $(generic-package))