From d9e8553bc8821d72cb72ca95f76b2d8ff6eb628a Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Mon, 10 Sep 2018 16:33:24 -0700 Subject: hw/xtensa: add virt machine virt machine is a sim machine with generic PCI host controller. Make common parts of sim machine initialization reusable. Add PCI controller at 0xf0000000 with PIO space at its base address, ECAM space at base address + 1M and MMIO space at base address + 64M. Connect IRQ lines to consecutive CPU external IRQ pins starting from 0. Instantiate network interfaces on virt machine. Xtensa linux kernel configuration virt_defconfig can successfully boot on this machine. Signed-off-by: Max Filippov --- hw/xtensa/Makefile.objs | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/xtensa/Makefile.objs') diff --git a/hw/xtensa/Makefile.objs b/hw/xtensa/Makefile.objs index 0bbfccd..2b40e1b 100644 --- a/hw/xtensa/Makefile.objs +++ b/hw/xtensa/Makefile.objs @@ -2,4 +2,5 @@ obj-y += mx_pic.o obj-y += pic_cpu.o obj-y += xtensa_memory.o obj-$(CONFIG_XTENSA_SIM) += sim.o +obj-$(CONFIG_XTENSA_VIRT) += virt.o obj-$(CONFIG_XTENSA_XTFPGA) += xtfpga.o -- cgit v1.1