package/freescale-imx/firmware-imx: add support for i.MX8QM
authorMaeva Manuel <maeva.manuel@oss.nxp.com>
Wed, 4 Mar 2020 16:14:26 +0000 (17:14 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Mar 2020 22:12:29 +0000 (23:12 +0100)
Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Tested-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/freescale-imx/firmware-imx/firmware-imx.mk

index b251fcda2a8c327b2a49b8d7721537990f5c1033..7f14062f898e5276586c68bb915e4f3fe1635757 100644 (file)
@@ -45,6 +45,14 @@ define FIRMWARE_IMX_INSTALL_IMAGES_CMDS
        cp $(@D)/firmware/hdmi/cadence/signed_hdmi_imx8m.bin \
                $(BINARIES_DIR)/signed_hdmi_imx8m.bin
 endef
+else ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8),y)
+FIRMWARE_IMX_INSTALL_IMAGES = YES
+define FIRMWARE_IMX_INSTALL_IMAGES_CMDS
+       # SECO firmware is needed when generating imx8-boot-sd.bin which
+       # is done in post-image script.
+       cp $(@D)/firmware/seco/mx8qm-ahab-container.img \
+               $(BINARIES_DIR)/ahab-container.img
+endef
 else ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X),y)
 FIRMWARE_IMX_INSTALL_IMAGES = YES
 define FIRMWARE_IMX_INSTALL_IMAGES_CMDS