2019-02-25 08:15:19 +00:00
|
|
|
if TARGET_SIFIVE_FU540
|
|
|
|
|
|
|
|
config SYS_BOARD
|
|
|
|
default "fu540"
|
|
|
|
|
|
|
|
config SYS_VENDOR
|
|
|
|
default "sifive"
|
|
|
|
|
|
|
|
config SYS_CPU
|
2020-05-29 06:03:34 +00:00
|
|
|
default "fu540"
|
2019-02-25 08:15:19 +00:00
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
|
|
|
default "sifive-fu540"
|
|
|
|
|
|
|
|
config SYS_TEXT_BASE
|
2020-05-29 06:03:35 +00:00
|
|
|
default 0x80200000 if SPL
|
2019-02-25 08:15:19 +00:00
|
|
|
default 0x80000000 if !RISCV_SMODE
|
|
|
|
default 0x80200000 if RISCV_SMODE
|
|
|
|
|
2020-05-29 06:03:35 +00:00
|
|
|
config SPL_TEXT_BASE
|
|
|
|
default 0x08000000
|
|
|
|
|
|
|
|
config SPL_OPENSBI_LOAD_ADDR
|
|
|
|
default 0x80000000
|
|
|
|
|
2019-02-25 08:15:19 +00:00
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
|
|
def_bool y
|
2020-05-29 06:03:35 +00:00
|
|
|
select SIFIVE_FU540
|
2020-07-15 10:09:01 +00:00
|
|
|
select ENV_IS_IN_SPI_FLASH
|
2019-02-25 08:15:19 +00:00
|
|
|
imply CMD_DHCP
|
|
|
|
imply CMD_EXT2
|
|
|
|
imply CMD_EXT4
|
|
|
|
imply CMD_FAT
|
|
|
|
imply CMD_FS_GENERIC
|
2020-05-29 06:03:36 +00:00
|
|
|
imply CMD_GPT
|
|
|
|
imply PARTITION_TYPE_GUID
|
2019-02-25 08:15:19 +00:00
|
|
|
imply CMD_NET
|
|
|
|
imply CMD_PING
|
2020-04-29 15:33:53 +00:00
|
|
|
imply CMD_SF
|
2019-02-25 08:15:19 +00:00
|
|
|
imply DOS_PARTITION
|
|
|
|
imply EFI_PARTITION
|
|
|
|
imply IP_DYN
|
|
|
|
imply ISO_PARTITION
|
|
|
|
imply NET_RANDOM_ETHADDR
|
|
|
|
imply PHY_LIB
|
|
|
|
imply PHY_MSCC
|
2020-04-29 15:33:53 +00:00
|
|
|
imply SPI_FLASH
|
|
|
|
imply SPI_FLASH_ISSI
|
2020-07-20 03:06:46 +00:00
|
|
|
imply SYSRESET
|
|
|
|
imply SYSRESET_GPIO
|
2019-02-25 08:15:19 +00:00
|
|
|
|
|
|
|
endif
|