diff options
| author | Heinrich Schuchardt <[email protected]> | 2021-12-17 18:02:58 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-12-22 09:05:05 +0530 |
| commit | 2082153fc90c54b98647b1fbaeb7511fd57b7d2b (patch) | |
| tree | 27afbf0ba9f31a9be6125909ca3e46f210ff80b3 /lib/utils/timer | |
| parent | f27035981096e8d272d94dc17402b10567429869 (diff) | |
lib: sbi: simplify pmp_set(), pmp_get()
pmpcfg_csr and pmpcfg_shift are only negative for an unexpected value of
__riscv_xlen. We can immediately return in this case.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Dong Du <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
