summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx-base.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-08-02 11:01:05 -0700
committerKhem Raj <raj.khem@gmail.com>2021-08-12 10:08:24 -0700
commit59d36c9832702989bfcca8a5af29fb2dff01efcc (patch)
treeb2b07d98cb22bc5241cde7403b6a15d99821318e /conf/machine/include/imx-base.inc
parent72f59d35816cd2be6159013e4d96d03abf7f1c4b (diff)
downloadmeta-freescale-59d36c9832702989bfcca8a5af29fb2dff01efcc.tar.gz
layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/machine/include/imx-base.inc')
-rw-r--r--conf/machine/include/imx-base.inc346
1 files changed, 173 insertions, 173 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index f92a08af..b8bcecab 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -13,8 +13,8 @@ require conf/machine/include/utilities.inc
13IMX_DEFAULT_BSP ?= "mainline" 13IMX_DEFAULT_BSP ?= "mainline"
14 14
15# Those are SoC families we'd like to force the use of mainline BSP. 15# Those are SoC families we'd like to force the use of mainline BSP.
16IMX_DEFAULT_BSP_mxs ?= "mainline" 16IMX_DEFAULT_BSP:mxs ?= "mainline"
17IMX_DEFAULT_BSP_mx5 ?= "mainline" 17IMX_DEFAULT_BSP:mx5 ?= "mainline"
18 18
19MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" 19MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:"
20 20
@@ -32,16 +32,16 @@ UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
32# ,----[ imx6qdlsabresd.conf ] 32# ,----[ imx6qdlsabresd.conf ]
33# | ### u-boot-fslc settings ### 33# | ### u-boot-fslc settings ###
34# | 34# |
35# | SPL_BINARY_pn-u-boot-fslc = "SPL" 35# | SPL_BINARY:pn-u-boot-fslc = "SPL"
36# | UBOOT_MACHINE_pn-u-boot-fslc ?= "mx6sabresd_defconfig" 36# | UBOOT_MACHINE:pn-u-boot-fslc ?= "mx6sabresd_defconfig"
37# | UBOOT_SUFFIX_pn-u-boot-fslc = "img" 37# | UBOOT_SUFFIX:pn-u-boot-fslc = "img"
38# | 38# |
39# | ### u-boot-imx settings ### 39# | ### u-boot-imx settings ###
40# | 40# |
41# | # The u-boot-imx does not provide unified functionality for DL/Q/QP SoC 41# | # The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
42# | # variants. Change the defconfig to the targeted SoC variant. 42# | # variants. Change the defconfig to the targeted SoC variant.
43# | UBOOT_MACHINE_pn-u-boot-imx ?= "mx6qsabresd_defconfig" 43# | UBOOT_MACHINE:pn-u-boot-imx ?= "mx6qsabresd_defconfig"
44# | UBOOT_SUFFIX_pn-u-boot-imx = "imx" 44# | UBOOT_SUFFIX:pn-u-boot-imx = "imx"
45# `---- 45# `----
46# 46#
47# As result, the 'UBOOT_SUFFIX' is dynamically set based on the preferred U-Boot 47# As result, the 'UBOOT_SUFFIX' is dynamically set based on the preferred U-Boot
@@ -61,7 +61,7 @@ UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
61# | UBOOT_MACHINE = "mx53loco_config" 61# | UBOOT_MACHINE = "mx53loco_config"
62# `---- 62# `----
63IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc" 63IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc"
64UBOOT_SUFFIX ?= "${UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}}" 64UBOOT_SUFFIX ?= "${UBOOT_SUFFIX:pn-${IMX_DEFAULT_BOOTLOADER}}"
65 65
66# We need to export the original variable to allow it to be used when generating 66# We need to export the original variable to allow it to be used when generating
67# wic based images. 67# wic based images.
@@ -75,33 +75,33 @@ PREFERRED_PROVIDER_virtual/bootloader ??= "${IMX_DEFAULT_BOOTLOADER}"
75 75
76PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native" 76PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native"
77 77
78UBOOT_ENTRYPOINT_mxs = "0x40008000" 78UBOOT_ENTRYPOINT:mxs = "0x40008000"
79UBOOT_ENTRYPOINT_mx51 = "0x90008000" 79UBOOT_ENTRYPOINT:mx51 = "0x90008000"
80UBOOT_ENTRYPOINT_mx53 = "0x70008000" 80UBOOT_ENTRYPOINT:mx53 = "0x70008000"
81UBOOT_ENTRYPOINT_mx6 = "0x10008000" 81UBOOT_ENTRYPOINT:mx6 = "0x10008000"
82UBOOT_ENTRYPOINT_mx6sl = "0x80008000" 82UBOOT_ENTRYPOINT:mx6sl = "0x80008000"
83UBOOT_ENTRYPOINT_mx6sll = "0x80008000" 83UBOOT_ENTRYPOINT:mx6sll = "0x80008000"
84UBOOT_ENTRYPOINT_mx6sx = "0x80008000" 84UBOOT_ENTRYPOINT:mx6sx = "0x80008000"
85UBOOT_ENTRYPOINT_mx6ul = "0x80008000" 85UBOOT_ENTRYPOINT:mx6ul = "0x80008000"
86UBOOT_ENTRYPOINT_mx6ull = "0x80008000" 86UBOOT_ENTRYPOINT:mx6ull = "0x80008000"
87UBOOT_ENTRYPOINT_mx6ulz = "0x80008000" 87UBOOT_ENTRYPOINT:mx6ulz = "0x80008000"
88UBOOT_ENTRYPOINT_mx7 = "0x80008000" 88UBOOT_ENTRYPOINT:mx7 = "0x80008000"
89UBOOT_ENTRYPOINT_mx7ulp = "0x60008000" 89UBOOT_ENTRYPOINT:mx7ulp = "0x60008000"
90UBOOT_ENTRYPOINT_mx8m = "0x40480000" 90UBOOT_ENTRYPOINT:mx8m = "0x40480000"
91UBOOT_ENTRYPOINT_vf = "0x80008000" 91UBOOT_ENTRYPOINT:vf = "0x80008000"
92 92
93# Some derivates can utilize the boot container provided by U-Boot, 93# Some derivates can utilize the boot container provided by U-Boot,
94# below variable sets that those machines which have a imx-boot-container 94# below variable sets that those machines which have a imx-boot-container
95# in their MACHINEOVERRIDES can inherit a imx-boot-container class 95# in their MACHINEOVERRIDES can inherit a imx-boot-container class
96UBOOT_PROVIDES_BOOT_CONTAINER = "0" 96UBOOT_PROVIDES_BOOT_CONTAINER = "0"
97UBOOT_PROVIDES_BOOT_CONTAINER_imx-boot-container = "1" 97UBOOT_PROVIDES_BOOT_CONTAINER:imx-boot-container = "1"
98 98
99PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" 99PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
100XSERVER_DRIVER = "xf86-video-fbdev" 100XSERVER_DRIVER = "xf86-video-fbdev"
101XSERVER_DRIVER_imxgpu2d = "xf86-video-imx-vivante" 101XSERVER_DRIVER:imxgpu2d = "xf86-video-imx-vivante"
102XSERVER_DRIVER_vf = "xf86-video-modesetting" 102XSERVER_DRIVER:vf = "xf86-video-modesetting"
103XSERVER_DRIVER_append_mx8 = " xf86-video-modesetting" 103XSERVER_DRIVER:append:mx8 = " xf86-video-modesetting"
104XSERVER_DRIVER_use-mainline-bsp = " \ 104XSERVER_DRIVER:use-mainline-bsp = " \
105 xf86-video-fbdev \ 105 xf86-video-fbdev \
106 xf86-video-modesetting \ 106 xf86-video-modesetting \
107 xserver-xorg-extension-glx \ 107 xserver-xorg-extension-glx \
@@ -118,41 +118,41 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
118# ARM_INSTRUCTION_SET = "thumb" 118# ARM_INSTRUCTION_SET = "thumb"
119# 119#
120# handled by software 120# handled by software
121# DEFAULTTUNE_mx6 ?= "cortexa9t-neon" 121# DEFAULTTUNE:mx6 ?= "cortexa9t-neon"
122# handled by hardware 122# handled by hardware
123DEFAULTTUNE_mx6 ?= "cortexa9thf-neon" 123DEFAULTTUNE:mx6 ?= "cortexa9thf-neon"
124DEFAULTTUNE_mx6ul ?= "cortexa7thf-neon" 124DEFAULTTUNE:mx6ul ?= "cortexa7thf-neon"
125DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon" 125DEFAULTTUNE:mx6ull ?= "cortexa7thf-neon"
126DEFAULTTUNE_mx6ulz ?= "cortexa7thf-neon" 126DEFAULTTUNE:mx6ulz ?= "cortexa7thf-neon"
127DEFAULTTUNE_mx7 ?= "cortexa7thf-neon" 127DEFAULTTUNE:mx7 ?= "cortexa7thf-neon"
128DEFAULTTUNE_vf ?= "cortexa5thf-neon" 128DEFAULTTUNE:vf ?= "cortexa5thf-neon"
129 129
130DEFAULTTUNE_mx8m ?= "cortexa53-crypto" 130DEFAULTTUNE:mx8m ?= "cortexa53-crypto"
131DEFAULTTUNE_mx8qm ?= "cortexa72-cortexa53-crypto" 131DEFAULTTUNE:mx8qm ?= "cortexa72-cortexa53-crypto"
132DEFAULTTUNE_mx8qxp ?= "cortexa35-crypto" 132DEFAULTTUNE:mx8qxp ?= "cortexa35-crypto"
133 133
134INHERIT += "machine-overrides-extender" 134INHERIT += "machine-overrides-extender"
135 135
136MACHINEOVERRIDES_EXTENDER_mx25 = "use-mainline-bsp" 136MACHINEOVERRIDES_EXTENDER:mx25 = "use-mainline-bsp"
137MACHINEOVERRIDES_EXTENDER_mx6q = "imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 137MACHINEOVERRIDES_EXTENDER:mx6q = "imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
138MACHINEOVERRIDES_EXTENDER_mx6dl = "imxfbdev:imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc" 138MACHINEOVERRIDES_EXTENDER:mx6dl = "imxfbdev:imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc"
139MACHINEOVERRIDES_EXTENDER_mx6sx = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" 139MACHINEOVERRIDES_EXTENDER:mx6sx = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
140MACHINEOVERRIDES_EXTENDER_mx6sl = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxepdc" 140MACHINEOVERRIDES_EXTENDER:mx6sl = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxepdc"
141MACHINEOVERRIDES_EXTENDER_mx6sll = "imxfbdev:imxpxp:imxepdc" 141MACHINEOVERRIDES_EXTENDER:mx6sll = "imxfbdev:imxpxp:imxepdc"
142MACHINEOVERRIDES_EXTENDER_mx6ul = "imxfbdev:imxpxp" 142MACHINEOVERRIDES_EXTENDER:mx6ul = "imxfbdev:imxpxp"
143MACHINEOVERRIDES_EXTENDER_mx6ull = "imxfbdev:imxpxp:imxepdc" 143MACHINEOVERRIDES_EXTENDER:mx6ull = "imxfbdev:imxpxp:imxepdc"
144MACHINEOVERRIDES_EXTENDER_mx6ulz = "imxfbdev:imxpxp:imxepdc" 144MACHINEOVERRIDES_EXTENDER:mx6ulz = "imxfbdev:imxpxp:imxepdc"
145MACHINEOVERRIDES_EXTENDER_mx7d = "imxfbdev:imxpxp:imxepdc" 145MACHINEOVERRIDES_EXTENDER:mx7d = "imxfbdev:imxpxp:imxepdc"
146MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" 146MACHINEOVERRIDES_EXTENDER:mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
147MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 147MACHINEOVERRIDES_EXTENDER:mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
148MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 148MACHINEOVERRIDES_EXTENDER:mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
149MACHINEOVERRIDES_EXTENDER_mx8mn = "imxdrm:imxgpu:imxgpu3d" 149MACHINEOVERRIDES_EXTENDER:mx8mn = "imxdrm:imxgpu:imxgpu3d"
150MACHINEOVERRIDES_EXTENDER_mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 150MACHINEOVERRIDES_EXTENDER:mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
151MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" 151MACHINEOVERRIDES_EXTENDER:mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d"
152MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 152MACHINEOVERRIDES_EXTENDER:mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
153MACHINEOVERRIDES_EXTENDER_mx8dxl = "imxfbdev" 153MACHINEOVERRIDES_EXTENDER:mx8dxl = "imxfbdev"
154 154
155MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \ 155MACHINEOVERRIDES_EXTENDER_FILTER_OUT:use-mainline-bsp = " \
156 imx \ 156 imx \
157 \ 157 \
158 mx6 \ 158 mx6 \
@@ -182,40 +182,40 @@ MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
182 182
183# Sub-architecture support 183# Sub-architecture support
184MACHINE_SOCARCH_SUFFIX ?= "" 184MACHINE_SOCARCH_SUFFIX ?= ""
185MACHINE_SOCARCH_SUFFIX_mx6q = "-mx6qdl" 185MACHINE_SOCARCH_SUFFIX:mx6q = "-mx6qdl"
186MACHINE_SOCARCH_SUFFIX_mx6dl = "-mx6qdl" 186MACHINE_SOCARCH_SUFFIX:mx6dl = "-mx6qdl"
187MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx" 187MACHINE_SOCARCH_SUFFIX:mx6sx = "-mx6sx"
188MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl" 188MACHINE_SOCARCH_SUFFIX:mx6sl = "-mx6sl"
189MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll" 189MACHINE_SOCARCH_SUFFIX:mx6sll= "-mx6sll"
190MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d" 190MACHINE_SOCARCH_SUFFIX:mx7d = "-mx7d"
191MACHINE_SOCARCH_SUFFIX_mx7ulp = "-mx7ulp" 191MACHINE_SOCARCH_SUFFIX:mx7ulp = "-mx7ulp"
192MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60" 192MACHINE_SOCARCH_SUFFIX:vf60 = "-vf60"
193MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50" 193MACHINE_SOCARCH_SUFFIX:vf50 = "-vf50"
194MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" 194MACHINE_SOCARCH_SUFFIX:mx6ul = "-mx6ul"
195MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul" 195MACHINE_SOCARCH_SUFFIX:mx6ull = "-mx6ul"
196MACHINE_SOCARCH_SUFFIX_mx6ulz = "-mx6ul" 196MACHINE_SOCARCH_SUFFIX:mx6ulz = "-mx6ul"
197MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" 197MACHINE_SOCARCH_SUFFIX:mx8qm = "-mx8"
198MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm" 198MACHINE_SOCARCH_SUFFIX:mx8mm = "-mx8mm"
199MACHINE_SOCARCH_SUFFIX_mx8mn = "-mx8mn" 199MACHINE_SOCARCH_SUFFIX:mx8mn = "-mx8mn"
200MACHINE_SOCARCH_SUFFIX_mx8mp = "-mx8mp" 200MACHINE_SOCARCH_SUFFIX:mx8mp = "-mx8mp"
201MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" 201MACHINE_SOCARCH_SUFFIX:mx8mq = "-mx8m"
202MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8" 202MACHINE_SOCARCH_SUFFIX:mx8qxp = "-mx8"
203MACHINE_SOCARCH_SUFFIX_mx8dxl = "-mx8dxl" 203MACHINE_SOCARCH_SUFFIX:mx8dxl = "-mx8dxl"
204MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" 204MACHINE_SOCARCH_SUFFIX:use-mainline-bsp = "-imx"
205 205
206MACHINE_ARCH_FILTER = "virtual/kernel" 206MACHINE_ARCH_FILTER = "virtual/kernel"
207MACHINE_SOCARCH_FILTER_append_imx = " \ 207MACHINE_SOCARCH_FILTER:append_imx = " \
208 alsa-lib \ 208 alsa-lib \
209 gstreamer1.0 \ 209 gstreamer1.0 \
210 weston \ 210 weston \
211" 211"
212MACHINE_SOCARCH_FILTER_append_imxvpu = " \ 212MACHINE_SOCARCH_FILTER:append:imxvpu = " \
213 imx-codec \ 213 imx-codec \
214 imx-vpuwrap \ 214 imx-vpuwrap \
215 libimxvpuapi \ 215 libimxvpuapi \
216 virtual/imxvpu \ 216 virtual/imxvpu \
217" 217"
218MACHINE_SOCARCH_FILTER_append_imxgpu = " \ 218MACHINE_SOCARCH_FILTER:append:imxgpu = " \
219 virtual/egl \ 219 virtual/egl \
220 virtual/mesa \ 220 virtual/mesa \
221 virtual/libopenvg \ 221 virtual/libopenvg \
@@ -225,15 +225,15 @@ MACHINE_SOCARCH_FILTER_append_imxgpu = " \
225 opencv \ 225 opencv \
226 pango \ 226 pango \
227" 227"
228MACHINE_SOCARCH_FILTER_append_imxgpu2d = " \ 228MACHINE_SOCARCH_FILTER:append:imxgpu2d = " \
229 virtual/libg2d \ 229 virtual/libg2d \
230" 230"
231MACHINE_SOCARCH_FILTER_append_imxgpu3d = " \ 231MACHINE_SOCARCH_FILTER:append:imxgpu3d = " \
232 virtual/libgl \ 232 virtual/libgl \
233 virtual/libgles1 \ 233 virtual/libgles1 \
234 virtual/libgles2 \ 234 virtual/libgles2 \
235" 235"
236MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \ 236MACHINE_SOCARCH_FILTER:append:use-mainline-bsp = " \
237 virtual/egl \ 237 virtual/egl \
238 virtual/libopenvg \ 238 virtual/libopenvg \
239 virtual/libg2d \ 239 virtual/libg2d \
@@ -245,23 +245,23 @@ MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \
245 pango \ 245 pango \
246 qtbase \ 246 qtbase \
247" 247"
248MACHINE_SOCARCH_FILTER_append_mx6q = " \ 248MACHINE_SOCARCH_FILTER:append:mx6q = " \
249 opencl-icd-loader \ 249 opencl-icd-loader \
250 opencl-clhpp \ 250 opencl-clhpp \
251 opencl-headers \ 251 opencl-headers \
252" 252"
253MACHINE_SOCARCH_FILTER_append_mx8 = " \ 253MACHINE_SOCARCH_FILTER:append:mx8 = " \
254 opencl-icd-loader \ 254 opencl-icd-loader \
255 opencl-clhpp \ 255 opencl-clhpp \
256 opencl-headers \ 256 opencl-headers \
257" 257"
258MACHINE_SOCARCH_FILTER_append_mx8qm = " \ 258MACHINE_SOCARCH_FILTER:append:mx8qm = " \
259 virtual/libopenvx \ 259 virtual/libopenvx \
260" 260"
261 261
262INHERIT += "fsl-dynamic-packagearch" 262INHERIT += "fsl-dynamic-packagearch"
263 263
264SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \ 264SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS:append = " \
265 imx-gpu-viv->kernel-module-imx-gpu-viv \ 265 imx-gpu-viv->kernel-module-imx-gpu-viv \
266 libimxvpuapi->virtual/imxvpu \ 266 libimxvpuapi->virtual/imxvpu \
267 imx-vpuwrap->virtual/imxvpu \ 267 imx-vpuwrap->virtual/imxvpu \
@@ -271,44 +271,44 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \
271 271
272# Firmware 272# Firmware
273MACHINE_FIRMWARE ?= "" 273MACHINE_FIRMWARE ?= ""
274MACHINE_FIRMWARE_append_mx25 = " firmware-imx-sdma-imx25" 274MACHINE_FIRMWARE:append:mx25 = " firmware-imx-sdma-imx25"
275MACHINE_FIRMWARE_append_mx27 = " firmware-imx-vpu-imx27" 275MACHINE_FIRMWARE:append_mx27 = " firmware-imx-vpu-imx27"
276MACHINE_FIRMWARE_append_mx7d = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc" 276MACHINE_FIRMWARE:append:mx7d = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc"
277MACHINE_FIRMWARE_append_mx6 = " linux-firmware-imx-sdma-imx6q" 277MACHINE_FIRMWARE:append:mx6 = " linux-firmware-imx-sdma-imx6q"
278MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q" 278MACHINE_FIRMWARE:append:mx6q = " firmware-imx-vpu-imx6q"
279MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc" 279MACHINE_FIRMWARE:append:mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc"
280MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc" 280MACHINE_FIRMWARE:append:mx6sl = " firmware-imx-epdc"
281MACHINE_FIRMWARE_append_mx6sll = " firmware-imx-epdc" 281MACHINE_FIRMWARE:append:mx6sll = " firmware-imx-epdc"
282MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc" 282MACHINE_FIRMWARE:append:mx6ull = " firmware-imx-epdc"
283MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" 283MACHINE_FIRMWARE:append:mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53"
284MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" 284MACHINE_FIRMWARE:append:mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51"
285MACHINE_FIRMWARE_append_mx8mm = " linux-firmware-imx-sdma-imx7d" 285MACHINE_FIRMWARE:append:mx8mm = " linux-firmware-imx-sdma-imx7d"
286MACHINE_FIRMWARE_append_mx8mn = " linux-firmware-imx-sdma-imx7d" 286MACHINE_FIRMWARE:append:mx8mn = " linux-firmware-imx-sdma-imx7d"
287MACHINE_FIRMWARE_append_mx8mp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx" 287MACHINE_FIRMWARE:append:mx8mp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx"
288MACHINE_FIRMWARE_append_mx8mq = " linux-firmware-imx-sdma-imx7d" 288MACHINE_FIRMWARE:append:mx8mq = " linux-firmware-imx-sdma-imx7d"
289MACHINE_FIRMWARE_append_mx8qm = " firmware-imx-vpu-imx8" 289MACHINE_FIRMWARE:append:mx8qm = " firmware-imx-vpu-imx8"
290MACHINE_FIRMWARE_append_mx8qxp = " firmware-imx-vpu-imx8" 290MACHINE_FIRMWARE:append:mx8qxp = " firmware-imx-vpu-imx8"
291MACHINE_FIRMWARE_append_use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" 291MACHINE_FIRMWARE:append:use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d"
292 292
293MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" 293MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}"
294 294
295# Extra audio support 295# Extra audio support
296IMX_ALSA_EXTRA = "" 296IMX_ALSA_EXTRA = ""
297IMX_ALSA_EXTRA_use-nxp-bsp = "imx-alsa-plugins" 297IMX_ALSA_EXTRA:use-nxp-bsp = "imx-alsa-plugins"
298MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 298MACHINE_EXTRA_RRECOMMENDS:append:mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
299MACHINE_EXTRA_RRECOMMENDS_append_mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 299MACHINE_EXTRA_RRECOMMENDS:append:mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
300MACHINE_EXTRA_RRECOMMENDS_append_mx8 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 300MACHINE_EXTRA_RRECOMMENDS:append:mx8 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
301 301
302# Extra Cypress Wi-Fi and BTW firmware (Murata) 302# Extra Cypress Wi-Fi and BTW firmware (Murata)
303MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}" 303MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}"
304MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}" 304MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}"
305MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}" 305MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}"
306MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}" 306MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}"
307MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4359', 'linux-firmware-bcm4359-pcie', '', d)}" 307MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4359', 'linux-firmware-bcm4359-pcie', '', d)}"
308 308
309# Extra QCA Wi-Fi & BTE driver and firmware 309# Extra QCA Wi-Fi & BTE driver and firmware
310MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca6174', 'packagegroup-fsl-qca6174', '', d)}" 310MACHINE_EXTRA_RRECOMMENDS:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca6174', 'packagegroup-fsl-qca6174', '', d)}"
311MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca9377', 'packagegroup-fsl-qca9377', '', d)}" 311MACHINE_EXTRA_RRECOMMENDS:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca9377', 'packagegroup-fsl-qca9377', '', d)}"
312 312
313# Extra udev rules 313# Extra udev rules
314MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx" 314MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
@@ -320,29 +320,29 @@ MACHINE_EXTRA_RRECOMMENDS += " \
320 320
321# GStreamer 1.0 plugins 321# GStreamer 1.0 plugins
322MACHINE_GSTREAMER_1_0_PLUGIN ?= "" 322MACHINE_GSTREAMER_1_0_PLUGIN ?= ""
323MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" 323MACHINE_GSTREAMER_1_0_PLUGIN:mx6dl ?= "gstreamer1.0-plugins-imx-meta"
324MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" 324MACHINE_GSTREAMER_1_0_PLUGIN:mx6q ?= "gstreamer1.0-plugins-imx-meta"
325MACHINE_GSTREAMER_1_0_PLUGIN_mx6sl ?= "gstreamer1.0-plugins-imx-meta" 325MACHINE_GSTREAMER_1_0_PLUGIN:mx6sl ?= "gstreamer1.0-plugins-imx-meta"
326MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta" 326MACHINE_GSTREAMER_1_0_PLUGIN:mx6sx ?= "gstreamer1.0-plugins-imx-meta"
327MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta" 327MACHINE_GSTREAMER_1_0_PLUGIN:mx6ul ?= "gstreamer1.0-plugins-imx-meta"
328MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta" 328MACHINE_GSTREAMER_1_0_PLUGIN:mx6ull ?= "gstreamer1.0-plugins-imx-meta"
329MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" 329MACHINE_GSTREAMER_1_0_PLUGIN:mx7d ?= "gstreamer1.0-plugins-imx-meta"
330MACHINE_GSTREAMER_1_0_PLUGIN_mx8mm ?= "imx-gst1.0-plugin" 330MACHINE_GSTREAMER_1_0_PLUGIN:mx8mm ?= "imx-gst1.0-plugin"
331MACHINE_GSTREAMER_1_0_PLUGIN_mx8mn ?= "imx-gst1.0-plugin" 331MACHINE_GSTREAMER_1_0_PLUGIN:mx8mn ?= "imx-gst1.0-plugin"
332MACHINE_GSTREAMER_1_0_PLUGIN_mx8mp ?= "imx-gst1.0-plugin" 332MACHINE_GSTREAMER_1_0_PLUGIN:mx8mp ?= "imx-gst1.0-plugin"
333MACHINE_GSTREAMER_1_0_PLUGIN_mx8mq ?= "imx-gst1.0-plugin" 333MACHINE_GSTREAMER_1_0_PLUGIN:mx8mq ?= "imx-gst1.0-plugin"
334MACHINE_GSTREAMER_1_0_PLUGIN_mx8qm ?= "imx-gst1.0-plugin" 334MACHINE_GSTREAMER_1_0_PLUGIN:mx8qm ?= "imx-gst1.0-plugin"
335MACHINE_GSTREAMER_1_0_PLUGIN_mx8qxp ?= "imx-gst1.0-plugin" 335MACHINE_GSTREAMER_1_0_PLUGIN:mx8qxp ?= "imx-gst1.0-plugin"
336 336
337PREFERRED_VERSION_gstreamer1.0_mx8 ?= "1.16.2.imx" 337PREFERRED_VERSION_gstreamer1.0:mx8 ?= "1.16.2.imx"
338PREFERRED_VERSION_gstreamer1.0-plugins-base_mx8 ?= "1.16.2.imx" 338PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8 ?= "1.16.2.imx"
339PREFERRED_VERSION_gstreamer1.0-plugins-good_mx8 ?= "1.16.3.imx" 339PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8 ?= "1.16.3.imx"
340PREFERRED_VERSION_gstreamer1.0-plugins-bad_mx8 ?= "1.16.3.imx" 340PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8 ?= "1.16.3.imx"
341PREFERRED_VERSION_gstreamer1.0-libav_mx8 ?= "1.16.0" 341PREFERRED_VERSION_gstreamer1.0-libav:mx8 ?= "1.16.0"
342 342
343# Determines if the SoC has support for Vivante kernel driver 343# Determines if the SoC has support for Vivante kernel driver
344SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" 344SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0"
345SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_imxgpu = "1" 345SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT:imxgpu = "1"
346 346
347# Handle Vivante kernel driver setting: 347# Handle Vivante kernel driver setting:
348# 0 - machine does not have Vivante GPU driver support 348# 0 - machine does not have Vivante GPU driver support
@@ -361,53 +361,53 @@ PREFERRED_PROVIDER_virtual/libgles1_imxgpu3d ?= "imx-gpu-viv"
361PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d ?= "imx-gpu-viv" 361PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d ?= "imx-gpu-viv"
362PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" 362PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d"
363PREFERRED_PROVIDER_virtual/libg2d_imxdpu ?= "imx-dpu-g2d" 363PREFERRED_PROVIDER_virtual/libg2d_imxdpu ?= "imx-dpu-g2d"
364PREFERRED_PROVIDER_opencl-clhpp_imxgpu ?= "imx-gpu-viv" 364PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv"
365PREFERRED_PROVIDER_opencl-headers_imxgpu ?= "imx-gpu-viv" 365PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv"
366PREFERRED_PROVIDER_opencl-icd-loader_imxgpu ?= "imx-gpu-viv" 366PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv"
367 367
368PREFERRED_VERSION_weston_imx ?= "9.0.0.imx" 368PREFERRED_VERSION_weston_imx ?= "9.0.0.imx"
369PREFERRED_VERSION_weston_use-mainline-bsp = "" 369PREFERRED_VERSION_weston:use-mainline-bsp = ""
370 370
371PREFERRED_VERSION_wayland-protocols_mx6 ?= "1.20.imx" 371PREFERRED_VERSION_wayland-protocols:mx6 ?= "1.20.imx"
372PREFERRED_VERSION_wayland-protocols_mx7 ?= "1.20.imx" 372PREFERRED_VERSION_wayland-protocols:mx7 ?= "1.20.imx"
373PREFERRED_VERSION_wayland-protocols_mx8 ?= "1.20.imx" 373PREFERRED_VERSION_wayland-protocols:mx8 ?= "1.20.imx"
374 374
375# Use i.MX libdrm Version 375# Use i.MX libdrm Version
376PREFERRED_VERSION_libdrm_mx6 ?= "2.4.102.imx" 376PREFERRED_VERSION_libdrm:mx6 ?= "2.4.102.imx"
377PREFERRED_VERSION_libdrm_mx7 ?= "2.4.102.imx" 377PREFERRED_VERSION_libdrm:mx7 ?= "2.4.102.imx"
378PREFERRED_VERSION_libdrm_mx8 ?= "2.4.102.imx" 378PREFERRED_VERSION_libdrm:mx8 ?= "2.4.102.imx"
379 379
380# Use i.MX optee Version 380# Use i.MX optee Version
381PREFERRED_VERSION_optee-os_mx8 ?= "3.10.0.imx" 381PREFERRED_VERSION_optee-os:mx8 ?= "3.10.0.imx"
382PREFERRED_VERSION_optee-client_mx8 ?= "3.10.0.imx" 382PREFERRED_VERSION_optee-client:mx8 ?= "3.10.0.imx"
383PREFERRED_VERSION_optee-test_mx8 ?= "3.10.0.imx" 383PREFERRED_VERSION_optee-test:mx8 ?= "3.10.0.imx"
384 384
385#Use i.MX opencv Version for mx8 385#Use i.MX opencv Version for mx8
386PREFERRED_VERSION_opencv_mx8 ?= "4.5.2.imx" 386PREFERRED_VERSION_opencv:mx8 ?= "4.5.2.imx"
387 387
388# Handle default kernel 388# Handle default kernel
389IMX_DEFAULT_KERNEL = "linux-fslc-imx" 389IMX_DEFAULT_KERNEL = "linux-fslc-imx"
390IMX_DEFAULT_KERNEL_mxs = "linux-fslc" 390IMX_DEFAULT_KERNEL:mxs = "linux-fslc"
391IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" 391IMX_DEFAULT_KERNEL:mx5 = "linux-fslc"
392IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx" 392IMX_DEFAULT_KERNEL:mx6 = "linux-fslc-imx"
393IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx" 393IMX_DEFAULT_KERNEL:mx7 = "linux-fslc-imx"
394IMX_DEFAULT_KERNEL_mx8 = "linux-fslc-imx" 394IMX_DEFAULT_KERNEL:mx8 = "linux-fslc-imx"
395IMX_DEFAULT_KERNEL_mx7ulp = "linux-fslc-imx" 395IMX_DEFAULT_KERNEL:mx7ulp = "linux-fslc-imx"
396IMX_DEFAULT_KERNEL_mx6sll = "linux-fslc-imx" 396IMX_DEFAULT_KERNEL:mx6sll = "linux-fslc-imx"
397IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx" 397IMX_DEFAULT_KERNEL:mx6ul = "linux-fslc-imx"
398IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx" 398IMX_DEFAULT_KERNEL:mx6ull = "linux-fslc-imx"
399IMX_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" 399IMX_DEFAULT_KERNEL:use-mainline-bsp = "linux-fslc"
400 400
401PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" 401PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
402 402
403SOC_DEFAULT_IMAGE_FSTYPES = "wic.bmap wic.gz" 403SOC_DEFAULT_IMAGE_FSTYPES = "wic.bmap wic.gz"
404SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot-mxsboot-sdcard wic.bmap wic.gz" 404SOC_DEFAULT_IMAGE_FSTYPES:mxs = "uboot-mxsboot-sdcard wic.bmap wic.gz"
405 405
406# Do not update fstab file when using wic images 406# Do not update fstab file when using wic images
407WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" 407WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update"
408 408
409OPTEE_BOOT_IMAGE = "uTee" 409OPTEE_BOOT_IMAGE = "uTee"
410OPTEE_BOOT_IMAGE_aarch64 = "" 410OPTEE_BOOT_IMAGE:aarch64 = ""
411 411
412IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" 412IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
413 413
@@ -419,7 +419,7 @@ IMAGE_BOOT_FILES ?= " \
419 419
420### wic default support 420### wic default support
421OPTEE_WKS_FILE_DEPENDS = "optee-os" 421OPTEE_WKS_FILE_DEPENDS = "optee-os"
422OPTEE_WKS_FILE_DEPENDS_aarch64 = "" 422OPTEE_WKS_FILE_DEPENDS:aarch64 = ""
423 423
424WKS_FILE_DEPENDS ?= " \ 424WKS_FILE_DEPENDS ?= " \
425 virtual/bootloader \ 425 virtual/bootloader \
@@ -429,8 +429,8 @@ WKS_FILE_DEPENDS ?= " \
429 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \ 429 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \
430" 430"
431 431
432WKS_FILE_DEPENDS_append_mx8 = " imx-boot" 432WKS_FILE_DEPENDS:append:mx8 = " imx-boot"
433WKS_FILE_DEPENDS_append_mx8m = " imx-boot" 433WKS_FILE_DEPENDS:append:mx8m = " imx-boot"
434 434
435# We need to restrict the append so we don't add this for other i.MX SoC's. 435# We need to restrict the append so we don't add this for other i.MX SoC's.
436# Derivatives that are not yet adopted the usage of boot container provided 436# Derivatives that are not yet adopted the usage of boot container provided
@@ -444,15 +444,15 @@ WKS_FILE_DEPENDS_append_mx8m = " imx-boot"
444# deployment task extesion execution defined in imx-boot-container class. 444# deployment task extesion execution defined in imx-boot-container class.
445# For NXP BSP: rename is done in 'imx-boot' recipe at the execution of compile 445# For NXP BSP: rename is done in 'imx-boot' recipe at the execution of compile
446# task. 446# task.
447WKS_FILE_DEPENDS_append_use-mainline-bsp_aarch64 = " \ 447WKS_FILE_DEPENDS:append:use-mainline-bsp:aarch64 = " \
448 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \ 448 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \
449" 449"
450 450
451SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in" 451SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in"
452SOC_DEFAULT_WKS_FILE_mx8m ?= "imx-imx-boot-bootpart.wks.in" 452SOC_DEFAULT_WKS_FILE:mx8m ?= "imx-imx-boot-bootpart.wks.in"
453 453
454SOC_DEFAULT_WKS_FILE_mx8 ?= "imx-imx-boot-bootpart.wks.in" 454SOC_DEFAULT_WKS_FILE:mx8 ?= "imx-imx-boot-bootpart.wks.in"
455SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in" 455SOC_DEFAULT_WKS_FILE:mxs ?= "imx-uboot-mxs-bootpart.wks.in"
456 456
457# Boot container built as a part of mainline U-Boot uses different WKS 457# Boot container built as a part of mainline U-Boot uses different WKS
458# file as the entire mx8m series, as U-Boot versions later than 2021.04 are 458# file as the entire mx8m series, as U-Boot versions later than 2021.04 are
@@ -462,19 +462,19 @@ SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in"
462# replacement of imx-boot from NXP. 462# replacement of imx-boot from NXP.
463# Creation of those binary files is controlled by UBOOT_PROVIDES_BOOT_CONTAINER 463# Creation of those binary files is controlled by UBOOT_PROVIDES_BOOT_CONTAINER
464# variable defined above. 464# variable defined above.
465SOC_DEFAULT_WKS_FILE_imx-boot-container ?= "imx-boot-container-bootpart.wks.in" 465SOC_DEFAULT_WKS_FILE:imx-boot-container ?= "imx-boot-container-bootpart.wks.in"
466 466
467WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" 467WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}"
468 468
469SERIAL_CONSOLES = "115200;ttymxc0" 469SERIAL_CONSOLES = "115200;ttymxc0"
470SERIAL_CONSOLES_mxs = "115200;ttyAMA0" 470SERIAL_CONSOLES:mxs = "115200;ttyAMA0"
471 471
472KERNEL_IMAGETYPE = "zImage" 472KERNEL_IMAGETYPE = "zImage"
473KERNEL_IMAGETYPE_aarch64 = "Image" 473KERNEL_IMAGETYPE:aarch64 = "Image"
474 474
475MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen" 475MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"
476 476
477# Add the ability to specify _imx machines 477# Add the ability to specify _imx machines
478MACHINEOVERRIDES =. "imx:" 478MACHINEOVERRIDES =. "imx:"
479 479
480HOSTTOOLS_NONFATAL_append_mx8 = " sha384sum" 480HOSTTOOLS_NONFATAL:append:mx8 = " sha384sum"