mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
c0ffc12a70
Enable saving environment to SPI flash memory on SiFive Unmatched. Signed-off-by: Thomas Skibo <thomas-git@skibo.net> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
53 lines
895 B
Text
53 lines
895 B
Text
if TARGET_SIFIVE_UNMATCHED
|
|
|
|
config SYS_BOARD
|
|
default "unmatched"
|
|
|
|
config SYS_VENDOR
|
|
default "sifive"
|
|
|
|
config SYS_CPU
|
|
default "fu740"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "sifive-unmatched"
|
|
|
|
config SYS_TEXT_BASE
|
|
default 0x80200000 if SPL
|
|
default 0x80000000 if !RISCV_SMODE
|
|
default 0x80200000 if RISCV_SMODE
|
|
|
|
config SPL_TEXT_BASE
|
|
default 0x08000000
|
|
|
|
config SPL_OPENSBI_LOAD_ADDR
|
|
default 0x80000000
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select SIFIVE_FU740
|
|
select ENV_IS_IN_SPI_FLASH
|
|
select SUPPORT_SPL
|
|
select RESET_SIFIVE
|
|
select BINMAN
|
|
imply CMD_DHCP
|
|
imply CMD_EXT2
|
|
imply CMD_EXT4
|
|
imply CMD_FAT
|
|
imply CMD_FS_GENERIC
|
|
imply CMD_GPT
|
|
imply PARTITION_TYPE_GUID
|
|
imply CMD_NET
|
|
imply CMD_PING
|
|
imply CMD_SF
|
|
imply DOS_PARTITION
|
|
imply EFI_PARTITION
|
|
imply IP_DYN
|
|
imply ISO_PARTITION
|
|
imply PHY_LIB
|
|
imply PHY_MSCC
|
|
imply SYSRESET
|
|
imply SYSRESET_GPIO
|
|
imply CMD_I2C
|
|
|
|
endif
|