lib: sbi: Simplify ipi platform operations
authorAnup Patel <anup.patel@wdc.com>
Thu, 22 Apr 2021 04:57:15 +0000 (10:27 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 28 Apr 2021 11:33:31 +0000 (17:03 +0530)
commitdc39c7b630a607b96c25f8ea50f0bb1af619928a
treef0c1d9ae8c5a68cc38e4ffba772f50f43111e715
parent559a8f1d3be3210d4903c0db54c2d36e2f8d6ad4
lib: sbi: Simplify ipi platform operations

Instead of having ipi_send() and ipi_clear() callbacks in
platform operations, it will be much simpler for ipi driver
to directly register these operations as a device to sbi_ipi
implementation.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
18 files changed:
include/sbi/sbi_ipi.h
include/sbi/sbi_platform.h
include/sbi_utils/ipi/fdt_ipi.h
include/sbi_utils/sys/clint.h
lib/sbi/sbi_hsm.c
lib/sbi/sbi_init.c
lib/sbi/sbi_ipi.c
lib/utils/ipi/fdt_ipi.c
lib/utils/ipi/fdt_ipi_clint.c
lib/utils/sys/clint.c
platform/andes/ae350/platform.c
platform/fpga/ariane/platform.c
platform/fpga/openpiton/platform.c
platform/generic/platform.c
platform/kendryte/k210/platform.c
platform/nuclei/ux600/platform.c
platform/sifive/fu540/platform.c
platform/template/platform.c