diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2019-02-16 10:17:01 -0600 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2019-02-18 10:59:56 -0600 |
commit | e5cd33c9b393ce3f434c8cf0d0bfa65357a1a249 (patch) | |
tree | 105eda57233c2441e6e77f5bd7d2034255e30b41 /conf | |
parent | f9721b1f54fbedb76dd0c22054c3c7247e39be71 (diff) | |
download | meta-freescale-e5cd33c9b393ce3f434c8cf0d0bfa65357a1a249.tar.gz |
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>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/imx6qdlsabreauto.conf | 2 | ||||
-rw-r--r-- | conf/machine/imx6qdlsabresd.conf | 2 | ||||
-rw-r--r-- | conf/machine/imx6ulevk.conf | 6 | ||||
-rw-r--r-- | conf/machine/include/imx-base.inc | 8 |
4 files changed, 16 insertions, 2 deletions
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf index 64a13a8a..8eb9be82 100644 --- a/conf/machine/imx6qdlsabreauto.conf +++ b/conf/machine/imx6qdlsabreauto.conf | |||
@@ -33,6 +33,8 @@ KERNEL_DEVICETREE_use-mainline-bsp = " \ | |||
33 | " | 33 | " |
34 | 34 | ||
35 | UBOOT_MACHINE ?= "mx6sabreauto_defconfig" | 35 | UBOOT_MACHINE ?= "mx6sabreauto_defconfig" |
36 | |||
37 | # Use fslc u-boot by default. See also imx-base.inc. | ||
36 | UBOOT_MAKE_TARGET = "all" | 38 | UBOOT_MAKE_TARGET = "all" |
37 | UBOOT_SUFFIX = "img" | 39 | UBOOT_SUFFIX = "img" |
38 | SPL_BINARY = "SPL" | 40 | SPL_BINARY = "SPL" |
diff --git a/conf/machine/imx6qdlsabresd.conf b/conf/machine/imx6qdlsabresd.conf index ff1a3c76..18071f0c 100644 --- a/conf/machine/imx6qdlsabresd.conf +++ b/conf/machine/imx6qdlsabresd.conf | |||
@@ -33,6 +33,8 @@ KERNEL_DEVICETREE_use-mainline-bsp = " \ | |||
33 | " | 33 | " |
34 | 34 | ||
35 | UBOOT_MACHINE ?= "mx6sabresd_defconfig" | 35 | UBOOT_MACHINE ?= "mx6sabresd_defconfig" |
36 | |||
37 | # Use fslc u-boot by default. See also imx-base.inc. | ||
36 | UBOOT_MAKE_TARGET = "all" | 38 | UBOOT_MAKE_TARGET = "all" |
37 | UBOOT_SUFFIX = "img" | 39 | UBOOT_SUFFIX = "img" |
38 | SPL_BINARY = "SPL" | 40 | 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- | |||
16 | imx6ul-14x14-evk-emmc.dtb " | 16 | imx6ul-14x14-evk-emmc.dtb " |
17 | KERNEL_DEVICETREE_use-mainline-bsp = "imx6ul-14x14-evk.dtb" | 17 | KERNEL_DEVICETREE_use-mainline-bsp = "imx6ul-14x14-evk.dtb" |
18 | 18 | ||
19 | # Use fslc u-boot by default. See also imx-base.inc. | ||
20 | UBOOT_MAKE_TARGET = "" | ||
19 | UBOOT_SUFFIX = "img" | 21 | UBOOT_SUFFIX = "img" |
20 | SPL_BINARY = "SPL" | 22 | SPL_BINARY = "SPL" |
21 | UBOOT_MAKE_TARGET = "" | 23 | WKS_FILE = "imx-uboot-spl-bootpart.wks" |
24 | |||
22 | UBOOT_CONFIG ??= "sd" | 25 | UBOOT_CONFIG ??= "sd" |
23 | UBOOT_CONFIG[sd] = "mx6ul_14x14_evk_config,sdcard" | 26 | UBOOT_CONFIG[sd] = "mx6ul_14x14_evk_config,sdcard" |
24 | UBOOT_CONFIG[emmc] = "mx6ul_14x14_evk_emmc_config,sdcard" | 27 | UBOOT_CONFIG[emmc] = "mx6ul_14x14_evk_emmc_config,sdcard" |
25 | UBOOT_CONFIG[qspi1] = "mx6ul_14x14_evk_qspi1_config" | 28 | UBOOT_CONFIG[qspi1] = "mx6ul_14x14_evk_qspi1_config" |
26 | UBOOT_CONFIG[mfgtool] = "mx6ul_14x14_evk_config" | 29 | UBOOT_CONFIG[mfgtool] = "mx6ul_14x14_evk_config" |
27 | WKS_FILE = "imx-uboot-spl-bootpart.wks" | ||
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 84f453be..b95bee9e 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" | |||
310 | 310 | ||
311 | WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" | 311 | WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" |
312 | 312 | ||
313 | # Certain machines override the default fsl u-boot with the | ||
314 | # fslc u-boot. To restore the fsl u-boot, add use-fsl-bsp like this: | ||
315 | # MACHINEOVERRIDES_prepend_imx6ulevk = "use-fsl-bsp:" | ||
316 | UBOOT_MAKE_TARGET_use-fsl-bsp = "u-boot.imx" | ||
317 | UBOOT_SUFFIX_use-fsl-bsp = "imx" | ||
318 | SPL_BINARY_use-fsl-bsp = "" | ||
319 | WKS_FILE_use-fsl-bsp = "imx-uboot-bootpart.wks" | ||
320 | |||
313 | SERIAL_CONSOLES = "115200;ttymxc0" | 321 | SERIAL_CONSOLES = "115200;ttymxc0" |
314 | SERIAL_CONSOLES_mxs = "115200;ttyAMA0" | 322 | SERIAL_CONSOLES_mxs = "115200;ttyAMA0" |
315 | 323 | ||