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
|
2020-11-04 11:49:01 +00:00
|
|
|
imply AHCI
|
2020-11-04 11:49:00 +00:00
|
|
|
imply SMP
|
|
|
|
imply BOARD_LATE_INIT
|
2020-11-04 11:49:01 +00:00
|
|
|
imply PCI_INIT_R
|
2020-11-04 11:49:00 +00:00
|
|
|
imply SPL_RAM_SUPPORT
|
|
|
|
imply SPL_RAM_DEVICE
|
|
|
|
imply CMD_PCI
|
|
|
|
imply CMD_POWEROFF
|
2020-11-04 11:49:01 +00:00
|
|
|
imply CMD_SCSI
|
2018-10-15 09:21:14 +00:00
|
|
|
imply CMD_PING
|
|
|
|
imply CMD_EXT2
|
|
|
|
imply CMD_EXT4
|
|
|
|
imply CMD_FAT
|
2020-11-04 11:49:00 +00:00
|
|
|
imply CMD_FS_GENERIC
|
|
|
|
imply DOS_PARTITION
|
|
|
|
imply ISO_PARTITION
|
|
|
|
imply EFI_PARTITION
|
2020-11-04 11:49:01 +00:00
|
|
|
imply SCSI_AHCI
|
|
|
|
imply AHCI_PCI
|
2020-11-04 11:49:00 +00:00
|
|
|
imply E1000
|
|
|
|
imply NVME
|
2019-05-15 15:42:58 +00:00
|
|
|
imply PCI
|
|
|
|
imply PCIE_ECAM_GENERIC
|
2020-11-04 11:49:01 +00:00
|
|
|
imply SCSI
|
|
|
|
imply DM_SCSI
|
2020-11-04 11:49:00 +00:00
|
|
|
imply SYS_NS16550
|
|
|
|
imply SIFIVE_SERIAL
|
2022-01-27 06:11:08 +00:00
|
|
|
imply HTIF_CONSOLE if 64BIT
|
2020-06-23 05:29:45 +00:00
|
|
|
imply SYSRESET
|
|
|
|
imply SYSRESET_CMD_POWEROFF
|
2020-11-04 11:49:00 +00:00
|
|
|
imply SYSRESET_SYSCON
|
|
|
|
imply VIRTIO_MMIO
|
|
|
|
imply VIRTIO_PCI
|
|
|
|
imply VIRTIO_NET
|
|
|
|
imply VIRTIO_BLK
|
2021-08-07 05:00:02 +00:00
|
|
|
imply MTD_NOR_FLASH
|
|
|
|
imply CFI_FLASH
|
2021-12-17 03:59:36 +00:00
|
|
|
imply OF_HAS_PRIOR_STAGE
|
2018-09-26 13:55:21 +00:00
|
|
|
|
|
|
|
endif
|