[PATCH] riscv: Move all SMP related SBI calls to SBI_v01

Bin Meng bmeng.cn at gmail.com
Thu Apr 23 12:43:06 CEST 2020


On Wed, Apr 22, 2020 at 5:52 AM Atish Patra <atish.patra at wdc.com> wrote:
>
> SMP support for S-mode U-Boot is enabled only if SBI_V01 is enabled.
> There is no point in supporting SMP related (IPI and fences) SBI calls
> when SBI_V02 is enabled.
>
> Modify all the SMP related SBI calls to be defined only for SBI_V01.
>
> Signed-off-by: Atish Patra <atish.patra at wdc.com>
> ---
>  arch/riscv/include/asm/sbi.h |  5 ++---
>  arch/riscv/lib/sbi.c         | 37 ++++++++++++++++++------------------
>  2 files changed, 20 insertions(+), 22 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list