Skip to contentSkip to conversation

riscv: remove cache enablement in start.S

PATCH New Leo Yu-Chi Liang 1 participant 1 message May 28, 2024 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: remove cache enablement in start.S

Cache could be enabled in harts_early_init board-specific hook, so remove cache enablement in start.S

---
 arch/riscv/cpu/start.S | 4 ----
 1 file changed, 4 deletions(-)
arch/riscv/cpu/start.S +0 -4
index a9e1935692..8e58f641f1 100644
@@ -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
Signature · 1 line
2.34.1