]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot.imx: Add u-boot configuration for fsl 47/head
authorTom Hochstein <tom.hochstein@nxp.com>
Sat, 16 Feb 2019 16:17:01 +0000 (10:17 -0600)
committerTom Hochstein <tom.hochstein@nxp.com>
Mon, 18 Feb 2019 16:59:56 +0000 (10:59 -0600)
The fsl distro was broken for the following machine files
because they set u-boot configuration to fslc configuration:

- imx6qdlsabreauto
- imx6qdlsabresd
- imx6ulevk

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
conf/machine/imx6qdlsabreauto.conf
conf/machine/imx6qdlsabresd.conf
conf/machine/imx6ulevk.conf
conf/machine/include/imx-base.inc

index 64a13a8a71470f8a1725c67874da3376cef9bab8..8eb9be82caade756fbce6150853569faf393bc19 100644 (file)
@@ -33,6 +33,8 @@ KERNEL_DEVICETREE_use-mainline-bsp = " \
 "
 
 UBOOT_MACHINE ?= "mx6sabreauto_defconfig"
+
+# Use fslc u-boot by default. See also imx-base.inc.
 UBOOT_MAKE_TARGET = "all"
 UBOOT_SUFFIX = "img"
 SPL_BINARY = "SPL"
index ff1a3c76d5c7cb91c4cf79729ab0c8499e579481..18071f0ceb88b84b6508d8082f401492f1fcdb9f 100644 (file)
@@ -33,6 +33,8 @@ KERNEL_DEVICETREE_use-mainline-bsp = " \
 "
 
 UBOOT_MACHINE ?= "mx6sabresd_defconfig"
+
+# Use fslc u-boot by default. See also imx-base.inc.
 UBOOT_MAKE_TARGET = "all"
 UBOOT_SUFFIX = "img"
 SPL_BINARY = "SPL"
index 14f83828a261db32ba0c0a54a5f230bd93cdccd9..01ebce6f687d148621b54cfabba594eb9ebaa6c2 100644 (file)
@@ -16,12 +16,14 @@ KERNEL_DEVICETREE = "imx6ul-14x14-evk.dtb imx6ul-14x14-evk-csi.dtb imx6ul-14x14-
                      imx6ul-14x14-evk-emmc.dtb "
 KERNEL_DEVICETREE_use-mainline-bsp = "imx6ul-14x14-evk.dtb"
 
+# Use fslc u-boot by default. See also imx-base.inc.
+UBOOT_MAKE_TARGET = ""
 UBOOT_SUFFIX = "img"
 SPL_BINARY = "SPL"
-UBOOT_MAKE_TARGET = ""
+WKS_FILE = "imx-uboot-spl-bootpart.wks"
+
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "mx6ul_14x14_evk_config,sdcard"
 UBOOT_CONFIG[emmc] = "mx6ul_14x14_evk_emmc_config,sdcard"
 UBOOT_CONFIG[qspi1] = "mx6ul_14x14_evk_qspi1_config"
 UBOOT_CONFIG[mfgtool] = "mx6ul_14x14_evk_config"
-WKS_FILE = "imx-uboot-spl-bootpart.wks"
index 84f453be916a13fc82c4af194f950aab05927a63..b95bee9e125a7afa9bd36a088be61e4f84b37060 100644 (file)
@@ -310,6 +310,14 @@ SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in"
 
 WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}"
 
+# Certain machines override the default fsl u-boot with the
+# fslc u-boot. To restore the fsl u-boot, add use-fsl-bsp like this:
+#   MACHINEOVERRIDES_prepend_imx6ulevk = "use-fsl-bsp:"
+UBOOT_MAKE_TARGET_use-fsl-bsp = "u-boot.imx"
+UBOOT_SUFFIX_use-fsl-bsp = "imx"
+SPL_BINARY_use-fsl-bsp = ""
+WKS_FILE_use-fsl-bsp = "imx-uboot-bootpart.wks"
+
 SERIAL_CONSOLES = "115200;ttymxc0"
 SERIAL_CONSOLES_mxs = "115200;ttyAMA0"