package/freescale-imx/imx-sc-firmware: bump to version 1.1 to support i.MX8
authorMaeva Manuel <maeva.manuel@nxp.com>
Mon, 9 Sep 2019 12:15:00 +0000 (12:15 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 5 Feb 2020 11:25:29 +0000 (12:25 +0100)
Signed-off-by: Maeva Manuel <maeva.manuel@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/freescale-imx/imx-sc-firmware/Config.in
package/freescale-imx/imx-sc-firmware/imx-sc-firmware.mk

index 4a22f72b1f2766e82947593985b38b04ec0e2a8c..4932e62dd23f0f5e703a8dfebfb88232a793de32 100644 (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.
index cb4e046b8a6157e28f05bdcbf159cfd353c9c2dd..6a768ea109786604d99c51e83212785ebb381687 100644 (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))