Return-Path: Received: from mail-gg0-f175.google.com (mail-gg0-f175.google.com [209.85.161.175]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E46E1E0178E for ; Tue, 12 Nov 2013 05:22:43 -0800 (PST) Received: by mail-gg0-f175.google.com with SMTP id x14so392572ggx.6 for ; Tue, 12 Nov 2013 05:22:43 -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:in-reply-to:references; bh=vGeC+GLEu4cnJ4muByMsmvKsez0118XRQDFNULMrC0I=; b=ipkCJJtwyMWY/ALZ6Z1/96l+C95c3uDRuTFjKcUirpCeSds8wFtJosRFzw23P7ok4d liRh/JwZtyrFS0qe14wbnzpJEbKpbtwkopL92kSoOlyvKrNu3fMc7HqaA45yElQbV9LW tZnFJMHj8Qp0u1BZXm5haMPzAEnaKtVtGVeJFlLCGXuRUN69NWz6grVsTWiHmOtK7Hui GRqaZthpWOBNMzWbJEQL5zCtgMbNg2gBcilks1vDzfOQxiY14SQqNdpd8YHf6g6fWK/R /E+fSklIAAji0EPV4UBiyIOQWwDHKmAvEBAcz8nmMjQZND4lDxs5V0qHvZ9kyJB/l+3M dTzw== X-Received: by 10.236.125.102 with SMTP id y66mr16551720yhh.58.1384262563028; Tue, 12 Nov 2013 05:22:43 -0800 (PST) Received: from monster.lab.ossystems.com.br ([177.194.208.225]) by mx.google.com with ESMTPSA id o27sm47953689yhb.19.2013.11.12.05.22.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 12 Nov 2013 05:22:42 -0800 (PST) Sender: Mario Domenech Goulart From: Mario Domenech Goulart To: meta-freescale@yoctoproject.org Date: Tue, 12 Nov 2013 11:22:29 -0200 Message-Id: <1384262550-32001-2-git-send-email-mario@ossystems.com.br> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1384262550-32001-1-git-send-email-mario@ossystems.com.br> References: <1384262550-32001-1-git-send-email-mario@ossystems.com.br> Subject: [meta-fsl-arm-extra][PATCH v2 2/3] 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: Tue, 12 Nov 2013 13:22:46 -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..d985faf --- /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 wifi" diff --git a/conf/machine/wandboard-dual.conf b/conf/machine/wandboard-dual.conf index 3526790..1821192 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" MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config" diff --git a/conf/machine/wandboard-quad.conf b/conf/machine/wandboard-quad.conf index 578dd0d..195a69f 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" 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