diff options
Diffstat (limited to 'conf/machine/include/imx-base.inc')
-rw-r--r-- | conf/machine/include/imx-base.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 7e5437d3..459b98d4 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -266,6 +266,11 @@ PREFERRED_VERSION_libdrm_mx6 ?= "2.4.91.imx" | |||
266 | PREFERRED_VERSION_libdrm_mx7 ?= "2.4.91.imx" | 266 | PREFERRED_VERSION_libdrm_mx7 ?= "2.4.91.imx" |
267 | PREFERRED_VERSION_libdrm_mx8 ?= "2.4.91.imx" | 267 | PREFERRED_VERSION_libdrm_mx8 ?= "2.4.91.imx" |
268 | 268 | ||
269 | # Use i.MX optee Version | ||
270 | PREFERRED_VERSION_optee-os_mx8 ?= "3.2.0.imx" | ||
271 | PREFERRED_VERSION_optee-client_mx8 ?= "3.2.0.imx" | ||
272 | PREFERRED_VERSION_optee-test_mx8 ?= "3.2.0.imx" | ||
273 | |||
269 | # Handle default kernel | 274 | # Handle default kernel |
270 | IMX_DEFAULT_KERNEL = "linux-imx" | 275 | IMX_DEFAULT_KERNEL = "linux-imx" |
271 | IMX_DEFAULT_KERNEL_mxs = "linux-fslc" | 276 | IMX_DEFAULT_KERNEL_mxs = "linux-fslc" |
@@ -287,19 +292,29 @@ SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot-mxsboot-sdcard wic.gz" | |||
287 | # Do not update fstab file when using wic images | 292 | # Do not update fstab file when using wic images |
288 | WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" | 293 | WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" |
289 | 294 | ||
295 | OPTEE_BOOT_IMAGE = "uTee" | ||
296 | OPTEE_BOOT_IMAGE_aarch64 = "" | ||
297 | |||
298 | SDCARD_ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext4" | ||
299 | |||
290 | IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" | 300 | IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" |
291 | 301 | ||
292 | IMAGE_BOOT_FILES ?= " \ | 302 | IMAGE_BOOT_FILES ?= " \ |
293 | ${KERNEL_IMAGETYPE} \ | 303 | ${KERNEL_IMAGETYPE} \ |
294 | ${@make_dtb_boot_files(d)} \ | 304 | ${@make_dtb_boot_files(d)} \ |
305 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_BOOT_IMAGE}', '', d)} \ | ||
295 | " | 306 | " |
296 | 307 | ||
297 | ### wic default support | 308 | ### wic default support |
309 | OPTEE_WKS_FILE_DEPENDS = "optee-os" | ||
310 | OPTEE_WKS_FILE_DEPENDS_aarch64 = "" | ||
311 | |||
298 | WKS_FILE_DEPENDS ?= " \ | 312 | WKS_FILE_DEPENDS ?= " \ |
299 | virtual/bootloader \ | 313 | virtual/bootloader \ |
300 | \ | 314 | \ |
301 | e2fsprogs-native \ | 315 | e2fsprogs-native \ |
302 | bmap-tools-native \ | 316 | bmap-tools-native \ |
317 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \ | ||
303 | " | 318 | " |
304 | 319 | ||
305 | WKS_FILE_DEPENDS_mx8 += "imx-boot" | 320 | WKS_FILE_DEPENDS_mx8 += "imx-boot" |