2020-05-29 06:03:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
|
|
|
|
|
|
|
config SIFIVE_FU540
|
|
|
|
bool
|
|
|
|
select ARCH_EARLY_INIT_R
|
2020-08-03 06:09:04 +00:00
|
|
|
select SUPPORT_SPL
|
|
|
|
select RAM
|
|
|
|
select SPL_RAM if SPL
|
2020-05-29 06:03:34 +00:00
|
|
|
imply CPU
|
|
|
|
imply CPU_RISCV
|
2020-09-28 14:52:21 +00:00
|
|
|
imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
|
2023-06-21 15:11:46 +00:00
|
|
|
imply SPL_RISCV_ACLINT
|
2020-05-29 06:03:34 +00:00
|
|
|
imply CMD_CPU
|
2021-03-15 05:11:18 +00:00
|
|
|
imply SPL_CPU
|
2020-05-29 06:03:34 +00:00
|
|
|
imply SPL_OPENSBI
|
|
|
|
imply SPL_LOAD_FIT
|
2020-08-03 06:09:04 +00:00
|
|
|
imply SMP
|
|
|
|
imply CLK_SIFIVE
|
2021-05-27 13:52:08 +00:00
|
|
|
imply CLK_SIFIVE_PRCI
|
2021-09-01 07:01:42 +00:00
|
|
|
imply SIFIVE_CACHE
|
|
|
|
imply SIFIVE_CCACHE
|
2020-08-03 06:09:04 +00:00
|
|
|
imply SIFIVE_SERIAL
|
|
|
|
imply MACB
|
|
|
|
imply MII
|
|
|
|
imply SPI
|
|
|
|
imply SPI_SIFIVE
|
|
|
|
imply MMC
|
|
|
|
imply MMC_SPI
|
|
|
|
imply MMC_BROKEN_CD
|
|
|
|
imply CMD_MMC
|
|
|
|
imply DM_GPIO
|
|
|
|
imply SIFIVE_GPIO
|
|
|
|
imply CMD_GPIO
|
|
|
|
imply MISC
|
|
|
|
imply SIFIVE_OTP
|
|
|
|
imply DM_PWM
|
|
|
|
imply PWM_SIFIVE
|
2020-11-14 09:12:35 +00:00
|
|
|
imply DM_I2C
|
|
|
|
imply SYS_I2C_OCORES
|
2020-07-15 10:09:00 +00:00
|
|
|
|
|
|
|
if ENV_IS_IN_SPI_FLASH
|
|
|
|
|
|
|
|
config ENV_OFFSET
|
|
|
|
default 0x505000
|
|
|
|
|
|
|
|
config ENV_SIZE
|
|
|
|
default 0x20000
|
|
|
|
|
|
|
|
config ENV_SECT_SIZE
|
|
|
|
default 0x10000
|
|
|
|
|
|
|
|
endif # ENV_IS_IN_SPI_FLASH
|