blob: 502916e86a854d51903eb20080e26a40417f0a76 [file] [log] [blame]
Bin Menge9ead4a2021-03-17 11:10:58 +08001if TARGET_SIFIVE_UNLEASHED
Anup Patel7a167f22019-02-25 08:15:19 +00002
3config SYS_BOARD
Bin Menge9ead4a2021-03-17 11:10:58 +08004 default "unleashed"
Anup Patel7a167f22019-02-25 08:15:19 +00005
6config SYS_VENDOR
7 default "sifive"
8
9config SYS_CPU
Pragnesh Patel25269c02020-05-29 11:33:34 +053010 default "fu540"
Anup Patel7a167f22019-02-25 08:15:19 +000011
12config SYS_CONFIG_NAME
Bin Menge9ead4a2021-03-17 11:10:58 +080013 default "sifive-unleashed"
Anup Patel7a167f22019-02-25 08:15:19 +000014
15config SYS_TEXT_BASE
Pragnesh Patele00653c2020-05-29 11:33:35 +053016 default 0x80200000 if SPL
Anup Patel7a167f22019-02-25 08:15:19 +000017 default 0x80000000 if !RISCV_SMODE
18 default 0x80200000 if RISCV_SMODE
19
Pragnesh Patele00653c2020-05-29 11:33:35 +053020config SPL_TEXT_BASE
21 default 0x08000000
22
23config SPL_OPENSBI_LOAD_ADDR
24 default 0x80000000
25
Anup Patel7a167f22019-02-25 08:15:19 +000026config BOARD_SPECIFIC_OPTIONS # dummy
27 def_bool y
Pragnesh Patele00653c2020-05-29 11:33:35 +053028 select SIFIVE_FU540
Jagan Teki406d3b82020-07-15 15:39:01 +053029 select ENV_IS_IN_SPI_FLASH
Bin Mengced20972021-05-10 20:23:35 +080030 select BINMAN
Anup Patel7a167f22019-02-25 08:15:19 +000031 imply CMD_DHCP
32 imply CMD_EXT2
33 imply CMD_EXT4
34 imply CMD_FAT
35 imply CMD_FS_GENERIC
Jagan Tekibc83d542020-05-29 11:33:36 +053036 imply CMD_GPT
37 imply PARTITION_TYPE_GUID
Anup Patel7a167f22019-02-25 08:15:19 +000038 imply CMD_NET
39 imply CMD_PING
Jagan Teki76c85222020-04-29 21:03:53 +053040 imply CMD_SF
Anup Patel7a167f22019-02-25 08:15:19 +000041 imply DOS_PARTITION
42 imply EFI_PARTITION
43 imply IP_DYN
44 imply ISO_PARTITION
Anup Patel7a167f22019-02-25 08:15:19 +000045 imply PHY_LIB
46 imply PHY_MSCC
Jagan Teki76c85222020-04-29 21:03:53 +053047 imply SPI_FLASH
48 imply SPI_FLASH_ISSI
Bin Meng5f437812020-07-19 20:06:46 -070049 imply SYSRESET
50 imply SYSRESET_GPIO
Pragnesh Patel4f1b4442020-11-14 14:42:35 +053051 imply CMD_I2C
Anup Patel7a167f22019-02-25 08:15:19 +000052
53endif