summaryrefslogtreecommitdiffstats
path: root/conf/machine/imx6ulevk.conf
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2021-03-19 18:51:30 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2021-03-22 18:41:23 -0300
commitc1c5780dc536f2d405f3c9bfafbaeebfc68801f7 (patch)
tree207bc1b64d3c76ac1dc4c8f55ee8c8ef7c270a44 /conf/machine/imx6ulevk.conf
parentb138e5cfad698e5add42b876edac443d22a25a52 (diff)
downloadmeta-freescale-topic/rework-bootloader.tar.gz
Rework the u-boot-fslc and u-boot-imx settings logictopic/rework-bootloader
We need to make it more obvious what is in use, when we support both bootloaders and for it we are now using the _pn suffix for both. This also fixes the WIC_FILE depending on the choice otherwise image build fails. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine/imx6ulevk.conf')
-rw-r--r--conf/machine/imx6ulevk.conf22
1 files changed, 17 insertions, 5 deletions
diff --git a/conf/machine/imx6ulevk.conf b/conf/machine/imx6ulevk.conf
index a8acb43dc..88a6d5661 100644
--- a/conf/machine/imx6ulevk.conf
+++ b/conf/machine/imx6ulevk.conf
@@ -23,11 +23,23 @@ KERNEL_DEVICETREE = " \
23" 23"
24KERNEL_DEVICETREE_use-mainline-bsp = "imx6ul-14x14-evk.dtb" 24KERNEL_DEVICETREE_use-mainline-bsp = "imx6ul-14x14-evk.dtb"
25 25
26# Use fslc u-boot by default. See also imx-base.inc. 26### u-boot-fslc settings ###
27UBOOT_MAKE_TARGET = "" 27
28UBOOT_SUFFIX = "img" 28SPL_BINARY_pn-u-boot-fslc = "SPL"
29SPL_BINARY = "SPL" 29UBOOT_SUFFIX_pn-u-boot-fslc = "img"
30WKS_FILE = "imx-uboot-spl-bootpart.wks.in" 30
31### u-boot-imx settings ###
32
33# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
34# variants. Change the defconfig to the targeted SoC variant.
35SPL_BINARY_pn-u-boot-imx = ""
36UBOOT_MAKE_TARGET_pn-u-boot-imx = "u-boot.imx"
37UBOOT_SUFFIX_pn-u-boot-imx = "imx"
38
39WKS_FILE = " \
40 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \
41 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \
42 'imx-uboot-bootpart.wks.in', d)}"
31 43
32UBOOT_CONFIG ??= " \ 44UBOOT_CONFIG ??= " \
33 sd \ 45 sd \