blob: 6f73bdd26b6d93946f6a3160b6b211342bc34a50 [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 Meng7a3bbfb2018-12-12 06:12:34 -08007 select ARCH_EARLY_INIT_R
Bin Meng8fa44782018-12-12 06:12:32 -08008 imply CPU
9 imply CPU_RISCV
Sean Anderson9baaaef2020-09-28 10:52:21 -040010 imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
Bin Meng614b1d82021-05-11 20:04:12 +080011 imply SIFIVE_CLINT if RISCV_MMODE
12 imply SPL_SIFIVE_CLINT if SPL_RISCV_MMODE
Bin Meng8fa44782018-12-12 06:12:32 -080013 imply CMD_CPU
Simon Glass2f002162021-03-15 18:11:18 +130014 imply SPL_CPU
Lukas Auer396f0bd2019-08-21 21:14:45 +020015 imply SPL_OPENSBI
16 imply SPL_LOAD_FIT