summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Zhu <junzhu@nxp.com>2026-03-03 20:13:23 +0800
committerJun Zhu <junzhu@nxp.com>2026-03-03 20:20:58 +0800
commitc60f097d7b211df2f1810ea70d0ca75cb8751cb1 (patch)
tree21960599beabeace10334186108c43eb5efdd97f
parent6f13cc05c84d074b84c1288eb7d098d57696256e (diff)
downloadmeta-freescale-c60f097d7b211df2f1810ea70d0ca75cb8751cb1.tar.gz
imx-oei: Update OEI DDR config variable name
Use the underscore separated words - OEI_DDRCONFIG -> OEI_DDR_CONFIG - OEI_DDRCONFIG_ECC -> OEI_DDR_CONFIG_ECC Signed-off-by: Jun Zhu <junzhu@nxp.com>
-rw-r--r--conf/machine/imx95-19x19-verdin.conf4
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc6
2 files changed, 5 insertions, 5 deletions
diff --git a/conf/machine/imx95-19x19-verdin.conf b/conf/machine/imx95-19x19-verdin.conf
index 5ae9ac665..3264324bb 100644
--- a/conf/machine/imx95-19x19-verdin.conf
+++ b/conf/machine/imx95-19x19-verdin.conf
@@ -11,8 +11,8 @@ require conf/machine/include/imx95-evk.inc
11# iMX95 Verdin EVK V1.1E is the first revision with a B0 SoC, 11# iMX95 Verdin EVK V1.1E is the first revision with a B0 SoC,
12# older versions require A0/A1 support, set with the below variable 12# older versions require A0/A1 support, set with the below variable
13#IMX_SOC_REV:${MACHINE} = "A0" 13#IMX_SOC_REV:${MACHINE} = "A0"
14# When building for A0/A1 iMX95 SoCs, set OEI_DDRCONFIG accordingly 14# When building for A0/A1 iMX95 SoCs, set OEI_DDR_CONFIG accordingly
15OEI_DDRCONFIG = "${@'XIMX95LPD5EVK19_6400mbps_train_timing_a1' if d.getVar('IMX_SOC_REV')[0] == 'A' else ''}" 15OEI_DDR_CONFIG = "${@'XIMX95LPD5EVK19_6400mbps_train_timing_a1' if d.getVar('IMX_SOC_REV')[0] == 'A' else ''}"
16 16
17KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin" 17KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin"
18 18
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
index d46080553..7c5303066 100644
--- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
@@ -15,7 +15,7 @@ OEI_CONFIGS ?= "ddr ${@bb.utils.filter('PACKAGECONFIG', 'tcm', d)}"
15OEI_CORE ?= "UNDEFINED" 15OEI_CORE ?= "UNDEFINED"
16OEI_SOC ?= "UNDEFINED" 16OEI_SOC ?= "UNDEFINED"
17OEI_BOARD ?= "UNDEFINED" 17OEI_BOARD ?= "UNDEFINED"
18OEI_DDRCONFIG ?= "" 18OEI_DDR_CONFIG ?= ""
19OEI_DEBUG ?= "0" 19OEI_DEBUG ?= "0"
20 20
21LDFLAGS[unexport] = "1" 21LDFLAGS[unexport] = "1"
@@ -29,9 +29,9 @@ EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}"
29 29
30python () { 30python () {
31 if 'ecc' in d.getVar('PACKAGECONFIG'): 31 if 'ecc' in d.getVar('PACKAGECONFIG'):
32 ddr_conf = d.getVar('OEI_DDRCONFIG_ECC') 32 ddr_conf = d.getVar('OEI_DDR_CONFIG_ECC')
33 else: 33 else:
34 ddr_conf = d.getVar('OEI_DDRCONFIG') 34 ddr_conf = d.getVar('OEI_DDR_CONFIG')
35 if ddr_conf: 35 if ddr_conf:
36 d.appendVar('EXTRA_OEMAKE', ' DDR_CONFIG='+ddr_conf) 36 d.appendVar('EXTRA_OEMAKE', ' DDR_CONFIG='+ddr_conf)
37} 37}