diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-08-21 19:48:39 -0500 |
|---|---|---|
| committer | Tom Hochstein <tom.hochstein@nxp.com> | 2021-08-21 19:48:39 -0500 |
| commit | 4ebabc1936fd0d375541adc47be01878d00b5904 (patch) | |
| tree | 14f861b882451b1acc55a02669040e5fa7ce8029 | |
| parent | 0407a9ecbaedd8aae6be96225632dbe534840e44 (diff) | |
| download | meta-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.conf | 21 | ||||
| -rw-r--r-- | conf/machine/imx6qdlsabresd.conf | 18 |
2 files changed, 27 insertions, 12 deletions
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf index 8069fb3f7..af8a98851 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 | |||
| 37 | SPL_BINARY:pn-u-boot-fslc = "SPL" | 36 | SPL_BINARY:pn-u-boot-fslc = "SPL" |
| 38 | UBOOT_MACHINE:pn-u-boot-fslc ?= "mx6sabreauto_defconfig" | 37 | UBOOT_CONFIG:pn-u-boot-fslc ??= "sd-fslc" |
| 39 | UBOOT_SUFFIX:pn-u-boot-fslc = "img" | 38 | UBOOT_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. | ||
| 45 | SPL_BINARY:pn-u-boot-imx = "" | 41 | SPL_BINARY:pn-u-boot-imx = "" |
| 46 | UBOOT_MACHINE:pn-u-boot-imx = "mx6qsabreauto_defconfig" | 42 | UBOOT_CONFIG:pn-u-boot-imx ??= " \ |
| 43 | sd-imx \ | ||
| 44 | " | ||
| 47 | UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" | 45 | UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" |
| 48 | UBOOT_SUFFIX:pn-u-boot-imx = "imx" | 46 | UBOOT_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. | ||
| 50 | UBOOT_CONFIG[sd-fslc] = "mx6sabreauto_defconfig,sdcard" | ||
| 51 | UBOOT_CONFIG[sd-imx] = "mx6qpsabreauto_defconfig,sdcard" | ||
| 52 | UBOOT_CONFIG[sd-optee-imx] = "mx6qpsabreauto_optee_defconfig,sdcard" | ||
| 53 | UBOOT_CONFIG[eimnor-imx] = "mx6qpsabreauto_eimnor_defconfig" | ||
| 54 | UBOOT_CONFIG[nand-imx] = "mx6qpsabreauto_nand_defconfig,ubifs" | ||
| 55 | UBOOT_CONFIG[spinor-imx] = "mx6qpsabreauto_spinor_defconfig" | ||
| 56 | UBOOT_CONFIG[sata-imx] = "mx6qpsabreauto_sata_defconfig" | ||
| 57 | UBOOT_CONFIG[mfgtool-imx] = "mx6qpsabreauto_defconfig" | ||
| 58 | |||
| 50 | WKS_FILE = " \ | 59 | WKS_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 215e01834..1011b8774 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 | |||
| 46 | SPL_BINARY:pn-u-boot-fslc = "SPL" | 45 | SPL_BINARY:pn-u-boot-fslc = "SPL" |
| 47 | UBOOT_MACHINE:pn-u-boot-fslc ?= "mx6sabresd_defconfig" | 46 | UBOOT_CONFIG:pn-u-boot-fslc ??= "sd-fslc" |
| 48 | UBOOT_SUFFIX:pn-u-boot-fslc = "img" | 47 | UBOOT_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. | ||
| 54 | SPL_BINARY:pn-u-boot-imx = "" | 50 | SPL_BINARY:pn-u-boot-imx = "" |
| 55 | UBOOT_MACHINE:pn-u-boot-imx ?= "mx6qsabresd_defconfig" | 51 | UBOOT_CONFIG:pn-u-boot-imx ??= " \ |
| 52 | sd-imx \ | ||
| 53 | " | ||
| 56 | UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" | 54 | UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" |
| 57 | UBOOT_SUFFIX:pn-u-boot-imx = "imx" | 55 | UBOOT_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. | ||
| 59 | UBOOT_CONFIG[sd-fslc] = "mx6sabresd_defconfig,sdcard" | ||
| 60 | UBOOT_CONFIG[sd-imx] = "mx6qsabresd_defconfig,sdcard" | ||
| 61 | UBOOT_CONFIG[sd-optee-imx] = "mx6qsabresd_optee_defconfig,sdcard" | ||
| 62 | UBOOT_CONFIG[sata-imx] = "mx6qsabresd_sata_defconfig" | ||
| 63 | UBOOT_CONFIG[mfgtool-imx] = "mx6qsabresd_defconfig" | ||
| 64 | |||
| 59 | WKS_FILE = " \ | 65 | WKS_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', \ |
