#@TYPE: Machine
#@NAME: NXP LS1012AFRWY board
#@SOC: LSCH2
#@DESCRIPTION: Machine configuration for NXP QorIQ LS1012AFRWY
#              with ARM Cortext-A53 core
#@MAINTAINER: Chunrong Guo <Chunrong.Guo@nxp.com>

MACHINEOVERRIDES =. "fsl-lsch2:ls1012a:"

require conf/machine/include/qoriq-arm64.inc
require conf/machine/include/arm/arch-arm64.inc

MACHINE_FEATURES += "optee"

KERNEL_CLASSES  = " kernel-fitimage "
KERNEL_IMAGETYPES = "fitImage"

UBOOT_DTB_LOADADDRESS = "0x90000000"
UBOOT_ENTRYPOINT = "0x80080000"

UBOOT_CONFIG ??= "tfa-secure-boot tfa"
UBOOT_CONFIG[tfa] = "ls1012afrwy_tfa_defconfig"
UBOOT_CONFIG[tfa-secure-boot] = "ls1012afrwy_tfa_SECURE_BOOT_defconfig"

RCWQSPI ?= "N_SSNP_3305/rcw_1000"

KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-frwy.dtb"
KERNEL_DEFCONFIG ?= "defconfig"

EXTRA_IMAGEDEPENDS += "ppfe-firmware rcw qoriq-atf"
USE_VT = "0"
