git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb52ea
)
board: thead: licheepi4a: Bring up secondary cores in SPL
author
Yao Zi
<ziyao@disroot.org>
Fri, 6 Jun 2025 04:28:04 +0000
(
04:28
+0000)
committer
Leo 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
patch
|
blob
|
history
diff --git
a/board/thead/th1520_lpi4a/spl.c
b/board/thead/th1520_lpi4a/spl.c
index
25dfa38
..
d75fa6f
100644
(file)
--- a/
board/thead/th1520_lpi4a/spl.c
+++ b/
board/thead/th1520_lpi4a/spl.c
@@
-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();