feat(tzc380): add sub-region register definition
Added sub-region register definition. Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: Iab8130b56089d804c51ab967b184ddfc192e2858
This commit is contained in:
parent
b759727f59
commit
fdafe2b5ea
|
@ -121,6 +121,11 @@
|
|||
#define TZC_REGION_SIZE_8E U(0x3e)
|
||||
#define TZC_REGION_SIZE_16E U(0x3f)
|
||||
|
||||
#define TZC_SUBREGION_DIS_SHIFT 0x8
|
||||
#define TZC_SUBREGION_DIS_MASK U(0xff)
|
||||
#define TZC_ATTR_SUBREG_DIS(s) (((s) & TZC_SUBREGION_DIS_MASK) \
|
||||
<< TZC_SUBREGION_DIS_SHIFT)
|
||||
|
||||
#define TZC_REGION_SIZE_SHIFT 0x1
|
||||
#define TZC_REGION_SIZE_MASK U(0x7e)
|
||||
#define TZC_ATTR_REGION_SIZE(s) ((s) << TZC_REGION_SIZE_SHIFT)
|
||||
|
|
Loading…
Reference in New Issue