]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: thead: licheepi4a: Bring up secondary cores in SPL
authorYao Zi <ziyao@disroot.org>
Fri, 6 Jun 2025 04:28:04 +0000 (04:28 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 3 Jul 2025 08:14:13 +0000 (16:14 +0800)
Setup core information and bring secondary HARTs up for a functional
multi-core system.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/thead/th1520_lpi4a/spl.c

index 25dfa387c369c081e43a30db3cc8705524c66640..d75fa6f3eff7ae1f72dba9d7d566ea879caf5d6d 100644 (file)
@@ -39,6 +39,9 @@ void board_init_f(ulong dummy)
        if (ret)
                panic("failed to bind CPU: %d\n", ret);
 
+       riscv_cpu_setup();
+       th1520_kick_secondary_cores();
+
        spl_dram_init();
 
        icache_enable();