package/freescale-imx: add option for i.MX8M Nano
authorGary Bisson <gary.bisson@boundarydevices.com>
Wed, 15 Apr 2020 16:18:25 +0000 (18:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 Apr 2020 13:31:05 +0000 (15:31 +0200)
The i.MX8M Nano is slightly different from the i.MX8M Mini but very
close (pin to pin compatible).
Mainly the Nano version has no VPU and another GPU (GC7000UL).

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

index 0a5be9c75ab51e86401053dd900df7186dbf30bf..b0c7de84365011bff2c4bbab791a75103d356742 100644 (file)
@@ -49,6 +49,9 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
 config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM
        bool "imx8mm"
 
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN
+       bool "imx8mn"
+
 config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
        bool "imx8x"
 endchoice
@@ -68,6 +71,7 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
        default "IMX8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
        default "IMX8MQ" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
        default "IMX8MM" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM
+       default "IMX8MN" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN
 
 config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
        bool
@@ -89,6 +93,7 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU
                BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 || \
                BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M || \
                BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM || \
+               BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN || \
                BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
 
 source "package/freescale-imx/imx-alsa-plugins/Config.in"