Rick Chen | 842d580 | 2018-11-07 09:34:06 +0800 | [diff] [blame] | 1 | config RISCV_NDS |
Bin Meng | 4b284ad | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 2 | bool |
Rick Chen | 14a1075 | 2019-04-02 15:56:41 +0800 | [diff] [blame] | 3 | select ARCH_EARLY_INIT_R |
| 4 | imply CPU |
| 5 | imply CPU_RISCV |
Sean Anderson | 9baaaef | 2020-09-28 10:52:21 -0400 | [diff] [blame] | 6 | imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE) |
Yu Chien Peter Lin | 739cd6f | 2022-10-25 23:03:50 +0800 | [diff] [blame] | 7 | imply ANDES_PLICSW if (RISCV_MMODE || SPL_RISCV_MMODE) |
Sean Anderson | 5a23865 | 2020-10-25 21:46:57 -0400 | [diff] [blame] | 8 | imply ANDES_PLMT_TIMER if (RISCV_MMODE || SPL_RISCV_MMODE) |
Simon Glass | 2f00216 | 2021-03-15 18:11:18 +1300 | [diff] [blame] | 9 | imply SPL_CPU |
Rick Chen | 276292a | 2019-11-14 13:52:21 +0800 | [diff] [blame] | 10 | imply SPL_OPENSBI |
| 11 | imply SPL_LOAD_FIT |
Bin Meng | 4b284ad | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 12 | help |
| 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 | 6134659 | 2019-08-21 21:14:43 +0200 | [diff] [blame] | 20 | depends on RISCV_MMODE || SPL_RISCV_MMODE |
Rick Chen | 842d580 | 2018-11-07 09:34:06 +0800 | [diff] [blame] | 21 | help |
Bin Meng | 4b284ad | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 22 | Provide Andes Technology AndeStar V5 families specific cache support. |
| 23 | |
| 24 | endif |