blob: e5549a01b83671b4cdeb9222a9e59fa69181cfd6 [file] [log] [blame]
Yanhong Wang5203a632023-03-29 11:42:18 +08001# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2022 StarFive Technology Co., Ltd.
4
5config STARFIVE_JH7110
6 bool
7 select ARCH_EARLY_INIT_R
8 select CLK_JH7110
9 select CPU
10 select CPU_RISCV
11 select RAM
12 select RESET_JH7110
13 select SUPPORT_SPL
14 select SPL_RAM if SPL
15 select SPL_STARFIVE_DDR
Minda Chen8fe34ac2023-08-07 16:53:37 +080016 select SYS_CACHE_SHIFT_6
Shengyu Quac4bf432023-08-09 21:11:33 +080017 select SPL_ZERO_MEM_BEFORE_USE
Yanhong Wang5203a632023-03-29 11:42:18 +080018 select PINCTRL_STARFIVE_JH7110
19 imply MMC
20 imply MMC_BROKEN_CD
21 imply MMC_SPI
22 imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
23 imply SIFIVE_CACHE
24 imply SIFIVE_CCACHE
25 imply SMP
26 imply SPI
27 imply SPL_CPU
28 imply SPL_LOAD_FIT
29 imply SPL_OPENSBI
Bin Mengb5f03722023-06-21 23:11:46 +080030 imply SPL_RISCV_ACLINT
Shengyu Qu856215262023-08-25 00:25:20 +080031 imply SPL_SYS_MALLOC_CLEAR_ON_INIT