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
|
2019-02-25 08:14:10 +00:00
|
|
|
default "generic"
|
2018-09-26 13:55:21 +00:00
|
|
|
|
|
|
|
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
|
2019-02-25 08:14:10 +00:00
|
|
|
select GENERIC_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
|
2019-03-17 18:28:42 +00:00
|
|
|
imply SMP
|
2018-09-26 13:55:21 +00:00
|
|
|
|
|
|
|
endif
|