Patchwork [meta-fsl-arm-extra,6/6] wandboard-solo: Add machine configuration

login
register
mail settings
Submitter Otavio Salvador
Date April 9, 2013, 7:21 p.m.
Message ID <1365535321-27350-9-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/47781/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - April 9, 2013, 7:21 p.m.
The kernel configuration is the same for Dual and Solo variants; to
fix it, we move the Dual defconfig to common directory avoiding
duplication.

Change-Id: I5d4b304c9980115318fdda75a6dc623783cb5cf7
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 conf/machine/wandboard-solo.conf                       | 18 ++++++++++++++++++
 .../{wandboard-dual => }/defconfig                     |  0
 2 files changed, 18 insertions(+)
 create mode 100644 conf/machine/wandboard-solo.conf
 rename recipes-kernel/linux/linux-wandboard-3.0.35/{wandboard-dual => }/defconfig (100%)

diff --git a/recipes-kernel/linux/linux-wandboard-3.0.35/wandboard-dual/defconfig b/recipes-kernel/linux/linux-wandboard-3.0.35/defconfig
similarity index 100%
rename from recipes-kernel/linux/linux-wandboard-3.0.35/wandboard-dual/defconfig
rename to recipes-kernel/linux/linux-wandboard-3.0.35/defconfig

Patch

diff --git a/conf/machine/wandboard-solo.conf b/conf/machine/wandboard-solo.conf
new file mode 100644
index 0000000..0816b59
--- /dev/null
+++ b/conf/machine/wandboard-solo.conf
@@ -0,0 +1,18 @@ 
+#@TYPE: Machine
+#@NAME: i.MX6 Wandboard Solo
+#@DESCRIPTION: Machine configuration for i.MX6 Wandboard Solo
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa9.inc
+
+SOC_FAMILY = "wandboard:mx6s:mx6"
+
+KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6s-wandboard.dts"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-wandboard"
+
+UBOOT_MACHINE = "wandboard_solo_config"
+
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+MACHINE_FEATURES += " pci wifi bluetooth"