lib: sbi_hsm: Don't use sbi_platform_hart_count() API
authorAnup Patel <anup.patel@wdc.com>
Wed, 18 Mar 2020 09:43:06 +0000 (15:13 +0530)
committerAnup Patel <anup@brainfault.org>
Thu, 19 Mar 2020 03:51:08 +0000 (09:21 +0530)
commit680b09872dd9fe43adfaa29dd95d0d035f5e0ac2
tree833009d03cb77949c1e46641da0304935bf8321b
parentc9f60fc6b7d940c970d4562656424aa9519e9b90
lib: sbi_hsm: Don't use sbi_platform_hart_count() API

We remove usage of sbi_platform_hart_count() API from sbi_hsm
so that discontinuous and sparse HART ids can be supported.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/sbi/sbi_hsm.c