mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-23 15:41:22 +02:00
The instruction and data cache line sizes of Andes core are 64-byte. Select SYS_CACHE_SHIFT_6 for RISCV_NDS so the SYS_CACHELINE_SIZE is enabled with a default value. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
18 lines
478 B
Plaintext
18 lines
478 B
Plaintext
config RISCV_NDS
|
|
bool
|
|
select ARCH_EARLY_INIT_R
|
|
select SYS_CACHE_SHIFT_6
|
|
imply CPU
|
|
imply CPU_RISCV
|
|
imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
|
|
imply ANDES_PLMT_TIMER
|
|
imply SPL_ANDES_PLMT_TIMER
|
|
imply ANDES_PLICSW if (RISCV_MMODE || SPL_RISCV_MMODE)
|
|
imply V5L2_CACHE
|
|
imply SPL_CPU
|
|
imply SPL_OPENSBI
|
|
imply SPL_LOAD_FIT
|
|
help
|
|
Run U-Boot on AndeStar V5 platforms and use some specific features
|
|
which are provided by Andes Technology AndeStar V5 families.
|