diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-14 19:26:22 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-19 09:26:25 +0530 |
commit | 814f38dc1d9ec6cd7f75b0d6be15e861ddac9ac5 (patch) | |
tree | 001af4c2a9ee6b373defe2deb20d2ca00a2e6091 /firmware | |
parent | db187d616c6bfd9f01bbc566117bf5a6241660c1 (diff) |
lib: sbi_hsm: Don't use sbi_platform_hart_disabled() API
Checking return value of sbi_hartid_to_scratch() is sufficient
so no need to explicitly check for disabled HART using the
sbi_platform_hart_disabled() API.
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 'firmware')
0 files changed, 0 insertions, 0 deletions