summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2023-08-21 11:48:06 -0700
committerTom Hochstein <tom.hochstein@nxp.com>2023-08-21 11:48:06 -0700
commit0688f79193e697b1bd7444358a7b46c22b83ca2b (patch)
tree16e399566e36c8d126dfc495270abba825115932 /conf
parent6c130aaf3edd2cd454080175811fbd333b242f36 (diff)
downloadmeta-freescale-0688f79193e697b1bd7444358a7b46c22b83ca2b.tar.gz
imx-base.inc: Implement generic SOC revision design
Rework imx-boot and use-imx-security-controller-firmware.bbclass with a generic SOC revision design implemented in imx-base.inc. This does replace the machine feature design using `soc-rev*`, but maintains backwards compatibility by incorporating that design into the default settings. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/imx-base.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index b0144cac..49c90c1e 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -169,6 +169,20 @@ DEFAULTTUNE:mx93-generic-bsp ?= "cortexa55"
169 169
170INHERIT += "machine-overrides-extender" 170INHERIT += "machine-overrides-extender"
171 171
172IMX_SOC_REV ??= "A0"
173IMX_SOC_REV:mx8qm-generic-bsp ??= "B0"
174IMX_SOC_REV:mx8qxp-generic-bsp ??= \
175 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', 'B0', \
176 'C0', d)}"
177IMX_SOC_REV:mx8dx-generic-bsp ??= "C0"
178IMX_SOC_REV:mx8dxl-generic-bsp ??= "A1"
179IMX_SOC_REV:mx8ulp-generic-bsp ??= \
180 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-reva0', 'A0', \
181 'A1', d)}"
182
183IMX_SOC_REV_LOWER = "${@d.getVar('IMX_SOC_REV').lower()}"
184IMX_SOC_REV_UPPER = "${@d.getVar('IMX_SOC_REV').upper()}"
185
172####### 186#######
173### NXP BSP specific overrides 187### NXP BSP specific overrides
174####### 188#######