summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx-base.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2020-04-15 17:24:57 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2020-04-15 17:57:41 -0300
commit294d5b1f05b672b19af350c000180261d92104a0 (patch)
treee2df1ee05bbb4ae2a4ea3e63c5cf81b7e40197c9 /conf/machine/include/imx-base.inc
parent4a35d35ce96b1831d4fd74883f964b18a25ba169 (diff)
downloadmeta-freescale-294d5b1f05b672b19af350c000180261d92104a0.tar.gz
Finally fix the mainline BSP vs NXP BSP dynamic change
We cannot change the default BSP based on SoC as we trim out those when moving to the mainline BSP. For this reason, we moved the i.MX8 forced setting to our respective machines as they lack mainline BSP support. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine/include/imx-base.inc')
-rw-r--r--conf/machine/include/imx-base.inc13
1 files changed, 2 insertions, 11 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index aba852a6..f9db2785 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -14,22 +14,13 @@ IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx"
14# DISTROs might change it if need. 14# DISTROs might change it if need.
15# 15#
16# Two values are considered valid: mainline, nxp 16# Two values are considered valid: mainline, nxp
17IMX_DEFAULT_BSP ??= "mainline" 17IMX_DEFAULT_BSP = "mainline"
18 18
19# Those are SoC families we'd like to force the use of mainline BSP. 19# Those are SoC families we'd like to force the use of mainline BSP.
20IMX_DEFAULT_BSP_mxs = "mainline" 20IMX_DEFAULT_BSP_mxs = "mainline"
21IMX_DEFAULT_BSP_mx5 = "mainline" 21IMX_DEFAULT_BSP_mx5 = "mainline"
22 22
23# Those are SoC families we'd like to force to use of NXP BSP. 23MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:"
24IMX_DEFAULT_BSP_mx8mm = "nxp"
25IMX_DEFAULT_BSP_mx8mn = "nxp"
26IMX_DEFAULT_BSP_mx8mq = "nxp"
27IMX_DEFAULT_BSP_mx8qm = "nxp"
28
29# We set the override as a DISTROOVERRIDES so we avoid a cycle while expanding
30# the MACHINEOVERRIDES. This is required so this is reworked late in the
31# expansion cycle.
32DISTROOVERRIDES_append = ":use-${IMX_DEFAULT_BSP}-bsp"
33 24
34PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" 25PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}"
35PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" 26PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native"