summaryrefslogtreecommitdiffstats
path: root/conf/machine/imx6qdlsabresd.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/imx6qdlsabresd.conf
parentb138e5cfad698e5add42b876edac443d22a25a52 (diff)
downloadmeta-freescale-c1c5780dc536f2d405f3c9bfafbaeebfc68801f7.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/imx6qdlsabresd.conf')
-rw-r--r--conf/machine/imx6qdlsabresd.conf22
1 files changed, 15 insertions, 7 deletions
diff --git a/conf/machine/imx6qdlsabresd.conf b/conf/machine/imx6qdlsabresd.conf
index baf2192b..b3d09e93 100644
--- a/conf/machine/imx6qdlsabresd.conf
+++ b/conf/machine/imx6qdlsabresd.conf
@@ -41,17 +41,25 @@ KERNEL_DEVICETREE_use-mainline-bsp = " \
41 imx6dl-sabresd.dtb \ 41 imx6dl-sabresd.dtb \
42" 42"
43 43
44UBOOT_MACHINE ?= "mx6sabresd_defconfig" 44### u-boot-fslc settings ###
45 45
46# Use fslc u-boot by default. See also imx-base.inc. 46SPL_BINARY_pn-u-boot-fslc = "SPL"
47UBOOT_MAKE_TARGET = "all" 47UBOOT_MACHINE_pn-u-boot-fslc ?= "mx6sabresd_defconfig"
48UBOOT_SUFFIX = "img" 48UBOOT_SUFFIX_pn-u-boot-fslc = "img"
49SPL_BINARY = "SPL" 49
50WKS_FILE = "imx-uboot-spl-bootpart.wks.in" 50### u-boot-imx settings ###
51 51
52# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC 52# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
53# variants. Change the defconfig to the targeted SoC variant. 53# variants. Change the defconfig to the targeted SoC variant.
54UBOOT_MACHINE_pn-u-boot-imx = "mx6qsabresd_defconfig" 54SPL_BINARY_pn-u-boot-imx = ""
55UBOOT_MACHINE_pn-u-boot-imx ?= "mx6qsabresd_defconfig"
56UBOOT_MAKE_TARGET_pn-u-boot-imx = "u-boot.imx"
57UBOOT_SUFFIX_pn-u-boot-imx = "imx"
58
59WKS_FILE = " \
60 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \
61 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \
62 'imx-uboot-bootpart.wks.in', d)}"
55 63
56SERIAL_CONSOLES = "115200;ttymxc0" 64SERIAL_CONSOLES = "115200;ttymxc0"
57 65