Rick Chen | 52923c6 | 2018-11-07 09:34:06 +0800 | [diff] [blame] | 1 | config RISCV_NDS |
Bin Meng | 44fe795 | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 2 | bool |
Rick Chen | 8848474 | 2019-04-02 15:56:41 +0800 | [diff] [blame] | 3 | select ARCH_EARLY_INIT_R |
| 4 | imply CPU |
| 5 | imply CPU_RISCV |
Sean Anderson | c33efaf | 2020-09-28 10:52:21 -0400 | [diff] [blame] | 6 | imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE) |
Lukas Auer | fbfd92b | 2019-08-21 21:14:43 +0200 | [diff] [blame] | 7 | imply ANDES_PLIC if (RISCV_MMODE || SPL_RISCV_MMODE) |
Sean Anderson | 7dbebeb | 2020-10-25 21:46:57 -0400 | [diff] [blame] | 8 | imply ANDES_PLMT_TIMER if (RISCV_MMODE || SPL_RISCV_MMODE) |
Simon Glass | 529d5f9 | 2021-03-15 18:11:18 +1300 | [diff] [blame] | 9 | imply SPL_CPU |
Rick Chen | ca06444 | 2019-11-14 13:52:21 +0800 | [diff] [blame] | 10 | imply SPL_OPENSBI |
| 11 | imply SPL_LOAD_FIT |
Rick Chen | 52923c6 | 2018-11-07 09:34:06 +0800 | [diff] [blame] | 12 | help |
Bin Meng | 44fe795 | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 13 | Run U-Boot on AndeStar V5 platforms and use some specific features |
| 14 | which are provided by Andes Technology AndeStar V5 families. |
| 15 | |
| 16 | if RISCV_NDS |
| 17 | |
| 18 | config RISCV_NDS_CACHE |
| 19 | bool "AndeStar V5 families specific cache support" |
Lukas Auer | fbfd92b | 2019-08-21 21:14:43 +0200 | [diff] [blame] | 20 | depends on RISCV_MMODE || SPL_RISCV_MMODE |
Bin Meng | 44fe795 | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 21 | help |
| 22 | Provide Andes Technology AndeStar V5 families specific cache support. |
| 23 | |
| 24 | endif |