riscv: andesv5: Set default cache line size to 64-bytes
PATCH 1/1 riscv: andesv5: Set default cache line size to 64-bytes
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 <[email protected]>
--- arch/riscv/cpu/andesv5/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/riscv/cpu/andesv5/Kconfig +1 -0
@@ -1,6 +1,7 @@ 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)
Signature · 1 line
2.34.1
Quoted 8 lines · Yu Chien Peter Lin
The instruction and data cache line sizes of Andes core are 64-byte. Select
SYS_CACHE_SHIFT_6forRISCV_NDSso theSYS_CACHELINE_SIZEis enabled with a default value.Signed-off-by Yu Chien Peter Lin <[email protected]>--- arch/riscv/cpu/andesv5/Kconfig | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Leo Yu-Chi Liang <[email protected]>