summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-07-23 17:25:13 -0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-07-29 16:20:35 +0000
commit9e409a0db9accb71fa4ade6650780f241043a7a0 (patch)
treedeac727f63df5f0a2dcb2e7430870386c3c3ff9a
parentac0258228c3e469e4daf3929420d9b40d402a131 (diff)
downloadmeta-freescale-9e409a0db9accb71fa4ade6650780f241043a7a0.tar.gz
imx8mm-evk: lift imx8mm-lpddr4-evk and imx8mm-ddr4-evk restrictions
The Linux mainline kernel has support for both variations but U-Boot mainline only supports the LPDDR4 version. For now, we restrict the imx8mm-ddr4-evk version to use u-boot-imx. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 43534097a557810b36b4c30495d51d1d129c34b2)
-rw-r--r--conf/machine/imx8mm-ddr4-evk.conf6
-rw-r--r--conf/machine/imx8mm-lpddr4-evk.conf5
-rw-r--r--conf/machine/include/imx8mm-evk.inc3
3 files changed, 2 insertions, 12 deletions
diff --git a/conf/machine/imx8mm-ddr4-evk.conf b/conf/machine/imx8mm-ddr4-evk.conf
index 431485e7..bbfef2c2 100644
--- a/conf/machine/imx8mm-ddr4-evk.conf
+++ b/conf/machine/imx8mm-ddr4-evk.conf
@@ -24,7 +24,5 @@ DDR_FIRMWARE_NAME = " \
24 24
25IMXBOOT_TARGETS_BASENAME = "flash_ddr4_evk" 25IMXBOOT_TARGETS_BASENAME = "flash_ddr4_evk"
26 26
27# Mainline BSP doesn't support DDR4 so it must be set to nxp. 27# Mainline U-Boot doesn't support DDR4 so it must be set to u-boot-imx.
28# Also this machine isn't supported by u-boot-fslc but imx8mm-evk.inc already 28IMX_DEFAULT_BOOTLOADER = "u-boot-imx"
29# set the bootloader to u-boot-imx instead when NXP BSP is used.
30IMX_DEFAULT_BSP = "nxp"
diff --git a/conf/machine/imx8mm-lpddr4-evk.conf b/conf/machine/imx8mm-lpddr4-evk.conf
index 0c886cb1..0a85ed20 100644
--- a/conf/machine/imx8mm-lpddr4-evk.conf
+++ b/conf/machine/imx8mm-lpddr4-evk.conf
@@ -34,8 +34,3 @@ DDR_FIRMWARE_NAME = " \
34" 34"
35 35
36IMXBOOT_TARGETS_BASENAME = "flash_evk" 36IMXBOOT_TARGETS_BASENAME = "flash_evk"
37
38# Mainline BSP doesn't support LPDDR4 so it must be set to nxp.
39# Also this machine isn't supported by u-boot-fslc but imx8mn-evk.inc already
40# set the bootloader to u-boot-imx instead when NXP BSP is used.
41IMX_DEFAULT_BSP = "nxp"
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc
index eba4ac9f..41f7bad4 100644
--- a/conf/machine/include/imx8mm-evk.inc
+++ b/conf/machine/include/imx8mm-evk.inc
@@ -27,9 +27,6 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \
27" 27"
28UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" 28UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb"
29 29
30IMX_DEFAULT_BOOTLOADER:use-nxp-bsp = "u-boot-imx"
31IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc"
32
33UBOOT_SUFFIX = "bin" 30UBOOT_SUFFIX = "bin"
34 31
35UBOOT_CONFIG ??= "sd" 32UBOOT_CONFIG ??= "sd"