[PATCH 1/5] riscv: cpu: th1520: Build spl.c for SPL only

Leo Liang ycliang at andestech.com
Mon Jun 2 12:18:27 CEST 2025


On Fri, May 30, 2025 at 09:48:47AM +0000, Yao Zi wrote:
> [EXTERNAL MAIL]
> 
> 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 at disroot.org>
> ---
>  arch/riscv/cpu/th1520/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list