Commit 7b0b2898 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

lib: sbi: Remove redundant SBI_HART_HAS_PMP feature



The SBI_HART_HAS_PMP feature is redundant because we already
have number of PMP regions returned by sbi_hart_pmp_count().

Checking whether PMP is supported for a HART can be simply done
by checking non-zero value returned by sbi_hart_pmp_count().

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 4f3bad6e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment