* [PATCH] riscv: andesv5: Set default cache line size to 64-bytes
@ 2024-04-11 9:29 Yu Chien Peter Lin
2024-05-01 14:32 ` Leo Liang
0 siblings, 1 reply; 2+ messages in thread
From: Yu Chien Peter Lin @ 2024-04-11 9:29 UTC (permalink / raw)
To: ycliang, tim609, randolph, u-boot; +Cc: Yu Chien Peter Lin
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>
---
arch/riscv/cpu/andesv5/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/cpu/andesv5/Kconfig b/arch/riscv/cpu/andesv5/Kconfig
index f311291aed..e3efb0de8f 100644
--- a/arch/riscv/cpu/andesv5/Kconfig
+++ b/arch/riscv/cpu/andesv5/Kconfig
@@ -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)
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-01 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 9:29 [PATCH] riscv: andesv5: Set default cache line size to 64-bytes Yu Chien Peter Lin
2024-05-01 14:32 ` Leo Liang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.