From 553c0bd6060862208871397a8ec2aba3942ca5d0 Mon Sep 17 00:00:00 2001 From: Ernest Van Hoecke Date: Wed, 13 Aug 2025 11:02:20 +0200 Subject: 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 (cherry picked from commit 3a6ac9a5052061aec3252effc0773e55cf5635b8) --- conf/machine/imx95-19x19-verdin.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/machine/imx95-19x19-verdin.conf b/conf/machine/imx95-19x19-verdin.conf index 38acc47da..5ae9ac665 100644 --- a/conf/machine/imx95-19x19-verdin.conf +++ b/conf/machine/imx95-19x19-verdin.conf @@ -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 = " \ -- cgit v1.2.3-54-g00ecf