[21/24] ls1046afrwy: add machine config

Submitted by C.R. Guo on July 5, 2019, 8:44 a.m. | Patch ID: 162809

Details

Message ID 1562316188-16744-21-git-send-email-chunrong.guo@nxp.com
State New
Headers show

Commit Message

C.R. Guo July 5, 2019, 8:44 a.m.
From: Chunrong Guo <chunrong.guo@nxp.com>

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 conf/machine/ls1046afrwy.conf | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 conf/machine/ls1046afrwy.conf

Patch hide | download patch | download mbox

diff --git a/conf/machine/ls1046afrwy.conf b/conf/machine/ls1046afrwy.conf
new file mode 100644
index 0000000..c82fb4d
--- /dev/null
+++ b/conf/machine/ls1046afrwy.conf
@@ -0,0 +1,35 @@ 
+#@TYPE: Machine
+#@NAME: NXP LS1046AFRWY
+#@SOC: LSCH2
+#@DESCRIPTION: Machine configuration for running LS1046A in 64-bit mode
+#@MAINTAINER: Chunrong.guo <chunrong.guo@nxp.com>
+
+MACHINEOVERRIDES =. "fsl-lsch2:ls1046a:"
+
+require conf/machine/include/qoriq-arm64.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+KERNEL_CLASSES  = " kernel-fitimage "
+KERNEL_IMAGETYPES = "fitImage"
+
+UBOOT_DTB_LOADADDRESS = "0x90000000"
+UBOOT_ENTRYPOINT = "0x80080000"
+
+UBOOT_CONFIG ??= "tfa-secure-boot tfa"
+UBOOT_CONFIG[tfa] = "ls1046afrwy_tfa_defconfig,,u-boot-dtb.bin"
+UBOOT_CONFIG[tfa-secure-boot] = "ls1046afrwy_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
+
+KERNEL_DEVICETREE ?= "\
+    freescale/fsl-ls1046a-frwy-sdk.dtb \
+    freescale/fsl-ls1046a-frwy-usdpaa.dtb \
+"
+KERNEL_DEFCONFIG ?= "defconfig"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyAMA0 115200;ttyLP0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+RCWQSPI ?= "NN_NNQNNPNP_3040_0506/rcw_1600_qspiboot"
+RCWSD ?= "NN_NNQNNPNP_3040_0506/rcw_1600_sdboot"
+
+EXTRA_IMAGEDEPENDS += "fm-ucode rcw atf ls2-phy"
+USE_VT = "0"