]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx6qdlsabre*: Add uboot config options for u-boot-imx
authorTom Hochstein <tom.hochstein@nxp.com>
Sun, 22 Aug 2021 00:48:39 +0000 (19:48 -0500)
committerTom Hochstein <tom.hochstein@nxp.com>
Sun, 22 Aug 2021 00:48:39 +0000 (19:48 -0500)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
conf/machine/imx6qdlsabreauto.conf
conf/machine/imx6qdlsabresd.conf

index 8069fb3f7832c544b78e9b875caa1a8569cc09c8..af8a98851c3622e4a263482a410ab320ffb1613a 100644 (file)
@@ -33,20 +33,29 @@ KERNEL_DEVICETREE:use-mainline-bsp = " \
 "
 
 ### u-boot-fslc settings ###
-
 SPL_BINARY:pn-u-boot-fslc = "SPL"
-UBOOT_MACHINE:pn-u-boot-fslc ?= "mx6sabreauto_defconfig"
+UBOOT_CONFIG:pn-u-boot-fslc ??= "sd-fslc"
 UBOOT_SUFFIX:pn-u-boot-fslc = "img"
 
 ### u-boot-imx settings ###
-
-# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
-# variants. Change the defconfig to the targeted SoC variant.
 SPL_BINARY:pn-u-boot-imx = ""
-UBOOT_MACHINE:pn-u-boot-imx = "mx6qsabreauto_defconfig"
+UBOOT_CONFIG:pn-u-boot-imx ??= " \
+    sd-imx \
+"
 UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx"
 UBOOT_SUFFIX:pn-u-boot-imx = "imx"
 
+# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
+# variants. Change the defconfig to the targeted SoC variant.
+UBOOT_CONFIG[sd-fslc]      = "mx6sabreauto_defconfig,sdcard"
+UBOOT_CONFIG[sd-imx]       = "mx6qpsabreauto_defconfig,sdcard"
+UBOOT_CONFIG[sd-optee-imx] = "mx6qpsabreauto_optee_defconfig,sdcard"
+UBOOT_CONFIG[eimnor-imx]   = "mx6qpsabreauto_eimnor_defconfig"
+UBOOT_CONFIG[nand-imx]     = "mx6qpsabreauto_nand_defconfig,ubifs"
+UBOOT_CONFIG[spinor-imx]   = "mx6qpsabreauto_spinor_defconfig"
+UBOOT_CONFIG[sata-imx]     = "mx6qpsabreauto_sata_defconfig"
+UBOOT_CONFIG[mfgtool-imx]  = "mx6qpsabreauto_defconfig"
+
 WKS_FILE = " \
     ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \
                          'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \
index 215e0183475a9a6b6e7f4fb285b83f8dd243d242..1011b8774be0ea69f2bdacdbde2af2e029cb48dd 100644 (file)
@@ -42,20 +42,26 @@ KERNEL_DEVICETREE:use-mainline-bsp = " \
 "
 
 ### u-boot-fslc settings ###
-
 SPL_BINARY:pn-u-boot-fslc = "SPL"
-UBOOT_MACHINE:pn-u-boot-fslc ?= "mx6sabresd_defconfig"
+UBOOT_CONFIG:pn-u-boot-fslc ??= "sd-fslc"
 UBOOT_SUFFIX:pn-u-boot-fslc = "img"
 
 ### u-boot-imx settings ###
-
-# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
-# variants. Change the defconfig to the targeted SoC variant.
 SPL_BINARY:pn-u-boot-imx = ""
-UBOOT_MACHINE:pn-u-boot-imx ?= "mx6qsabresd_defconfig"
+UBOOT_CONFIG:pn-u-boot-imx ??= " \
+    sd-imx \
+"
 UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx"
 UBOOT_SUFFIX:pn-u-boot-imx = "imx"
 
+# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
+# variants. Change the defconfig to the targeted SoC variant.
+UBOOT_CONFIG[sd-fslc]      = "mx6sabresd_defconfig,sdcard"
+UBOOT_CONFIG[sd-imx]       = "mx6qsabresd_defconfig,sdcard"
+UBOOT_CONFIG[sd-optee-imx] = "mx6qsabresd_optee_defconfig,sdcard"
+UBOOT_CONFIG[sata-imx]     = "mx6qsabresd_sata_defconfig"
+UBOOT_CONFIG[mfgtool-imx]  = "mx6qsabresd_defconfig"
+
 WKS_FILE = " \
     ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \
                          'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \