commit | e491e15a3f4bdf7e22d5e448c3f0cfb733a8dd8b | [log] [tgz] |
---|---|---|
author | Leo Yu-Chi Liang <ycliang@andestech.com> | Mon Jun 29 16:27:28 2020 +0800 |
committer | Andes <uboot@andestech.com> | Fri Jul 24 14:56:13 2020 +0800 |
tree | 5e770fd7c2271624eaed187457662b54d348e2c5 | |
parent | 27b4a4abe60ef4f42e45cb33075ca37369831588 [diff] |
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: Bin Meng <bin.meng@windriver.com>