From ad4611ab16bcd09eef11d630159253a12c5ecced Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 1 Jul 2016 15:24:03 -0300 Subject: 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 --- conf/machine/include/imx-base.inc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'conf/machine/include') diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index a6db0382..b54b7f57 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" -- cgit v1.2.3-54-g00ecf