]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: remove cache enablement in start.S
authorLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 28 May 2024 12:49:57 +0000 (20:49 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 30 May 2024 08:01:09 +0000 (16:01 +0800)
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

index a9e193569287f981b45c90575c3c09b528f8259c..8e58f641f1b7f5436654e9d248d45ea5437257bb 100644 (file)
@@ -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