mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
feat(imx8m): add defines for csu_sa access security
This enables the usage of speaking defines instead of magic numbers: CSU_SA(CSU_SA_SDMA1, 1, LOCKED) becomes: CSU_SA(CSU_SA_SDMA1, NON_SEC_ACCESS, LOCKED) Change-Id: Idcabcda677bf7840084a2ea66d321b50aa0b2b20 Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
This commit is contained in:
parent
2ac4909a5e
commit
81de50372c
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@
|
|||
#define CSU_SEC_LEVEL_6 0x03
|
||||
#define CSU_SEC_LEVEL_7 0x0
|
||||
|
||||
#define SEC_ACCESS 0x0
|
||||
#define NON_SEC_ACCESS 0x1
|
||||
|
||||
#define LOCKED 0x1
|
||||
#define UNLOCKED 0x0
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue