]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: Move all SMP related SBI calls to SBI_v01
authorAtish Patra <atish.patra@wdc.com>
Tue, 21 Apr 2020 21:51:57 +0000 (14:51 -0700)
committerAndes <uboot@andestech.com>
Tue, 26 May 2020 07:50:08 +0000 (15:50 +0800)
commit692b3c881ee0fb4afa58f7f1c3fe423c621ffd5c
treee4adc0b5ff49db7064a82713bd9048378e8ce9dc
parent957c0c8acbe08161c278a3d278d7e5be1a568499
riscv: Move all SMP related SBI calls to SBI_v01

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>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/include/asm/sbi.h
arch/riscv/lib/sbi.c