From 0911ad890d40dfc9bd7df886c0dcde74a1b41fa7 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 28 May 2020 15:39:29 +0200 Subject: machines: colibri-imx8x: build for c0 silicon Change the machine 'colibri-imx8x' to build for the C0 silicon SoC version. Add an additional machine 'colibri-imx8x-v10b' which builds for the B0 SoC version. Related-to: ELB-2729 Signed-off-by: Max Krummenacher --- conf/machine/colibri-imx8x-v10b.conf | 15 +++++++++++++++ conf/machine/colibri-imx8x.conf | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 conf/machine/colibri-imx8x-v10b.conf diff --git a/conf/machine/colibri-imx8x-v10b.conf b/conf/machine/colibri-imx8x-v10b.conf new file mode 100644 index 0000000..bce04d8 --- /dev/null +++ b/conf/machine/colibri-imx8x-v10b.conf @@ -0,0 +1,15 @@ +#@TYPE: Machine +#@NAME: Toradex Colibri iMX8X with B0 silicon +#@DESCRIPTION: Toradex Colibri iMX8X powered by a i.MX 8X SoC (B0 silicon) as found on older SoM Versions V1.0B +#@MAINTAINER: Max Krummenacher + +# for C0 silicon add mx8qxpc0:, +# for B0 silicon use empty string +SILICON-OVERRIDES = "" + +MACHINE_NAME = "Colibri-iMX8X-V10B" + +# keep the original machine as an override with high prio +MACHINEOVERRIDES =. "colibri-imx8x:" + +require conf/machine/colibri-imx8x.conf diff --git a/conf/machine/colibri-imx8x.conf b/conf/machine/colibri-imx8x.conf index db1f263..f9982d1 100644 --- a/conf/machine/colibri-imx8x.conf +++ b/conf/machine/colibri-imx8x.conf @@ -6,7 +6,8 @@ MACHINE_NAME = "Colibri-iMX8X" # for C0 silicon add mx8qxpc0 to the right of mx8qxp -MACHINEOVERRIDES =. "mx8:mx8x:mx8qxp:" +SILICON-OVERRIDES ?= "mx8qxpc0:" +MACHINEOVERRIDES =. "mx8:mx8x:mx8qxp:${SILICON-OVERRIDES}" MACHINEOVERRIDES_append_upstream = ":use-mainline-bsp" require conf/machine/include/imx-base.inc -- cgit v1.2.3