1if TARGET_QEMU_VIRT
2
3config SYS_BOARD
4	default "qemu-riscv"
5
6config SYS_VENDOR
7	default "emulation"
8
9config SYS_CPU
10	default "generic"
11
12config SYS_CONFIG_NAME
13	default "qemu-riscv"
14
15config SYS_TEXT_BASE
16	default 0x81200000 if SPL
17	default 0x80000000 if !RISCV_SMODE
18	default 0x80200000 if RISCV_SMODE && ARCH_RV64I
19	default 0x80400000 if RISCV_SMODE && ARCH_RV32I
20
21config SPL_TEXT_BASE
22	default 0x80000000
23
24config SPL_OPENSBI_LOAD_ADDR
25	hex
26	default 0x81000000
27
28config BOARD_SPECIFIC_OPTIONS # dummy
29	def_bool y
30	select GENERIC_RISCV
31	select SUPPORT_SPL
32	imply AHCI
33	imply SMP
34	imply BOARD_LATE_INIT
35	imply PCI_INIT_R
36	imply SPL_RAM_SUPPORT
37	imply SPL_RAM_DEVICE
38	imply CMD_PCI
39	imply CMD_POWEROFF
40	imply CMD_SCSI
41	imply CMD_PING
42	imply CMD_EXT2
43	imply CMD_EXT4
44	imply CMD_FAT
45	imply CMD_FS_GENERIC
46	imply DOS_PARTITION
47	imply ISO_PARTITION
48	imply EFI_PARTITION
49	imply SCSI_AHCI
50	imply AHCI_PCI
51	imply E1000
52	imply NVME
53	imply PCI
54	imply DM_PCI
55	imply PCIE_ECAM_GENERIC
56	imply SCSI
57	imply DM_SCSI
58	imply SYS_NS16550
59	imply SIFIVE_SERIAL
60	imply SYSRESET
61	imply SYSRESET_CMD_POWEROFF
62	imply SYSRESET_SYSCON
63	imply VIRTIO_MMIO
64	imply VIRTIO_PCI
65	imply VIRTIO_NET
66	imply VIRTIO_BLK
67
68endif
69