diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-14 19:43:26 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-19 09:27:51 +0530 |
commit | 75eec9dd3f04febd7df8e5ee3fb90c236e50ded3 (patch) | |
tree | a9eb0e50ebe821430f936d5ca60972329934cd91 /platform | |
parent | 814f38dc1d9ec6cd7f75b0d6be15e861ddac9ac5 (diff) |
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')
0 files changed, 0 insertions, 0 deletions