]> code.ossystems Code Review - meta-freescale.git/commitdiff
ls1021aqds.conf: Add machine conf for ls1021aqds
authorZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 4 Sep 2014 04:33:18 +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/ls1021aqds.conf [new file with mode: 0644]

diff --git a/meta-fsl-arm/conf/machine/ls1021aqds.conf b/meta-fsl-arm/conf/machine/ls1021aqds.conf
new file mode 100644 (file)
index 0000000..012edb1
--- /dev/null
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: Freescale LS1021AQDS board
+#@SOC: ls102xa
+#@DESCRIPTION: Machine configuration for running LS1021AQDS 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] = "ls1021aqds_nor"
+UBOOT_CONFIG[spi] = "ls1021aqds_spi"
+UBOOT_CONFIG[nor-secboot] = "ls1021aqds_nor_secboot"
+UBOOT_CONFIG[letech] = "ls1021aqds_letech"
+
+KERNEL_DEVICETREE = "ls1021a-qds.dtb"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+USE_VT ?= "0"