mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 20:56:12 +02:00
riscv: cpu: th1520: Build spl.c for SPL only
Symbols in spl.c only function correctly in SPL stage. Build the file
for SPL only to avoid weak symbols in proper U-Boot being unexpectedly
reloaded.
Fixes: 5fe9ced3552 ("riscv: cpu: Add TH1520 CPU support")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
parent
8b410cab51
commit
0463545678
@ -5,4 +5,4 @@
|
||||
obj-y += cache.o
|
||||
obj-y += cpu.o
|
||||
obj-y += dram.o
|
||||
obj-y += spl.o
|
||||
obj-$(CONFIG_SPL_BUILD) += spl.o
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user