summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-07-23 17:25:13 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2022-07-28 14:19:21 -0300
commit44b7aaa10b2dd78ddcd0b5e34fa79cd1682259b2 (patch)
treed8c2a856f5ae309165ebc6e79ebc1fbb0769a9e5
parentfc38a34b27980871c0c828fc87404d41e482c1b9 (diff)
downloadmeta-freescale-topic/upgrade-components.tar.gz
imx8mm-evk: lift imx8mm-lpddr4-evk and imx8mm-ddr4-evk restrictionstopic/upgrade-components
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>
-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..849e00a4 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 and 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"