
23 Apr
2020
23 Apr
'20
12:43 p.m.
On Wed, Apr 22, 2020 at 5:52 AM Atish Patra atish.patra@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@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@gmail.com