diff options
author | Anup Patel <anup.patel@wdc.com> | 2021-04-22 10:27:15 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-04-28 17:03:31 +0530 |
commit | dc39c7b630a607b96c25f8ea50f0bb1af619928a (patch) | |
tree | f0c1d9ae8c5a68cc38e4ffba772f50f43111e715 /lib/sbi/sbi_hsm.c | |
parent | 559a8f1d3be3210d4903c0db54c2d36e2f8d6ad4 (diff) |
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>
Diffstat (limited to 'lib/sbi/sbi_hsm.c')
-rw-r--r-- | lib/sbi/sbi_hsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_hsm.c b/lib/sbi/sbi_hsm.c index bbc4ce9..64d299b 100644 --- a/lib/sbi/sbi_hsm.c +++ b/lib/sbi/sbi_hsm.c @@ -238,7 +238,7 @@ int sbi_hsm_hart_start(struct sbi_scratch *scratch, return sbi_platform_hart_start(plat, hartid, scratch->warmboot_addr); } else { - sbi_platform_ipi_send(plat, hartid); + sbi_ipi_raw_send(hartid); } return 0; |