blob: e025134b23c756a91ec699f4061343c7892afbee [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 Meng756eeba2021-05-10 20:23:39 +08007 select BINMAN if SPL
Bin Meng39cad5b2018-12-12 06:12:34 -08008 select ARCH_EARLY_INIT_R
Bin Meng84304d42018-12-12 06:12:32 -08009 imply CPU
10 imply CPU_RISCV
Sean Andersonc33efaf2020-09-28 10:52:21 -040011 imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
Bin Menga6d7e8c2021-05-11 20:04:12 +080012 imply SIFIVE_CLINT if RISCV_MMODE
13 imply SPL_SIFIVE_CLINT if SPL_RISCV_MMODE
Bin Meng84304d42018-12-12 06:12:32 -080014 imply CMD_CPU
Simon Glass529d5f92021-03-15 18:11:18 +130015 imply SPL_CPU
Lukas Auer8c59f202019-08-21 21:14:45 +020016 imply SPL_OPENSBI
17 imply SPL_LOAD_FIT