summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2021-08-21 19:48:39 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2021-08-21 19:48:39 -0500
commit4ebabc1936fd0d375541adc47be01878d00b5904 (patch)
tree14f861b882451b1acc55a02669040e5fa7ce8029
parent0407a9ecbaedd8aae6be96225632dbe534840e44 (diff)
downloadmeta-freescale-4ebabc1936fd0d375541adc47be01878d00b5904.tar.gz
imx6qdlsabre*: Add uboot config options for u-boot-imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-rw-r--r--conf/machine/imx6qdlsabreauto.conf21
-rw-r--r--conf/machine/imx6qdlsabresd.conf18
2 files changed, 27 insertions, 12 deletions
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf
index 8069fb3f..af8a9885 100644
--- a/conf/machine/imx6qdlsabreauto.conf
+++ b/conf/machine/imx6qdlsabreauto.conf
@@ -33,20 +33,29 @@ KERNEL_DEVICETREE:use-mainline-bsp = " \
33" 33"
34 34
35### u-boot-fslc settings ### 35### u-boot-fslc settings ###
36
37SPL_BINARY:pn-u-boot-fslc = "SPL" 36SPL_BINARY:pn-u-boot-fslc = "SPL"
38UBOOT_MACHINE:pn-u-boot-fslc ?= "mx6sabreauto_defconfig" 37UBOOT_CONFIG:pn-u-boot-fslc ??= "sd-fslc"
39UBOOT_SUFFIX:pn-u-boot-fslc = "img" 38UBOOT_SUFFIX:pn-u-boot-fslc = "img"
40 39
41### u-boot-imx settings ### 40### u-boot-imx settings ###
42
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.
45SPL_BINARY:pn-u-boot-imx = "" 41SPL_BINARY:pn-u-boot-imx = ""
46UBOOT_MACHINE:pn-u-boot-imx = "mx6qsabreauto_defconfig" 42UBOOT_CONFIG:pn-u-boot-imx ??= " \
43 sd-imx \
44"
47UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" 45UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx"
48UBOOT_SUFFIX:pn-u-boot-imx = "imx" 46UBOOT_SUFFIX:pn-u-boot-imx = "imx"
49 47
48# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
49# variants. Change the defconfig to the targeted SoC variant.
50UBOOT_CONFIG[sd-fslc] = "mx6sabreauto_defconfig,sdcard"
51UBOOT_CONFIG[sd-imx] = "mx6qpsabreauto_defconfig,sdcard"
52UBOOT_CONFIG[sd-optee-imx] = "mx6qpsabreauto_optee_defconfig,sdcard"
53UBOOT_CONFIG[eimnor-imx] = "mx6qpsabreauto_eimnor_defconfig"
54UBOOT_CONFIG[nand-imx] = "mx6qpsabreauto_nand_defconfig,ubifs"
55UBOOT_CONFIG[spinor-imx] = "mx6qpsabreauto_spinor_defconfig"
56UBOOT_CONFIG[sata-imx] = "mx6qpsabreauto_sata_defconfig"
57UBOOT_CONFIG[mfgtool-imx] = "mx6qpsabreauto_defconfig"
58
50WKS_FILE = " \ 59WKS_FILE = " \
51 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \ 60 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \
52 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \ 61 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \
diff --git a/conf/machine/imx6qdlsabresd.conf b/conf/machine/imx6qdlsabresd.conf
index 215e0183..1011b877 100644
--- a/conf/machine/imx6qdlsabresd.conf
+++ b/conf/machine/imx6qdlsabresd.conf
@@ -42,20 +42,26 @@ KERNEL_DEVICETREE:use-mainline-bsp = " \
42" 42"
43 43
44### u-boot-fslc settings ### 44### u-boot-fslc settings ###
45
46SPL_BINARY:pn-u-boot-fslc = "SPL" 45SPL_BINARY:pn-u-boot-fslc = "SPL"
47UBOOT_MACHINE:pn-u-boot-fslc ?= "mx6sabresd_defconfig" 46UBOOT_CONFIG:pn-u-boot-fslc ??= "sd-fslc"
48UBOOT_SUFFIX:pn-u-boot-fslc = "img" 47UBOOT_SUFFIX:pn-u-boot-fslc = "img"
49 48
50### u-boot-imx settings ### 49### u-boot-imx settings ###
51
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.
54SPL_BINARY:pn-u-boot-imx = "" 50SPL_BINARY:pn-u-boot-imx = ""
55UBOOT_MACHINE:pn-u-boot-imx ?= "mx6qsabresd_defconfig" 51UBOOT_CONFIG:pn-u-boot-imx ??= " \
52 sd-imx \
53"
56UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" 54UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx"
57UBOOT_SUFFIX:pn-u-boot-imx = "imx" 55UBOOT_SUFFIX:pn-u-boot-imx = "imx"
58 56
57# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
58# variants. Change the defconfig to the targeted SoC variant.
59UBOOT_CONFIG[sd-fslc] = "mx6sabresd_defconfig,sdcard"
60UBOOT_CONFIG[sd-imx] = "mx6qsabresd_defconfig,sdcard"
61UBOOT_CONFIG[sd-optee-imx] = "mx6qsabresd_optee_defconfig,sdcard"
62UBOOT_CONFIG[sata-imx] = "mx6qsabresd_sata_defconfig"
63UBOOT_CONFIG[mfgtool-imx] = "mx6qsabresd_defconfig"
64
59WKS_FILE = " \ 65WKS_FILE = " \
60 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \ 66 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \
61 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \ 67 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \