blob: 88d07d568e7f602298d972fdd26787330519fa41 [file] [log] [blame]
Bin Meng510e3792018-09-26 06:55:21 -07001if TARGET_QEMU_VIRT
2
3config SYS_BOARD
4 default "qemu-riscv"
5
6config SYS_VENDOR
7 default "emulation"
8
9config SYS_CPU
Anup Patelfdff1f92019-02-25 08:14:10 +000010 default "generic"
Bin Meng510e3792018-09-26 06:55:21 -070011
12config SYS_CONFIG_NAME
13 default "qemu-riscv"
14
15config SYS_TEXT_BASE
Anup Patelef8c3d32018-12-03 10:57:41 +053016 default 0x80000000 if !RISCV_SMODE
17 default 0x80200000 if RISCV_SMODE
Bin Meng510e3792018-09-26 06:55:21 -070018
19config BOARD_SPECIFIC_OPTIONS # dummy
20 def_bool y
Anup Patelfdff1f92019-02-25 08:14:10 +000021 select GENERIC_RISCV
Bin Meng510e3792018-09-26 06:55:21 -070022 imply SYS_NS16550
Bin Meng3c5196d2018-10-15 02:21:13 -070023 imply VIRTIO_MMIO
24 imply VIRTIO_NET
25 imply VIRTIO_BLK
Bin Meng440d9a42018-10-15 02:21:14 -070026 imply CMD_PING
27 imply CMD_FS_GENERIC
28 imply DOS_PARTITION
29 imply EFI_PARTITION
30 imply ISO_PARTITION
31 imply CMD_EXT2
32 imply CMD_EXT4
33 imply CMD_FAT
Lukas Auer66ffe572018-11-22 11:26:36 +010034 imply BOARD_LATE_INIT
Lukas Auer897206c2018-11-22 11:26:37 +010035 imply OF_BOARD_SETUP
Anup Patel9acaf602018-12-15 11:35:16 +053036 imply SIFIVE_SERIAL
Bin Meng510e3792018-09-26 06:55:21 -070037
38endif