Skip to content

Commit

Permalink
riscv: remove cache enablement in start.S
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Leo Yu-Chi Liang committed May 30, 2024
1 parent ceec476 commit cea0ed2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/riscv/cpu/start.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cea0ed2

Please sign in to comment.