[PATCH 1/1] riscv: Fix linking error when building u-boot-spl with no SMP support
Bin Meng
bmeng.cn at gmail.com
Tue Jul 7 11:45:59 CEST 2020
On Mon, Jun 29, 2020 at 7:48 PM Leo Yu-Chi Liang <ycliang at andestech.com> wrote:
>
> 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 at andestech.com>
> Cc: rick at andestech.com
> ---
> arch/riscv/cpu/start.S | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Bin Meng <bin.meng at windriver.com>
More information about the U-Boot
mailing list