imx95-19x19-verdin: set OEI_DDRCONFIG when IMX_SOC_REV is A0 or A1

Easily allow builds for iMX95 Rev A0/A1 by automatically setting the
necessary variable OEI_DDRCONFIG when IMX_SOC_REV is set to A0/A1.

Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
(cherry picked from commit 3a6ac9a505)
This commit is contained in:
Ernest Van Hoecke 2025-08-13 11:02:20 +02:00 committed by Hiago De Franco
parent 8e1ebe57de
commit 553c0bd606

View File

@ -8,6 +8,12 @@ MACHINEOVERRIDES =. "mx95:"
require conf/machine/include/imx95-evk.inc
# iMX95 Verdin EVK V1.1E is the first revision with a B0 SoC,
# older versions require A0/A1 support, set with the below variable
#IMX_SOC_REV:${MACHINE} = "A0"
# When building for A0/A1 iMX95 SoCs, set OEI_DDRCONFIG accordingly
OEI_DDRCONFIG = "${@'XIMX95LPD5EVK19_6400mbps_train_timing_a1' if d.getVar('IMX_SOC_REV')[0] == 'A' else ''}"
KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin"
KERNEL_DEVICETREE:append:use-nxp-bsp = " \