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 | ||||
Lukas Auer | df3f100 | 2019-08-21 21:14:49 +0200 | [diff] [blame] | 16 | default 0x81200000 if SPL |
Anup Patel | ea6a7a0 | 2018-12-03 10:57:41 +0530 | [diff] [blame] | 17 | default 0x80000000 if !RISCV_SMODE |
Anup Patel | 3d7cb7b | 2019-04-11 06:52:12 +0000 | [diff] [blame] | 18 | default 0x80200000 if RISCV_SMODE && ARCH_RV64I |
19 | default 0x80400000 if RISCV_SMODE && ARCH_RV32I | ||||
Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 20 | |
Lukas Auer | df3f100 | 2019-08-21 21:14:49 +0200 | [diff] [blame] | 21 | config SPL_TEXT_BASE |
22 | default 0x80000000 | ||||
23 | |||||
24 | config SPL_OPENSBI_LOAD_ADDR | ||||
Bin Meng | 99e54e6 | 2019-08-07 23:04:41 -0700 | [diff] [blame] | 25 | hex |
Lukas Auer | df3f100 | 2019-08-21 21:14:49 +0200 | [diff] [blame] | 26 | default 0x81000000 |
27 | |||||
Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 28 | config BOARD_SPECIFIC_OPTIONS # dummy |
29 | def_bool y | ||||
Anup Patel | 1240cd6 | 2019-02-25 08:14:10 +0000 | [diff] [blame] | 30 | select GENERIC_RISCV |
Lukas Auer | df3f100 | 2019-08-21 21:14:49 +0200 | [diff] [blame] | 31 | select SUPPORT_SPL |
Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 32 | imply SYS_NS16550 |
Bin Meng | 184eadb | 2018-10-15 02:21:13 -0700 | [diff] [blame] | 33 | imply VIRTIO_MMIO |
34 | imply VIRTIO_NET | ||||
35 | imply VIRTIO_BLK | ||||
David Abdurachmanov | 8630266 | 2019-07-03 15:50:44 +0300 | [diff] [blame] | 36 | imply VIRTIO_PCI |
Bin Meng | f08aa02 | 2018-10-15 02:21:14 -0700 | [diff] [blame] | 37 | imply CMD_PING |
38 | imply CMD_FS_GENERIC | ||||
39 | imply DOS_PARTITION | ||||
40 | imply EFI_PARTITION | ||||
41 | imply ISO_PARTITION | ||||
42 | imply CMD_EXT2 | ||||
43 | imply CMD_EXT4 | ||||
44 | imply CMD_FAT | ||||
Lukas Auer | 7fcf212 | 2018-11-22 11:26:36 +0100 | [diff] [blame] | 45 | imply BOARD_LATE_INIT |
Anup Patel | 9fce0cc | 2018-12-15 11:35:16 +0530 | [diff] [blame] | 46 | imply SIFIVE_SERIAL |
Lukas Auer | f11af61 | 2019-03-17 19:28:42 +0100 | [diff] [blame] | 47 | imply SMP |
Bin Meng | c5ad889 | 2019-05-15 08:42:58 -0700 | [diff] [blame] | 48 | imply PCI |
49 | imply DM_PCI | ||||
50 | imply PCIE_ECAM_GENERIC | ||||
51 | imply CMD_PCI | ||||
Bin Meng | 0abfa5e | 2019-05-15 08:42:59 -0700 | [diff] [blame] | 52 | imply E1000 |
53 | imply NVME | ||||
Lukas Auer | df3f100 | 2019-08-21 21:14:49 +0200 | [diff] [blame] | 54 | imply SPL_RAM_SUPPORT |
55 | imply SPL_RAM_DEVICE | ||||
Bin Meng | dbe74cd | 2020-06-22 22:29:45 -0700 | [diff] [blame] | 56 | imply SYSRESET |
57 | imply SYSRESET_SYSCON | ||||
58 | imply CMD_POWEROFF | ||||
59 | imply SYSRESET_CMD_POWEROFF | ||||
Bin Meng | 8a8694d | 2018-09-26 06:55:21 -0700 | [diff] [blame] | 60 | |
61 | endif |