summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErnest Van Hoecke <ernest.vanhoecke@toradex.com>2025-08-07 11:30:15 +0200
committerHiago De Franco <hiago.franco@toradex.com>2025-09-09 16:36:55 -0300
commit8e02ec952d04d5f52c9c96f57efe5f866d07c094 (patch)
treeee70fc577311b28e15a8c4a31abb393a70c452b8
parent4e110ac19782e8c0465cf781e516e3b0cd84765b (diff)
downloadmeta-freescale-8e02ec952d04d5f52c9c96f57efe5f866d07c094.tar.gz
imx-oei: Add OEI_DDRCONFIG for imx95 A1 builds
Add new variable OEI_DDRCONFIG to be used with A1 builds to specify the DDR configuration. Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com> (cherry picked from commit 1a77d79203d08b961bc2971685141ea4edf2bdce)
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
index 1230ba63d..33ec90349 100644
--- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
@@ -19,6 +19,7 @@ OEI_CONFIGS ?= "UNDEFINED"
19OEI_CORE ?= "UNDEFINED" 19OEI_CORE ?= "UNDEFINED"
20OEI_SOC ?= "UNDEFINED" 20OEI_SOC ?= "UNDEFINED"
21OEI_BOARD ?= "UNDEFINED" 21OEI_BOARD ?= "UNDEFINED"
22OEI_DDRCONFIG ?= ""
22 23
23LDFLAGS[unexport] = "1" 24LDFLAGS[unexport] = "1"
24 25
@@ -28,6 +29,7 @@ EXTRA_OEMAKE = "\
28 OEI_CROSS_COMPILE=arm-none-eabi-" 29 OEI_CROSS_COMPILE=arm-none-eabi-"
29 30
30EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}" 31EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}"
32EXTRA_OEMAKE:append = " ${@' DDR_CONFIG=${OEI_DDRCONFIG}' if d.getVar('OEI_DDRCONFIG') else ''}"
31 33
32do_configure() { 34do_configure() {
33 for oei_config in ${OEI_CONFIGS}; do 35 for oei_config in ${OEI_CONFIGS}; do