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/imx6qdlsabreauto.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/imx6qdlsabreauto.conf')
| -rw-r--r-- | conf/machine/imx6qdlsabreauto.conf | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf index d4d0979b0..b7aec8c25 100644 --- a/conf/machine/imx6qdlsabreauto.conf +++ b/conf/machine/imx6qdlsabreauto.conf | |||
| @@ -32,17 +32,25 @@ KERNEL_DEVICETREE_use-mainline-bsp = " \ | |||
| 32 | imx6dl-sabreauto.dtb \ | 32 | imx6dl-sabreauto.dtb \ |
| 33 | " | 33 | " |
| 34 | 34 | ||
| 35 | UBOOT_MACHINE ?= "mx6sabreauto_defconfig" | 35 | ### u-boot-fslc settings ### |
| 36 | 36 | ||
| 37 | # Use fslc u-boot by default. See also imx-base.inc. | 37 | SPL_BINARY_pn-u-boot-fslc = "SPL" |
| 38 | UBOOT_MAKE_TARGET = "all" | 38 | UBOOT_MACHINE_pn-u-boot-fslc ?= "mx6sabreauto_defconfig" |
| 39 | UBOOT_SUFFIX = "img" | 39 | UBOOT_SUFFIX_pn-u-boot-fslc = "img" |
| 40 | SPL_BINARY = "SPL" | 40 | |
| 41 | WKS_FILE = "imx-uboot-spl-bootpart.wks.in" | 41 | ### u-boot-imx settings ### |
| 42 | 42 | ||
| 43 | # The u-boot-imx does not provide unified functionality for DL/Q/QP SoC | 43 | # The u-boot-imx does not provide unified functionality for DL/Q/QP SoC |
| 44 | # variants. Change the defconfig to the targeted SoC variant. | 44 | # variants. Change the defconfig to the targeted SoC variant. |
| 45 | SPL_BINARY_pn-u-boot-imx = "" | ||
| 45 | UBOOT_MACHINE_pn-u-boot-imx = "mx6qsabreauto_defconfig" | 46 | UBOOT_MACHINE_pn-u-boot-imx = "mx6qsabreauto_defconfig" |
| 47 | UBOOT_MAKE_TARGET_pn-u-boot-imx = "u-boot.imx" | ||
| 48 | UBOOT_SUFFIX_pn-u-boot-imx = "imx" | ||
| 49 | |||
| 50 | WKS_FILE = " \ | ||
| 51 | ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \ | ||
| 52 | 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \ | ||
| 53 | 'imx-uboot-bootpart.wks.in', d)}" | ||
| 46 | 54 | ||
| 47 | SERIAL_CONSOLES = "115200;ttymxc3" | 55 | SERIAL_CONSOLES = "115200;ttymxc3" |
| 48 | 56 | ||
