Bin Meng | e9ead4a | 2021-03-17 11:10:58 +0800 | [diff] [blame] | 1 | if TARGET_SIFIVE_UNLEASHED |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 2 | |
3 | config SYS_BOARD | ||||
Bin Meng | e9ead4a | 2021-03-17 11:10:58 +0800 | [diff] [blame] | 4 | default "unleashed" |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 5 | |
6 | config SYS_VENDOR | ||||
7 | default "sifive" | ||||
8 | |||||
9 | config SYS_CPU | ||||
Pragnesh Patel | 25269c0 | 2020-05-29 11:33:34 +0530 | [diff] [blame] | 10 | default "fu540" |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 11 | |
12 | config SYS_CONFIG_NAME | ||||
Bin Meng | e9ead4a | 2021-03-17 11:10:58 +0800 | [diff] [blame] | 13 | default "sifive-unleashed" |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 14 | |
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 15 | config TEXT_BASE |
Pragnesh Patel | e00653c | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 16 | default 0x80200000 if SPL |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 17 | default 0x80000000 if !RISCV_SMODE |
18 | default 0x80200000 if RISCV_SMODE | ||||
19 | |||||
Pragnesh Patel | e00653c | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 20 | config SPL_TEXT_BASE |
21 | default 0x08000000 | ||||
22 | |||||
23 | config SPL_OPENSBI_LOAD_ADDR | ||||
24 | default 0x80000000 | ||||
25 | |||||
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 26 | config BOARD_SPECIFIC_OPTIONS # dummy |
27 | def_bool y | ||||
Pragnesh Patel | e00653c | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 28 | select SIFIVE_FU540 |
Jagan Teki | 406d3b8 | 2020-07-15 15:39:01 +0530 | [diff] [blame] | 29 | select ENV_IS_IN_SPI_FLASH |
Bin Meng | ced2097 | 2021-05-10 20:23:35 +0800 | [diff] [blame] | 30 | select BINMAN |
Green Wan | 2e5da52 | 2021-05-27 06:52:13 -0700 | [diff] [blame] | 31 | select RESET_SIFIVE |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 32 | imply CMD_DHCP |
33 | imply CMD_EXT2 | ||||
34 | imply CMD_EXT4 | ||||
35 | imply CMD_FAT | ||||
36 | imply CMD_FS_GENERIC | ||||
Jagan Teki | bc83d54 | 2020-05-29 11:33:36 +0530 | [diff] [blame] | 37 | imply CMD_GPT |
38 | imply PARTITION_TYPE_GUID | ||||
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 39 | imply CMD_NET |
40 | imply CMD_PING | ||||
Jagan Teki | 76c8522 | 2020-04-29 21:03:53 +0530 | [diff] [blame] | 41 | imply CMD_SF |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 42 | imply DOS_PARTITION |
43 | imply EFI_PARTITION | ||||
44 | imply IP_DYN | ||||
45 | imply ISO_PARTITION | ||||
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 46 | imply PHY_LIB |
47 | imply PHY_MSCC | ||||
Jagan Teki | 76c8522 | 2020-04-29 21:03:53 +0530 | [diff] [blame] | 48 | imply SPI_FLASH |
49 | imply SPI_FLASH_ISSI | ||||
Bin Meng | 5f43781 | 2020-07-19 20:06:46 -0700 | [diff] [blame] | 50 | imply SYSRESET |
51 | imply SYSRESET_GPIO | ||||
Pragnesh Patel | 4f1b444 | 2020-11-14 14:42:35 +0530 | [diff] [blame] | 52 | imply CMD_I2C |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 53 | |
54 | endif |