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
|
2019-08-21 19:14:49 +00:00
|
|
|
default 0x81200000 if SPL
|
2018-12-03 05:27:41 +00:00
|
|
|
default 0x80000000 if !RISCV_SMODE
|
2019-04-11 06:52:12 +00:00
|
|
|
default 0x80200000 if RISCV_SMODE && ARCH_RV64I
|
|
|
|
default 0x80400000 if RISCV_SMODE && ARCH_RV32I
|
2018-09-26 13:55:21 +00:00
|
|
|
|
2019-08-21 19:14:49 +00:00
|
|
|
config SPL_TEXT_BASE
|
|
|
|
default 0x80000000
|
|
|
|
|
|
|
|
config SPL_OPENSBI_LOAD_ADDR
|
2019-08-08 06:04:41 +00:00
|
|
|
hex
|
2019-08-21 19:14:49 +00:00
|
|
|
default 0x81000000
|
|
|
|
|
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
|
2019-08-21 19:14:49 +00:00
|
|
|
select SUPPORT_SPL
|
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
|
2019-07-03 12:50:44 +00:00
|
|
|
imply VIRTIO_PCI
|
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
|
2019-05-15 15:42:58 +00:00
|
|
|
imply PCI
|
|
|
|
imply DM_PCI
|
|
|
|
imply PCIE_ECAM_GENERIC
|
|
|
|
imply CMD_PCI
|
2019-05-15 15:42:59 +00:00
|
|
|
imply E1000
|
|
|
|
imply NVME
|
2019-08-21 19:14:49 +00:00
|
|
|
imply SPL_RAM_SUPPORT
|
|
|
|
imply SPL_RAM_DEVICE
|
2018-09-26 13:55:21 +00:00
|
|
|
|
|
|
|
endif
|