blob: b2cb155d6dab2e645469694180cfa09794884c48 [file] [log] [blame]
Bin Meng84304d42018-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 Patelfdff1f92019-02-25 08:14:10 +00005config GENERIC_RISCV
Bin Meng84304d42018-12-12 06:12:32 -08006 bool
Bin Meng39cad5b2018-12-12 06:12:34 -08007 select ARCH_EARLY_INIT_R
Bin Meng84304d42018-12-12 06:12:32 -08008 imply CPU
9 imply CPU_RISCV
10 imply RISCV_TIMER
Lukas Auerfbfd92b2019-08-21 21:14:43 +020011 imply SIFIVE_CLINT if (RISCV_MMODE || SPL_RISCV_MMODE)
Bin Meng84304d42018-12-12 06:12:32 -080012 imply CMD_CPU
Lukas Auer8c59f202019-08-21 21:14:45 +020013 imply SPL_CPU_SUPPORT
14 imply SPL_OPENSBI
15 imply SPL_LOAD_FIT