blob: 5d842c36cfc92a8b235aa1aec1d53e70de0c63ac [file] [log] [blame]
Bin Mengae2d9502021-03-17 11:10:58 +08001if TARGET_SIFIVE_UNLEASHED
Anup Patel3fda0262019-02-25 08:15:19 +00002
3config SYS_BOARD
Bin Mengae2d9502021-03-17 11:10:58 +08004 default "unleashed"
Anup Patel3fda0262019-02-25 08:15:19 +00005
6config SYS_VENDOR
7 default "sifive"
8
9config SYS_CPU
Pragnesh Patel7c45fc92020-05-29 11:33:34 +053010 default "fu540"
Anup Patel3fda0262019-02-25 08:15:19 +000011
12config SYS_CONFIG_NAME
Bin Mengae2d9502021-03-17 11:10:58 +080013 default "sifive-unleashed"
Anup Patel3fda0262019-02-25 08:15:19 +000014
Simon Glass98463902022-10-20 18:22:39 -060015config TEXT_BASE
Pragnesh Patel01cdef22020-05-29 11:33:35 +053016 default 0x80200000 if SPL
Anup Patel3fda0262019-02-25 08:15:19 +000017 default 0x80000000 if !RISCV_SMODE
18 default 0x80200000 if RISCV_SMODE
19
Pragnesh Patel01cdef22020-05-29 11:33:35 +053020config SPL_TEXT_BASE
21 default 0x08000000
22
23config SPL_OPENSBI_LOAD_ADDR
24 default 0x80000000
25
Anup Patel3fda0262019-02-25 08:15:19 +000026config BOARD_SPECIFIC_OPTIONS # dummy
27 def_bool y
Pragnesh Patel01cdef22020-05-29 11:33:35 +053028 select SIFIVE_FU540
Jagan Teki662d5182020-07-15 15:39:01 +053029 select ENV_IS_IN_SPI_FLASH
Bin Meng07845102021-05-10 20:23:35 +080030 select BINMAN
Green Wan70415e12021-05-27 06:52:13 -070031 select RESET_SIFIVE
Anup Patel3fda0262019-02-25 08:15:19 +000032 imply CMD_DHCP
33 imply CMD_EXT2
34 imply CMD_EXT4
35 imply CMD_FAT
36 imply CMD_FS_GENERIC
Jagan Teki085cb1d2020-05-29 11:33:36 +053037 imply CMD_GPT
38 imply PARTITION_TYPE_GUID
Anup Patel3fda0262019-02-25 08:15:19 +000039 imply CMD_NET
40 imply CMD_PING
Jagan Teki286bcdb2020-04-29 21:03:53 +053041 imply CMD_SF
Anup Patel3fda0262019-02-25 08:15:19 +000042 imply DOS_PARTITION
43 imply EFI_PARTITION
44 imply IP_DYN
45 imply ISO_PARTITION
Anup Patel3fda0262019-02-25 08:15:19 +000046 imply PHY_LIB
47 imply PHY_MSCC
Jagan Teki286bcdb2020-04-29 21:03:53 +053048 imply SPI_FLASH
49 imply SPI_FLASH_ISSI
Bin Meng265d46b2020-07-19 20:06:46 -070050 imply SYSRESET
51 imply SYSRESET_GPIO
Pragnesh Patelf517e5f2020-11-14 14:42:35 +053052 imply CMD_I2C
Anup Patel3fda0262019-02-25 08:15:19 +000053
54endif