diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2021-03-19 18:51:30 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-03-24 11:18:34 -0300 |
commit | 776932e187f38ca53ed57fc662461ba0da005520 (patch) | |
tree | 490e1782ed6e800bdc0146ed8990934abed5af97 /conf/machine/imx6ulevk.conf | |
parent | d9d5068e7ae6b6e2b55236ff515b50172d44f803 (diff) | |
download | meta-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.conf | 22 |
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 | " |
24 | KERNEL_DEVICETREE_use-mainline-bsp = "imx6ul-14x14-evk.dtb" | 24 | KERNEL_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 ### |
27 | UBOOT_MAKE_TARGET = "" | 27 | |
28 | UBOOT_SUFFIX = "img" | 28 | SPL_BINARY_pn-u-boot-fslc = "SPL" |
29 | SPL_BINARY = "SPL" | 29 | UBOOT_SUFFIX_pn-u-boot-fslc = "img" |
30 | WKS_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. | ||
35 | SPL_BINARY_pn-u-boot-imx = "" | ||
36 | UBOOT_MAKE_TARGET_pn-u-boot-imx = "u-boot.imx" | ||
37 | UBOOT_SUFFIX_pn-u-boot-imx = "imx" | ||
38 | |||
39 | WKS_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 | ||
32 | UBOOT_CONFIG ??= " \ | 44 | UBOOT_CONFIG ??= " \ |
33 | sd \ | 45 | sd \ |