Commit 93da66b7 authored by Samuel Holland's avatar Samuel Holland Committed by Anup Patel
Browse files

lib: sbi_hart: Store PMP granularity as log base 2



This minimizes the need to call log2roundup() to recover the log value.

Signed-off-by: default avatarSamuel Holland <samuel.holland@sifive.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 07419ec8
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