aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2019-02-16 10:17:01 -0600
committerTom Hochstein <tom.hochstein@nxp.com>2019-02-28 14:55:46 -0600
commite7704ebea0bda5028081546c652ed04ee227b433 (patch)
treee02fc04494341a91b94fb82793d5f1cbdd5e6fc9
parent6a43f14bce556189cb8e7338148b777ca6f6141a (diff)
downloadmeta-freescale-e7704ebea0bda5028081546c652ed04ee227b433.tar.gz
meta-freescale-e7704ebea0bda5028081546c652ed04ee227b433.tar.bz2
meta-freescale-e7704ebea0bda5028081546c652ed04ee227b433.zip
u-boot.imx: Add u-boot configuration for fsl
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> (cherry picked from commit e5cd33c9b393ce3f434c8cf0d0bfa65357a1a249)
-rw-r--r--conf/machine/imx6qdlsabreauto.conf2
-rw-r--r--conf/machine/imx6qdlsabresd.conf2
-rw-r--r--conf/machine/imx6ulevk.conf6
-rw-r--r--conf/machine/include/imx-base.inc8
4 files changed, 16 insertions, 2 deletions
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf
index fabd4cd0..71b1cf88 100644
--- a/conf/machine/imx6qdlsabreauto.conf
+++ b/conf/machine/imx6qdlsabreauto.conf
@@ -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"
diff --git a/conf/machine/imx6qdlsabresd.conf b/conf/machine/imx6qdlsabresd.conf
index 7cde5059..a8407e28 100644
--- a/conf/machine/imx6qdlsabresd.conf
+++ b/conf/machine/imx6qdlsabresd.conf
@@ -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"
diff --git a/conf/machine/imx6ulevk.conf b/conf/machine/imx6ulevk.conf
index 14f83828..01ebce6f 100644
--- a/conf/machine/imx6ulevk.conf
+++ b/conf/machine/imx6ulevk.conf
@@ -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"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 6366ae82..012af537 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -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_CONSOLE = "115200 ttymxc0"
SERIAL_CONSOLE_mxs = "115200 ttyAMA0"