aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-07-01 15:24:03 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-09-08 11:00:24 -0300
commitfdc33571999efc4627a1eb08fdeda7cd72a39388 (patch)
treec4e39dc85a3123e19b5832cd457f5ee0ca4e11ab /conf
parentc514a6b3af51df169d911976c6cfaf9175c0eedf (diff)
downloadmeta-fsl-arm-fdc33571999efc4627a1eb08fdeda7cd72a39388.tar.gz
meta-fsl-arm-fdc33571999efc4627a1eb08fdeda7cd72a39388.tar.bz2
meta-fsl-arm-fdc33571999efc4627a1eb08fdeda7cd72a39388.zip
imx-base.inc: Enable machine overrides extender for i.MX6
This enables the machine overrides extender for the i.MX6 devices. It maps (spaces are used to easy the read): - mx6q -> imxipu imxvpu imxgpu2d imxgpu3d - mx6dl -> imxpxp imxipu imxvpu imxgpu2d imxgpu3d imxepdc - mx6sx -> imxpxp imxgpu2d imxgpu3d - mx6sl -> imxpxp imxgpu2d imxepdc - mx6ul -> imxpxp - mx7d -> imxpxp imxepdc So it allows for reusing of overrides while keeps this control at the BSP side. Change-Id: Ie43aa497ce57b4a29f7b37a3eb941fb0d66691aa Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/imx-base.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index a6db038..b54b7f5 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -48,6 +48,15 @@ DEFAULTTUNE_mx6ul ?= "cortexa7thf-neon"
DEFAULTTUNE_mx7 ?= "cortexa7thf-neon"
DEFAULTTUNE_vf ?= "cortexa5thf-neon"
+INHERIT += "machine-overrides-extender"
+
+MACHINEOVERRIDES_EXTENDER_mx6q = "imxipu:imxvpu:imxgpu2d:imxgpu3d"
+MACHINEOVERRIDES_EXTENDER_mx6dl = "imxpxp:imxipu:imxvpu:imxgpu2d:imxgpu3d:imxepdc"
+MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu2d:imxgpu3d"
+MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu2d:imxepdc"
+MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
+MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc"
+
# Sub-architecture support
MACHINE_SOCARCH_SUFFIX ?= ""
MACHINE_SOCARCH_SUFFIX_mx6q = "-mx6qdl"