#@TYPE: Machine
#@NAME: s3adsp1800-qemu-microblazeeb
#@DESCRIPTION: MicroBlaze QEMU machine support ('petalogix-s3adsp1800' model)

require conf/machine/include/tune-microblaze.inc
require conf/machine/include/machine-xilinx-default.inc
require conf/machine/include/machine-xilinx-qemu.inc

TUNE_FEATURES_tune-microblaze += "v8.00 bigendian barrel-shift pattern-compare multiply-low"

MACHINE_FEATURES = ""

USE_VT = ""
SERIAL_CONSOLES ?= "115200;ttyUL0"

KERNEL_IMAGETYPE ?= "linux.bin.ub"

# This machine is a targeting a QEMU model, runqemu setup:
QB_MEM = "-m 256"
QB_MACHINE = "-machine petalogix-s3adsp1800"
QB_OPT_APPEND = "-nographic -serial mon:stdio"
QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@"

