commit | 4e3ba2a66507c115229812f71e5001a3f6f346b4 | [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 | f0410175e3ffd99b743d0db93393cec973885e1d [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>