2018-09-26 22:55:21 +09: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 14:27:41 +09:00
|
|
|
default 0x80000000 if !RISCV_SMODE
|
|
|
|
default 0x80200000 if RISCV_SMODE
|
2018-09-26 22:55:21 +09:00
|
|
|
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
|
|
def_bool y
|
2018-12-12 23:12:32 +09:00
|
|
|
select QEMU_RISCV
|
2018-09-26 22:55:21 +09:00
|
|
|
imply SYS_NS16550
|
2018-10-15 18:21:13 +09:00
|
|
|
imply VIRTIO_MMIO
|
|
|
|
imply VIRTIO_NET
|
|
|
|
imply VIRTIO_BLK
|
2018-10-15 18:21:14 +09: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 19:26:36 +09:00
|
|
|
imply BOARD_LATE_INIT
|
2018-11-22 19:26:37 +09:00
|
|
|
imply OF_BOARD_SETUP
|
2018-12-15 15:05:16 +09:00
|
|
|
imply SIFIVE_SERIAL
|
2018-09-26 22:55:21 +09:00
|
|
|
|
|
|
|
endif
|