include: sbi: Use lower bits for domain memory region permissions
authorAnup Patel <anup.patel@wdc.com>
Sun, 15 Nov 2020 06:16:20 +0000 (11:46 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 4 Dec 2020 12:28:20 +0000 (17:58 +0530)
commitc1f6d8967889438638618e1d1f5615d7b2344454
tree16219aae70f53a1d10b8637d04865363e5a3adfe
parentc709d40a671f38bf956532a8d573c14d327d66e5
include: sbi: Use lower bits for domain memory region permissions

We should use lower bits for domain memory region access permissions
and higher bits for other domain memory region attributes. This helps
us use same bit assignment for parsing domain memory region access
permissions from device tree.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi/sbi_domain.h