#@TYPE: Machine
#@NAME: zedboard
#@DESCRIPTION: Machine support for zedboard.
#              http://www.elphel.com/ 

require include/tune-zynq.inc
require include/machine-xilinx-default.inc

# Corresponding from linux-xlnx and ezynq-u-boot
PREFERRED_VERSION_ezynq-u-boot = "v2016.01%"
PREFERRED_VERSION_linux-xlnx = "4.%"

# Zedboard machine definition known by ezynq and xilinx u-boot
UBOOT_MACHINE = "zynq_zed_config"

SERIAL_CONSOLE = "115200 ttyPS0"

MACHINE_DEVICETREE := "common/zynq-base.dtsi zedboard/zynq-zed.dts zedboard/zynq-zed.dtsi"

MACHINE_KCONFIG := "common/microzed_defconfig_${LINUX_VERSION}.cfg"