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
|
|
|
|
select SUPPORT_SPL
|
2020-07-15 10:09:01 +00:00
|
|
|
select ENV_IS_IN_SPI_FLASH
|
2020-05-29 06:03:26 +00:00
|
|
|
select RAM
|
|
|
|
select SPL_RAM if SPL
|
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 CLK_SIFIVE
|
|
|
|
imply CLK_SIFIVE_FU540_PRCI
|
|
|
|
imply DOS_PARTITION
|
|
|
|
imply EFI_PARTITION
|
|
|
|
imply IP_DYN
|
|
|
|
imply ISO_PARTITION
|
|
|
|
imply MACB
|
|
|
|
imply MII
|
|
|
|
imply NET_RANDOM_ETHADDR
|
|
|
|
imply PHY_LIB
|
|
|
|
imply PHY_MSCC
|
|
|
|
imply SIFIVE_SERIAL
|
2019-07-17 04:23:48 +00:00
|
|
|
imply SPI
|
|
|
|
imply SPI_SIFIVE
|
2020-04-29 15:33:53 +00:00
|
|
|
imply SPI_FLASH
|
|
|
|
imply SPI_FLASH_ISSI
|
2019-07-17 04:23:48 +00:00
|
|
|
imply MMC
|
|
|
|
imply MMC_SPI
|
|
|
|
imply MMC_BROKEN_CD
|
|
|
|
imply CMD_MMC
|
2019-10-01 17:00:47 +00:00
|
|
|
imply DM_GPIO
|
|
|
|
imply SIFIVE_GPIO
|
|
|
|
imply CMD_GPIO
|
2019-03-17 18:28:41 +00:00
|
|
|
imply SMP
|
2020-05-29 06:03:22 +00:00
|
|
|
imply MISC
|
|
|
|
imply SIFIVE_OTP
|
2020-05-29 06:44:52 +00:00
|
|
|
imply DM_PWM
|
|
|
|
imply PWM_SIFIVE
|
2019-02-25 08:15:19 +00:00
|
|
|
|
|
|
|
endif
|