]> code.ossystems Code Review - meta-freescale.git/commitdiff
ls1021aqtwr.conf: Add machine conf for ls1021atwr
authorZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 4 Sep 2014 04:33:19 +0000 (12:33 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 15 Sep 2014 12:35:13 +0000 (09:35 -0300)
* define the SOC_FAMILY
* set UBOOT_CONFIG
* configure kernel devicetree and defconfig
* define options related to serial console

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/conf/machine/ls1021atwr.conf [new file with mode: 0644]

diff --git a/meta-fsl-arm/conf/machine/ls1021atwr.conf b/meta-fsl-arm/conf/machine/ls1021atwr.conf
new file mode 100644 (file)
index 0000000..c7ab6b8
--- /dev/null
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: Freescale LS1021ATWR board
+#@SOC: ls102xa
+#@DESCRIPTION: Machine configuration for running LS1021ATWR in 32-bit mode
+#@MAINTAINER: Zhenhua Luo <zhenhua.luo@freescale.com>
+
+require conf/machine/include/ls-base.inc
+require conf/machine/include/tune-cortexa7.inc
+
+SOC_FAMILY = "ls102xa"
+
+UBOOT_CONFIG ??= "nor"
+UBOOT_CONFIG[nor] = "ls1021atwr_nor"
+UBOOT_CONFIG[sdcard] = "ls1021atwr_sdcard,sdcard"
+UBOOT_CONFIG[letech] = "ls1021atwr_letech"
+
+KERNEL_DEVICETREE ?= "ls1021a-twr.dtb"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+USE_VT ?= "0"
+