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 1a77d79203)
This commit is contained in:
Ernest Van Hoecke 2025-08-07 11:30:15 +02:00 committed by Hiago De Franco
parent 4e110ac197
commit 8e02ec952d

View File

@ -19,6 +19,7 @@ OEI_CONFIGS ?= "UNDEFINED"
OEI_CORE ?= "UNDEFINED"
OEI_SOC ?= "UNDEFINED"
OEI_BOARD ?= "UNDEFINED"
OEI_DDRCONFIG ?= ""
LDFLAGS[unexport] = "1"
@ -28,6 +29,7 @@ EXTRA_OEMAKE = "\
OEI_CROSS_COMPILE=arm-none-eabi-"
EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}"
EXTRA_OEMAKE:append = " ${@' DDR_CONFIG=${OEI_DDRCONFIG}' if d.getVar('OEI_DDRCONFIG') else ''}"
do_configure() {
for oei_config in ${OEI_CONFIGS}; do