aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa/Makefile.objs
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-09-10 16:33:24 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2019-10-18 20:38:10 -0700
commitd9e8553bc8821d72cb72ca95f76b2d8ff6eb628a (patch)
treea9ef8ffa913eb3851dd8a8ee8c485015cc1377bb /hw/xtensa/Makefile.objs
parentd5eaec84e592bb0085f84bef54d0a41e31faa99a (diff)
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 <jcmvbkbc@gmail.com>
Diffstat (limited to 'hw/xtensa/Makefile.objs')
-rw-r--r--hw/xtensa/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xtensa/Makefile.objs b/hw/xtensa/Makefile.objs
index 0bbfccd6de..2b40e1b60a 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