diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-14 17:13:26 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-19 06:57:51 +0300 |
commit | 75eec9dd3f04febd7df8e5ee3fb90c236e50ded3 (patch) | |
tree | a9eb0e50ebe821430f936d5ca60972329934cd91 /platform/sifive/fu540/platform.c | |
parent | 814f38dc1d9ec6cd7f75b0d6be15e861ddac9ac5 (diff) | |
download | opensbi-75eec9dd3f04febd7df8e5ee3fb90c236e50ded3.tar.xz |
lib: Don't use sbi_platform_hart_count() API
We don't need to use sbi_platform_hart_count() in sbi_init and
sbi_scratch because checking sbi_platform_hart_disabled() or
return value of sbi_hartid_to_scratch() is sufficient.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'platform/sifive/fu540/platform.c')
0 files changed, 0 insertions, 0 deletions