diff options
author | Xiang W <wxjstz@126.com> | 2021-11-08 17:43:03 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-11-12 12:19:00 +0530 |
commit | d335a178d8cfdf2ed13af70fe385f7e38162e171 (patch) | |
tree | 4b4e98c302251875500b14e4ee314dd0e87d0274 /lib/utils | |
parent | f3744967c6b595c0caba164468b4b32b9c027dfd (diff) |
lib: sbi: clear pmpcfg.A before setting in pmp_set()
We should clear A bits in prot variable before enabling A_NA4 or A_NAPOT.
Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions