summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx-base.inc
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2020-12-07 21:20:47 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2020-12-11 19:37:54 -0300
commitb93dcbeb9cf7709f3593690cb25f87558347c239 (patch)
treeff615cca00fc1b82d2c3d76e07acecebaeb6db9f /conf/machine/include/imx-base.inc
parent0d839a6186c08fc79319985c916278d8652bb229 (diff)
downloadmeta-freescale-b93dcbeb9cf7709f3593690cb25f87558347c239.tar.gz
conf: machine: imx8m[m,p]: add support for fslc bsp
Add support for FSL Community BSP to imx8mmevk, imx8mpevk and imx8mnevk machines and ease restriction for those machines to be built with NXP-only BSP. FSL Community BSP allows those machines to pick up upstream components in order to construct the image. Bootloader provider is now selected to provide either u-boot-imx or u-boot-fslc for mx8mm machines based on the BSP flavor selected. WIC container is defined to accommodate ATF and option OP-TEE from NXP, as it is required for mx8mm family to boot. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'conf/machine/include/imx-base.inc')
-rw-r--r--conf/machine/include/imx-base.inc14
1 files changed, 9 insertions, 5 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 6295ccd0..4dae43d0 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -5,10 +5,6 @@ include conf/machine/include/fsl-default-versions.inc
5 5
6require conf/machine/include/utilities.inc 6require conf/machine/include/utilities.inc
7 7
8# Set specific make target and binary suffix
9IMX_DEFAULT_BOOTLOADER = "u-boot-fslc"
10IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx"
11
12# Machines or distros can define which BSP it should use by default. We are 8# Machines or distros can define which BSP it should use by default. We are
13# intending to default for mainline BSP by default and specific machines or 9# intending to default for mainline BSP by default and specific machines or
14# DISTROs might change it if need. 10# DISTROs might change it if need.
@@ -22,6 +18,11 @@ IMX_DEFAULT_BSP_mx5 ?= "mainline"
22 18
23MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" 19MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:"
24 20
21# Set specific make target and binary suffix
22IMX_DEFAULT_BOOTLOADER = "u-boot-fslc"
23IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx"
24IMX_DEFAULT_BOOTLOADER_use-mainline-bsp = "u-boot-fslc"
25
25PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" 26PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}"
26PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" 27PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native"
27PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools" 28PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools"
@@ -364,9 +365,12 @@ WKS_FILE_DEPENDS ?= " \
364 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \ 365 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \
365" 366"
366 367
367WKS_FILE_DEPENDS_append_mx8 = " imx-boot " 368WKS_FILE_DEPENDS_append_mx8 = " imx-boot"
369WKS_FILE_DEPENDS_append_use-mainline-bsp = " imx-boot"
368 370
369SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in" 371SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in"
372SOC_DEFAULT_WKS_FILE_mx8m ?= "imx-imx-boot-bootpart.wks.in"
373
370SOC_DEFAULT_WKS_FILE_mx8 ?= "imx-imx-boot-bootpart.wks.in" 374SOC_DEFAULT_WKS_FILE_mx8 ?= "imx-imx-boot-bootpart.wks.in"
371SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in" 375SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in"
372 376