Return-Path: Received: from mail-yh0-f44.google.com (mail-yh0-f44.google.com [209.85.213.44]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BA1ACE005B1 for ; Mon, 9 Dec 2013 09:26:30 -0800 (PST) Received: by mail-yh0-f44.google.com with SMTP id f64so2909205yha.31 for ; Mon, 09 Dec 2013 09:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=1dwAFvKeAH5SSAxHuzRJ3a1Ap0/7Q6nnypKDbWyj6fw=; b=blEzvjHwyYRS1f4U9WUi5d2CCy/HtDf/sRuPYbF4q1D5l9mA9cekk/QkyExpVeWyXW yZTX7UvStO+iMwlRsG0+BhOE+dpiOH2D64Ov1tBqgOX11C5AI5O3s4DeMEI8wVNEyye5 zSQYDhHoG4G5JYKMvMJXvOpbaJ0vToiRJre1ojJDUOo3DlxJnsHLImZr8IWP30sD8snr W9P4p5PJVJMTau+TLAEYfvGkZVZH/EgMlTkRltbQebS5VbdYK/vW1nHElCdGv2kjej8j 7AnPfR8gKlcAbj9uyupvjf/fcpvLFXWVJi69mVjHBvDL/kA6Wkx5o7u+duzG1RQ5avTB eTSQ== X-Received: by 10.236.16.41 with SMTP id g29mr67533437yhg.17.1386609989208; Mon, 09 Dec 2013 09:26:29 -0800 (PST) Received: from monster.lab.ossystems.com.br ([177.194.208.225]) by mx.google.com with ESMTPSA id b30sm17370517yhm.5.2013.12.09.09.26.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 09 Dec 2013 09:26:28 -0800 (PST) Sender: Mario Domenech Goulart From: Mario Domenech Goulart To: meta-freescale@yoctoproject.org Date: Mon, 9 Dec 2013 15:26:15 -0200 Message-Id: <1386609976-24625-1-git-send-email-mario@ossystems.com.br> X-Mailer: git-send-email 1.7.10.4 Subject: [meta-fsl-arm-extra][PATCH v3 1/2] wandboard.inc: add file with common settings for wandboard boards X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 17:26:30 -0000 Currently the following variables can be shared among all the wandboard models: PREFERRED_PROVIDER_virtual/kernel, SERIAL_CONSOLE and MACHINE_FEATURES. Move them to a include file to avoid code duplication. Signed-off-by: Mario Domenech Goulart --- conf/machine/include/wandboard.inc | 10 ++++++++++ conf/machine/wandboard-dual.conf | 9 ++------- conf/machine/wandboard-quad.conf | 9 ++------- conf/machine/wandboard-solo.conf | 9 +-------- 4 files changed, 15 insertions(+), 22 deletions(-) create mode 100644 conf/machine/include/wandboard.inc diff --git a/conf/machine/include/wandboard.inc b/conf/machine/include/wandboard.inc new file mode 100644 index 0000000..dc64d89 --- /dev/null +++ b/conf/machine/include/wandboard.inc @@ -0,0 +1,10 @@ +# Common settings for wandboard boards + +include conf/machine/include/imx-base.inc +include conf/machine/include/tune-cortexa9.inc + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" + +SERIAL_CONSOLE = "115200 ttymxc0" + +MACHINE_FEATURES += "pci" diff --git a/conf/machine/wandboard-dual.conf b/conf/machine/wandboard-dual.conf index 3526790..bf2ba8d 100644 --- a/conf/machine/wandboard-dual.conf +++ b/conf/machine/wandboard-dual.conf @@ -3,19 +3,14 @@ #@SOC: i.MX6DL #@DESCRIPTION: Machine configuration for i.MX6 Wandboard Duallite -include conf/machine/include/imx-base.inc -include conf/machine/include/tune-cortexa9.inc +include include/wandboard.inc SOC_FAMILY = "mx6:mx6dl:wandboard" -PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" - UBOOT_MACHINE = "wandboard_dl_config" KERNEL_DEVICETREE = "imx6dl-wandboard.dtb" -SERIAL_CONSOLE = "115200 ttymxc0" - -MACHINE_FEATURES += " pci wifi bluetooth" +MACHINE_FEATURES += "bluetooth wifi" MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config" diff --git a/conf/machine/wandboard-quad.conf b/conf/machine/wandboard-quad.conf index 578dd0d..1523887 100644 --- a/conf/machine/wandboard-quad.conf +++ b/conf/machine/wandboard-quad.conf @@ -3,19 +3,14 @@ #@SOC: i.MX6Q #@DESCRIPTION: Machine configuration for i.MX6 Wandboard Quad -include conf/machine/include/imx-base.inc -include conf/machine/include/tune-cortexa9.inc +include include/wandboard.inc SOC_FAMILY = "mx6:mx6q:wandboard" -PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" - UBOOT_MACHINE = "wandboard_quad_config" KERNEL_DEVICETREE = "imx6q-wandboard.dtb" -SERIAL_CONSOLE = "115200 ttymxc0" - -MACHINE_FEATURES += " pci wifi bluetooth" +MACHINE_FEATURES += "bluetooth wifi" MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config" diff --git a/conf/machine/wandboard-solo.conf b/conf/machine/wandboard-solo.conf index aad7876..9696aeb 100644 --- a/conf/machine/wandboard-solo.conf +++ b/conf/machine/wandboard-solo.conf @@ -3,17 +3,10 @@ #@SOC: i.MX6S #@DESCRIPTION: Machine configuration for i.MX6 Wandboard Solo -include conf/machine/include/imx-base.inc -include conf/machine/include/tune-cortexa9.inc +include include/wandboard.inc SOC_FAMILY = "mx6:mx6s:wandboard" -PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard" - UBOOT_MACHINE = "wandboard_solo_config" KERNEL_DEVICETREE = "imx6dl-wandboard.dtb" - -SERIAL_CONSOLE = "115200 ttymxc0" - -MACHINE_FEATURES += " pci wifi" -- 1.7.10.4