diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-03-17 07:59:38 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-18 08:58:26 +0530 |
commit | 5fbcd625bc8f8980164b4c905dc8097269461419 (patch) | |
tree | ebc4aef34a53d85b5768a066199f127ff723a409 /platform | |
parent | 327ba362119a9cb36ff03575723546d8abcb5465 (diff) |
lib: sbi: Update pmp_get() to return decoded size directly
Currently pmp_get() returns the log2 length of the PMP memory
region size. The caller has to calculate the size based on that
and the same codes are duplicated.
Update this function to return decoded size directly.
Signed-off-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