mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
ff8e88a6d7
All FU540 driver related options should be in the SoC level Kconfig. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Rick Chen <rick@andestech.com> Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com> Tested-by: Pragnesh Patel <pragnesh.patel@sifive.com>
50 lines
846 B
Text
50 lines
846 B
Text
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
|
|
|
config SIFIVE_FU540
|
|
bool
|
|
select ARCH_EARLY_INIT_R
|
|
select SUPPORT_SPL
|
|
select RAM
|
|
select SPL_RAM if SPL
|
|
imply CPU
|
|
imply CPU_RISCV
|
|
imply RISCV_TIMER
|
|
imply SIFIVE_CLINT if (RISCV_MMODE || SPL_RISCV_MMODE)
|
|
imply CMD_CPU
|
|
imply SPL_CPU_SUPPORT
|
|
imply SPL_OPENSBI
|
|
imply SPL_LOAD_FIT
|
|
imply SMP
|
|
imply CLK_SIFIVE
|
|
imply CLK_SIFIVE_FU540_PRCI
|
|
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
|
|
|
|
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
|