diff mbox series

[1/1] riscv: remove cache enablement in start.S

Message ID 20240528124957.934284-1-ycliang@andestech.com
State Accepted
Commit cea0ed2e3f37a36e6243bed8c3491d2281c30287
Delegated to: Andes
Headers show
Series [1/1] riscv: remove cache enablement in start.S | expand

Commit Message

Leo Liang May 28, 2024, 12:49 p.m. UTC
Cache could be enabled in harts_early_init board-specific hook,
so remove cache enablement in start.S

Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
---
 arch/riscv/cpu/start.S | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S
index a9e1935692..8e58f641f1 100644
--- a/arch/riscv/cpu/start.S
+++ b/arch/riscv/cpu/start.S
@@ -210,10 +210,6 @@  wait_for_gd_init:
 	bnez	s2, secondary_hart_loop
 #endif
 
-	/* Enable cache */
-	jal	icache_enable
-	jal	dcache_enable
-
 #ifdef CONFIG_DEBUG_UART
 	jal	debug_uart_init
 #endif