Commit bc06ff65 authored by Bin Meng's avatar Bin Meng Committed by Anup Patel
Browse files

lib: utils/fdt/fdt_domain: Simplify region access permission check



The region access permission check in __fdt_parse_region() can be
simplified as masking SBI_DOMAIN_MEMREGION_{M,SU}_ACCESS_MASK is
enough.

While we are here, update the confusing comments to match the codes.

Signed-off-by: default avatarBin Meng <bmeng@tinylab.org>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 5a75f530
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