Bin Meng | 510e379 | 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 | fdff1f9 | 2019-02-25 08:14:10 +0000 | [diff] [blame] | 10 | default "generic" |
Bin Meng | 510e379 | 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 | ef8c3d3 | 2018-12-03 10:57:41 +0530 | [diff] [blame] | 16 | default 0x80000000 if !RISCV_SMODE |
Anup Patel | 8aa278d | 2019-04-11 06:52:12 +0000 | [diff] [blame] | 17 | default 0x80200000 if RISCV_SMODE && ARCH_RV64I |
18 | default 0x80400000 if RISCV_SMODE && ARCH_RV32I | ||||
Bin Meng | 510e379 | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 19 | |
20 | config BOARD_SPECIFIC_OPTIONS # dummy | ||||
21 | def_bool y | ||||
Anup Patel | fdff1f9 | 2019-02-25 08:14:10 +0000 | [diff] [blame] | 22 | select GENERIC_RISCV |
Bin Meng | 510e379 | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 23 | imply SYS_NS16550 |
Bin Meng | 3c5196d | 2018-10-15 02:21:13 -0700 | [diff] [blame] | 24 | imply VIRTIO_MMIO |
25 | imply VIRTIO_NET | ||||
26 | imply VIRTIO_BLK | ||||
Bin Meng | 440d9a4 | 2018-10-15 02:21:14 -0700 | [diff] [blame] | 27 | 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 Auer | 66ffe57 | 2018-11-22 11:26:36 +0100 | [diff] [blame] | 35 | imply BOARD_LATE_INIT |
Lukas Auer | 897206c | 2018-11-22 11:26:37 +0100 | [diff] [blame] | 36 | imply OF_BOARD_SETUP |
Anup Patel | 9acaf60 | 2018-12-15 11:35:16 +0530 | [diff] [blame] | 37 | imply SIFIVE_SERIAL |
Lukas Auer | d0a8fd3 | 2019-03-17 19:28:42 +0100 | [diff] [blame] | 38 | imply SMP |
Bin Meng | cd6b619 | 2019-05-15 08:42:58 -0700 | [diff] [blame] | 39 | imply PCI |
40 | imply DM_PCI | ||||
41 | imply PCIE_ECAM_GENERIC | ||||
42 | imply CMD_PCI | ||||
Bin Meng | e64db0d | 2019-05-15 08:42:59 -0700 | [diff] [blame^] | 43 | imply E1000 |
44 | imply NVME | ||||
Bin Meng | 510e379 | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 45 | |
46 | endif |