Skip to content
Commit e491e15a authored by Leo Yu-Chi Liang's avatar Leo Yu-Chi Liang Committed by Andes
Browse files

riscv: Fix linking error when building u-boot-spl with no SMP support



Switch off SMP support when building u-boot-spl would cause linking error as follow:
undefined reference to 'secondary hart relocate' and 'smp_call_function'.
Add macro to wrap up proper code region that needs SMP configuration on.

Signed-off by: Leo Liang <ycliang@andestech.com>
Cc: rick@andestech.com
Reviewed-by: default avatarBin Meng <bin.meng@windriver.com>
parent 27b4a4ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment