diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-15 17:24:57 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-15 17:57:41 -0300 |
commit | 294d5b1f05b672b19af350c000180261d92104a0 (patch) | |
tree | e2df1ee05bbb4ae2a4ea3e63c5cf81b7e40197c9 /conf/machine/include/imx-base.inc | |
parent | 4a35d35ce96b1831d4fd74883f964b18a25ba169 (diff) | |
download | meta-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.inc | 13 |
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 |
17 | IMX_DEFAULT_BSP ??= "mainline" | 17 | IMX_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. |
20 | IMX_DEFAULT_BSP_mxs = "mainline" | 20 | IMX_DEFAULT_BSP_mxs = "mainline" |
21 | IMX_DEFAULT_BSP_mx5 = "mainline" | 21 | IMX_DEFAULT_BSP_mx5 = "mainline" |
22 | 22 | ||
23 | # Those are SoC families we'd like to force to use of NXP BSP. | 23 | MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" |
24 | IMX_DEFAULT_BSP_mx8mm = "nxp" | ||
25 | IMX_DEFAULT_BSP_mx8mn = "nxp" | ||
26 | IMX_DEFAULT_BSP_mx8mq = "nxp" | ||
27 | IMX_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. | ||
32 | DISTROOVERRIDES_append = ":use-${IMX_DEFAULT_BSP}-bsp" | ||
33 | 24 | ||
34 | PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" | 25 | PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" |
35 | PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" | 26 | PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" |