blob: 2baba22992389d08618401bfee41ea0e1adadbee [file] [log] [blame]
Bin Meng8fa44782018-12-12 06:12:32 -08001# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
4
Anup Patel1240cd62019-02-25 08:14:10 +00005config GENERIC_RISCV
Bin Meng8fa44782018-12-12 06:12:32 -08006 bool
Bin Meng1255ab82021-05-10 20:23:39 +08007 select BINMAN if SPL
Bin Meng7a3bbfb2018-12-12 06:12:34 -08008 select ARCH_EARLY_INIT_R
Heinrich Schuchardt026a9322023-07-21 18:01:18 +02009 select SYS_CACHE_SHIFT_6
Bin Meng8fa44782018-12-12 06:12:32 -080010 imply CPU
11 imply CPU_RISCV
Sean Anderson9baaaef2020-09-28 10:52:21 -040012 imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
Bin Mengb5f03722023-06-21 23:11:46 +080013 imply RISCV_ACLINT if RISCV_MMODE
14 imply SPL_RISCV_ACLINT if SPL_RISCV_MMODE
Bin Meng8fa44782018-12-12 06:12:32 -080015 imply CMD_CPU
Simon Glass2f002162021-03-15 18:11:18 +130016 imply SPL_CPU
Lukas Auer396f0bd2019-08-21 21:14:45 +020017 imply SPL_OPENSBI
18 imply SPL_LOAD_FIT