2018-09-26 13:55:21 +00:00
|
|
|
if TARGET_QEMU_VIRT
|
|
|
|
|
|
|
|
config SYS_BOARD
|
|
|
|
default "qemu-riscv"
|
|
|
|
|
|
|
|
config SYS_VENDOR
|
|
|
|
default "emulation"
|
|
|
|
|
|
|
|
config SYS_CPU
|
|
|
|
default "qemu"
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
|
|
|
default "qemu-riscv"
|
|
|
|
|
|
|
|
config SYS_TEXT_BASE
|
2018-12-03 05:27:41 +00:00
|
|
|
default 0x80000000 if !RISCV_SMODE
|
|
|
|
default 0x80200000 if RISCV_SMODE
|
2018-09-26 13:55:21 +00:00
|
|
|
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
|
|
def_bool y
|
2018-12-12 14:12:32 +00:00
|
|
|
select QEMU_RISCV
|
2018-09-26 13:55:21 +00:00
|
|
|
imply SYS_NS16550
|
2018-10-15 09:21:13 +00:00
|
|
|
imply VIRTIO_MMIO
|
|
|
|
imply VIRTIO_NET
|
|
|
|
imply VIRTIO_BLK
|
2018-10-15 09:21:14 +00:00
|
|
|
imply CMD_PING
|
|
|
|
imply CMD_FS_GENERIC
|
|
|
|
imply DOS_PARTITION
|
|
|
|
imply EFI_PARTITION
|
|
|
|
imply ISO_PARTITION
|
|
|
|
imply CMD_EXT2
|
|
|
|
imply CMD_EXT4
|
|
|
|
imply CMD_FAT
|
2018-11-22 10:26:36 +00:00
|
|
|
imply BOARD_LATE_INIT
|
2018-11-22 10:26:37 +00:00
|
|
|
imply OF_BOARD_SETUP
|
2018-12-15 06:05:16 +00:00
|
|
|
imply SIFIVE_SERIAL
|
2018-09-26 13:55:21 +00:00
|
|
|
|
|
|
|
endif
|