Skip to content
Commit b13dd54f authored by Jim Shu's avatar Jim Shu Committed by Carles Cufí
Browse files

arch: riscv: pmp: simplify pmp region number computation



Simplify multiple ifdef case in computing region number. Also move these
macros to core_pmp.c because they are only used in one file.

Signed-off-by: default avatarJim Shu <cwshu@andestech.com>
parent e3c8b4ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment