summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2023-04-12 13:08:09 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2023-04-12 13:10:00 -0300
commit4beaafe643f414da6aff91dd2659bc9c1eefe87f (patch)
tree2bfac219952181654370bce772e03c7dd4da9075
parent2c312439350249a947dcd037c44509f6738e9636 (diff)
downloadmeta-freescale-fix-boot-container.tar.gz
imx-base.inc: dynamically choose if boot container should be usedfix-boot-container
The boot container should be used only if we're not using u-boot-imx as IMX_DEFAULT_BOOTLOADER. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--conf/machine/include/imx-base.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index fabf6d38..37e67dea 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -102,7 +102,10 @@ UBOOT_ENTRYPOINT:vf-generic-bsp ?= "0x80008000"
102# below variable sets that those SoC do use this rather than 102# below variable sets that those SoC do use this rather than
103# assembling it in the imx-boot recipe. 103# assembling it in the imx-boot recipe.
104UBOOT_PROVIDES_BOOT_CONTAINER = "0" 104UBOOT_PROVIDES_BOOT_CONTAINER = "0"
105UBOOT_PROVIDES_BOOT_CONTAINER:mx8m-generic-bsp = "1" 105
106# The boot container should be used only if we're not using u-boot-imx as
107# IMX_DEFAULT_BOOTLOADER.
108UBOOT_PROVIDES_BOOT_CONTAINER:mx8m-generic-bsp = "${@oe.utils.ifelse(d.getVar('IMX_DEFAULT_BOOTLOADER') == 'u-boot-imx', '0', '1')}"
106 109
107# Trusted Firmware for Cortex-A (TF-A) can have different providers, either 110# Trusted Firmware for Cortex-A (TF-A) can have different providers, either
108# from upstream or from NXP downstream fork. Below variable defines which TF-A 111# from upstream or from NXP downstream fork. Below variable defines which TF-A