diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-08-21 11:48:06 -0700 |
|---|---|---|
| committer | Tom Hochstein <tom.hochstein@nxp.com> | 2023-08-21 11:48:06 -0700 |
| commit | 0688f79193e697b1bd7444358a7b46c22b83ca2b (patch) | |
| tree | 16e399566e36c8d126dfc495270abba825115932 /conf/machine/include | |
| parent | 6c130aaf3edd2cd454080175811fbd333b242f36 (diff) | |
| download | meta-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/machine/include')
| -rw-r--r-- | conf/machine/include/imx-base.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index b0144caca..49c90c1e5 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 | ||
| 170 | INHERIT += "machine-overrides-extender" | 170 | INHERIT += "machine-overrides-extender" |
| 171 | 171 | ||
| 172 | IMX_SOC_REV ??= "A0" | ||
| 173 | IMX_SOC_REV:mx8qm-generic-bsp ??= "B0" | ||
| 174 | IMX_SOC_REV:mx8qxp-generic-bsp ??= \ | ||
| 175 | "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', 'B0', \ | ||
| 176 | 'C0', d)}" | ||
| 177 | IMX_SOC_REV:mx8dx-generic-bsp ??= "C0" | ||
| 178 | IMX_SOC_REV:mx8dxl-generic-bsp ??= "A1" | ||
| 179 | IMX_SOC_REV:mx8ulp-generic-bsp ??= \ | ||
| 180 | "${@bb.utils.contains('MACHINE_FEATURES', 'soc-reva0', 'A0', \ | ||
| 181 | 'A1', d)}" | ||
| 182 | |||
| 183 | IMX_SOC_REV_LOWER = "${@d.getVar('IMX_SOC_REV').lower()}" | ||
| 184 | IMX_SOC_REV_UPPER = "${@d.getVar('IMX_SOC_REV').upper()}" | ||
| 185 | |||
| 172 | ####### | 186 | ####### |
| 173 | ### NXP BSP specific overrides | 187 | ### NXP BSP specific overrides |
| 174 | ####### | 188 | ####### |
