blob: 20ea6dc59b740fb5abab42667ee42e01959cabee [file] [log] [blame]
Bin Meng8a8694d2018-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 Patel1240cd62019-02-25 08:14:10 +000010 default "generic"
Bin Meng8a8694d2018-09-26 06:55:21 -070011
12config SYS_CONFIG_NAME
13 default "qemu-riscv"
14
15config SYS_TEXT_BASE
Anup Patelea6a7a02018-12-03 10:57:41 +053016 default 0x80000000 if !RISCV_SMODE
Anup Patel3d7cb7b2019-04-11 06:52:12 +000017 default 0x80200000 if RISCV_SMODE && ARCH_RV64I
18 default 0x80400000 if RISCV_SMODE && ARCH_RV32I
Bin Meng8a8694d2018-09-26 06:55:21 -070019
20config BOARD_SPECIFIC_OPTIONS # dummy
21 def_bool y
Anup Patel1240cd62019-02-25 08:14:10 +000022 select GENERIC_RISCV
Bin Meng8a8694d2018-09-26 06:55:21 -070023 imply SYS_NS16550
Bin Meng184eadb2018-10-15 02:21:13 -070024 imply VIRTIO_MMIO
25 imply VIRTIO_NET
26 imply VIRTIO_BLK
Bin Mengf08aa022018-10-15 02:21:14 -070027 imply CMD_PING
28 imply CMD_FS_GENERIC
29 imply DOS_PARTITION
30 imply EFI_PARTITION
31 imply ISO_PARTITION
32 imply CMD_EXT2
33 imply CMD_EXT4
34 imply CMD_FAT
Lukas Auer7fcf2122018-11-22 11:26:36 +010035 imply BOARD_LATE_INIT
Lukas Auer74c2f122018-11-22 11:26:37 +010036 imply OF_BOARD_SETUP
Anup Patel9fce0cc2018-12-15 11:35:16 +053037 imply SIFIVE_SERIAL
Lukas Auerf11af612019-03-17 19:28:42 +010038 imply SMP
Bin Meng8a8694d2018-09-26 06:55:21 -070039
40endif