#@TYPE: Machine
#@NAME: Rigado i.MX6UL Vesta 
#@SOC: i.MX6UL
#@DESCRIPTION: Machine configuration for Rigado Vesta general
#@MAINTAINER: David Mondou<David.Mondou@rigado.com>

MACHINEOVERRIDES =. "mx6:mx6ul:mx6ull:"

include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa7.inc
include conf/machine/include/meta-java.inc

MACHINE_FEATURES += " pci wifi bluetooth"
MACHINE_STORAGE_DEVICE = "emmc"

SOC_FAMILY = "mx6ul:mx6ull"

KERNEL_DEVICETREE = "vesta-100.dtb"
KERNEL_DEVICETREE += "vesta-200.dtb"
KERNEL_DEVICETREE += "vesta-300.dtb"
KERNEL_DEVICETREE += "vesta-400.dtb"
KERNEL_DEVICETREE += "vesta-300B.dtb"
KERNEL_DEVICETREE += "310-00110-0003.dtb"
PREFERRED_PROVIDER_u-boot = "u-boot-vesta"
PREFERRED_VERSION_u-boot = "2016.03"
PREFERRED_PROVIDER_kernel-module-qcacld = "kernel-module-qcacld_2.3.3"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-vesta"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc-imx"
PREFERRED_VERSION_bluez5 = "5.47"

UBOOT_MAKE_TARGET = ""
UBOOT_CONFIG ??= "sd qspi"
UBOOT_CONFIG[sd] = "vesta_general_config"
UBOOT_CONFIG[qspi] = "vesta_qspi_config"
SERIAL_CONSOLES ?= "115200;ttymxc1"

IMAGE_INSTALL_append += " common-scripts"
