diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-04-12 13:08:09 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2023-04-12 13:10:00 -0300 |
commit | 4beaafe643f414da6aff91dd2659bc9c1eefe87f (patch) | |
tree | 2bfac219952181654370bce772e03c7dd4da9075 /conf/machine/include | |
parent | 2c312439350249a947dcd037c44509f6738e9636 (diff) | |
download | meta-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>
Diffstat (limited to 'conf/machine/include')
-rw-r--r-- | conf/machine/include/imx-base.inc | 5 |
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. |
104 | UBOOT_PROVIDES_BOOT_CONTAINER = "0" | 104 | UBOOT_PROVIDES_BOOT_CONTAINER = "0" |
105 | UBOOT_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. | ||
108 | UBOOT_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 |