Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 1 | if TARGET_QEMU_VIRT |
| 2 | |
| 3 | config SYS_BOARD |
| 4 | default "qemu-riscv" |
| 5 | |
| 6 | config SYS_VENDOR |
| 7 | default "emulation" |
| 8 | |
| 9 | config SYS_CPU |
Anup Patel | 1240cd6 | 2019-02-25 08:14:10 +0000 | [diff] [blame^] | 10 | default "generic" |
Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 11 | |
| 12 | config SYS_CONFIG_NAME |
| 13 | default "qemu-riscv" |
| 14 | |
| 15 | config SYS_TEXT_BASE |
Anup Patel | ea6a7a0 | 2018-12-03 10:57:41 +0530 | [diff] [blame] | 16 | default 0x80000000 if !RISCV_SMODE |
| 17 | default 0x80200000 if RISCV_SMODE |
Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 18 | |
| 19 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 20 | def_bool y |
Anup Patel | 1240cd6 | 2019-02-25 08:14:10 +0000 | [diff] [blame^] | 21 | select GENERIC_RISCV |
Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 22 | imply SYS_NS16550 |
Bin Meng | 184eadb | 2018-10-15 02:21:13 -0700 | [diff] [blame] | 23 | imply VIRTIO_MMIO |
| 24 | imply VIRTIO_NET |
| 25 | imply VIRTIO_BLK |
Bin Meng | f08aa02 | 2018-10-15 02:21:14 -0700 | [diff] [blame] | 26 | 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 Auer | 7fcf212 | 2018-11-22 11:26:36 +0100 | [diff] [blame] | 34 | imply BOARD_LATE_INIT |
Lukas Auer | 74c2f12 | 2018-11-22 11:26:37 +0100 | [diff] [blame] | 35 | imply OF_BOARD_SETUP |
Anup Patel | 9fce0cc | 2018-12-15 11:35:16 +0530 | [diff] [blame] | 36 | imply SIFIVE_SERIAL |
Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 37 | |
| 38 | endif |