aboutsummaryrefslogtreecommitdiff
path: root/default-configs
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 /default-configs
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 'default-configs')
-rw-r--r--default-configs/xtensa-softmmu.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/default-configs/xtensa-softmmu.mak b/default-configs/xtensa-softmmu.mak
index 3aa20a47a7..4fe1bf00c9 100644
--- a/default-configs/xtensa-softmmu.mak
+++ b/default-configs/xtensa-softmmu.mak
@@ -5,4 +5,5 @@ CONFIG_SEMIHOSTING=y
# Boards:
#
CONFIG_XTENSA_SIM=y
+CONFIG_XTENSA_VIRT=y
CONFIG_XTENSA_XTFPGA=y