package/freescale-imx: fix i.MX8MMini configuration
authorGary Bisson <gary.bisson@boundarydevices.com>
Thu, 26 Mar 2020 16:49:42 +0000 (17:49 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 30 Mar 2020 06:22:28 +0000 (08:22 +0200)
- Just like i.MX8MQ, i.MX8MMini is using Hantro VPU.
- Platform name wasn't set for i.MX8Mini
  -> now differencing IMX8MQ and IMX8MM for VPU package

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/freescale-imx/Config.in

index f42bb11a3c9145bef964a70ec7e8ccb45a2f42ef..0a5be9c75ab51e86401053dd900df7186dbf30bf 100644 (file)
@@ -66,7 +66,8 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
        default "IMX6UL" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL
        default "IMX7" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7
        default "IMX8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
-       default "IMX8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
+       default "IMX8MQ" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
+       default "IMX8MM" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM
 
 config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
        bool
@@ -77,7 +78,8 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
 
 config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO
        bool
-       default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
+       default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M || \
+               BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM
 
 config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU
        bool