Yanhong Wang | 6f902b8 | 2023-03-29 11:42:19 +0800 | [diff] [blame^] | 1 | if TARGET_STARFIVE_VISIONFIVE2 |
| 2 | |
| 3 | config SYS_CPU |
| 4 | default "jh7110" |
| 5 | |
| 6 | config SYS_BOARD |
| 7 | default "visionfive2" |
| 8 | |
| 9 | config SYS_VENDOR |
| 10 | default "starfive" |
| 11 | |
| 12 | config SYS_CONFIG_NAME |
| 13 | default "starfive-visionfive2" |
| 14 | |
| 15 | config TEXT_BASE |
| 16 | default 0x40200000 if SPL |
| 17 | default 0x40000000 if !RISCV_SMODE |
| 18 | default 0x40200000 if RISCV_SMODE |
| 19 | |
| 20 | config SPL_TEXT_BASE |
| 21 | default 0x08000000 |
| 22 | |
| 23 | config SPL_OPENSBI_LOAD_ADDR |
| 24 | default 0x80000000 |
| 25 | |
| 26 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 27 | def_bool y |
| 28 | select STARFIVE_JH7110 |
| 29 | select SUPPORT_SPL |
| 30 | select BINMAN |
| 31 | imply CMD_CPU |
| 32 | imply CMD_DHCP |
| 33 | imply CMD_EXT2 |
| 34 | imply CMD_EXT4 |
| 35 | imply CMD_FAT |
| 36 | imply CMD_FS_GENERIC |
| 37 | imply CMD_GPIO |
| 38 | imply CMD_GPT |
| 39 | imply CMD_MMC |
| 40 | imply CMD_NET |
| 41 | imply CMD_PING |
| 42 | imply CMD_SF |
| 43 | imply DM_GPIO |
| 44 | imply DOS_PARTITION |
| 45 | imply EFI_PARTITION |
| 46 | imply MII |
| 47 | imply IP_DYN |
| 48 | imply ISO_PARTITION |
| 49 | imply PARTITION_TYPE_GUID |
| 50 | imply PHY_LIB |
| 51 | imply PHY_MSCC |
| 52 | |
| 53 | endif |