aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorYanhong Wang <yanhong.wang@starfivetech.com>2023-03-29 11:42:18 +0800
committerLeo Yu-Chi Liang <ycliang@andestech.com>2023-04-20 16:08:44 +0800
commit2f5fad0b0ddcdab6deeeda94859bcd93605d1784 (patch)
tree97cfe33843d68579880867d155b9c795f9e29e12 /arch/riscv
parent5ecf9b0b8a756c7227ef17c67a870295060e2052 (diff)
downloadu-boot-2f5fad0b0ddcdab6deeeda94859bcd93605d1784.zip
u-boot-2f5fad0b0ddcdab6deeeda94859bcd93605d1784.tar.gz
u-boot-2f5fad0b0ddcdab6deeeda94859bcd93605d1784.tar.bz2
riscv: cpu: jh7110: Add Kconfig for StarFive JH7110 SoC
Add Kconfig to select the basic functions for StarFive JH7110 SoC. Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com> Tested-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/cpu/jh7110/Kconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/riscv/cpu/jh7110/Kconfig b/arch/riscv/cpu/jh7110/Kconfig
new file mode 100644
index 0000000..3f14541
--- /dev/null
+++ b/arch/riscv/cpu/jh7110/Kconfig
@@ -0,0 +1,28 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (C) 2022 StarFive Technology Co., Ltd.
+
+config STARFIVE_JH7110
+ bool
+ select ARCH_EARLY_INIT_R
+ select CLK_JH7110
+ select CPU
+ select CPU_RISCV
+ select RAM
+ select RESET_JH7110
+ select SUPPORT_SPL
+ select SPL_RAM if SPL
+ select SPL_STARFIVE_DDR
+ select PINCTRL_STARFIVE_JH7110
+ imply MMC
+ imply MMC_BROKEN_CD
+ imply MMC_SPI
+ imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
+ imply SIFIVE_CACHE
+ imply SIFIVE_CCACHE
+ imply SMP
+ imply SPI
+ imply SPL_CPU
+ imply SPL_LOAD_FIT
+ imply SPL_OPENSBI
+ imply SPL_SIFIVE_CLINT