blob: b7552f539f4ca3ffdfb2040b2d1a6e9b2ba0e1ca [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
10 imply RISCV_TIMER
Lukas Auer61346592019-08-21 21:14:43 +020011 imply SIFIVE_CLINT if (RISCV_MMODE || SPL_RISCV_MMODE)
Bin Meng8fa44782018-12-12 06:12:32 -080012 imply CMD_CPU