aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa/Kconfig
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/Kconfig
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/Kconfig')
-rw-r--r--hw/xtensa/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/xtensa/Kconfig b/hw/xtensa/Kconfig
index d72817d012..0740657ea5 100644
--- a/hw/xtensa/Kconfig
+++ b/hw/xtensa/Kconfig
@@ -1,6 +1,12 @@
config XTENSA_SIM
bool
+config XTENSA_VIRT
+ bool
+ select XTENSA_SIM
+ select PCI_EXPRESS_GENERIC_BRIDGE
+ select PCI_DEVICES
+
config XTENSA_XTFPGA
bool
select OPENCORES_ETH