aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/ls1046ardb-32b.conf
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@nxp.com>2016-12-20 20:19:06 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2017-01-11 10:53:43 -0200
commite62d6eeb60c00b9f7d44cf6feaf9080bd3bf7138 (patch)
tree317717d06e58795c63d0e8cc67802f20c04ca9da /conf/machine/ls1046ardb-32b.conf
parentb8f64c97dd8a36f82fcf539d3e525413dec6d702 (diff)
downloadmeta-freescale-e62d6eeb60c00b9f7d44cf6feaf9080bd3bf7138.tar.gz
meta-freescale-e62d6eeb60c00b9f7d44cf6feaf9080bd3bf7138.tar.bz2
meta-freescale-e62d6eeb60c00b9f7d44cf6feaf9080bd3bf7138.zip
ls1046ardb-32b: add machine conf
Support the NXP aarch64 based ls1046a reference design board run in 32b mode. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine/ls1046ardb-32b.conf')
-rw-r--r--conf/machine/ls1046ardb-32b.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/conf/machine/ls1046ardb-32b.conf b/conf/machine/ls1046ardb-32b.conf
new file mode 100644
index 00000000..0ea132a9
--- /dev/null
+++ b/conf/machine/ls1046ardb-32b.conf
@@ -0,0 +1,33 @@
+#@TYPE: Machine
+#@NAME: NXP LS1046ARDB
+#@SOC: LSCH2
+#@DESCRIPTION: Machine configuration for running LS1046A in 32-bit mode
+#@MAINTAINER: Zhenhua Luo <zhenhua.luo@nxp.com>
+
+MACHINEOVERRIDES =. "fsl-lsch2:fsl-lsch2-32b:ls1046a:"
+
+require conf/machine/include/qoriq-arm.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+DEFAULTTUNE = "armv7ahf-neon"
+
+UBOOT_CONFIG ??= "emmc sdcard qspi"
+UBOOT_CONFIG[emmc] = "ls1046ardb_aarch32_emmc_defconfig,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "ls1046ardb_aarch32_sdcard_defconfig,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[qspi] = "ls1046ardb_aarch32_qspi_config,,u-boot-dtb.bin"
+
+KERNEL_DEVICETREE ?= "\
+ freescale/fsl-ls1046a-rdb.dtb \
+ freescale/fsl-ls1046a-rdb-usdpaa.dtb \
+"
+KERNEL_DEFCONFIG ?= "${S}/arch/arm/configs/ls_aarch32_defconfig"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyAMA0 115200;ttyLP0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+EXTRA_IMAGEDEPENDS += "fm-ucode rcw"
+USE_VT = "0"
+
+require conf/multilib.conf
+MULTILIBS ?= "multilib:lib64"
+DEFAULTTUNE_virtclass-multilib-lib64 ?= "aarch64"