blob: 5cb5bb51eb1a2d0daa84d292d37a6366b2e7894b [file] [log] [blame]
Rick Chen52923c62018-11-07 09:34:06 +08001config RISCV_NDS
Bin Meng44fe7952018-12-12 06:12:28 -08002 bool
Rick Chen88484742019-04-02 15:56:41 +08003 select ARCH_EARLY_INIT_R
4 imply CPU
5 imply CPU_RISCV
Sean Andersonc33efaf2020-09-28 10:52:21 -04006 imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
Lukas Auerfbfd92b2019-08-21 21:14:43 +02007 imply ANDES_PLIC if (RISCV_MMODE || SPL_RISCV_MMODE)
8 imply ANDES_PLMT if (RISCV_MMODE || SPL_RISCV_MMODE)
Rick Chenca064442019-11-14 13:52:21 +08009 imply SPL_CPU_SUPPORT
10 imply SPL_OPENSBI
11 imply SPL_LOAD_FIT
Rick Chen52923c62018-11-07 09:34:06 +080012 help
Bin Meng44fe7952018-12-12 06:12:28 -080013 Run U-Boot on AndeStar V5 platforms and use some specific features
14 which are provided by Andes Technology AndeStar V5 families.
15
16if RISCV_NDS
17
18config RISCV_NDS_CACHE
19 bool "AndeStar V5 families specific cache support"
Lukas Auerfbfd92b2019-08-21 21:14:43 +020020 depends on RISCV_MMODE || SPL_RISCV_MMODE
Bin Meng44fe7952018-12-12 06:12:28 -080021 help
22 Provide Andes Technology AndeStar V5 families specific cache support.
23
24endif