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-24 11:18:34 -0300
commit776932e187f38ca53ed57fc662461ba0da005520 (patch)
tree490e1782ed6e800bdc0146ed8990934abed5af97 /conf/machine/imx6ulevk.conf
parentd9d5068e7ae6b6e2b55236ff515b50172d44f803 (diff)
downloadmeta-freescale-776932e187f38ca53ed57fc662461ba0da005520.tar.gz
Rework the u-boot-fslc and u-boot-imx settings logic
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 a8acb43d..88a6d566 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 \