mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-23 07:21:16 +02:00
fix(versal-net): resolve misra rule 20.7 warnings
Fix below MISRA violation from versal_net_def.h: - MISRA Violation: MISRA-C:2012 R.10.6: - Macro parameter expands into an expression without being wrapped by parentheses. Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: Ie365d24c02bb38163005a3c073642d5c96412e2d
This commit is contained in:
parent
8c23775e88
commit
21d1966a23
@ -69,11 +69,11 @@
|
|||||||
|
|
||||||
#define CORE_0_IEN_POWER_OFFSET (0x00000018ULL)
|
#define CORE_0_IEN_POWER_OFFSET (0x00000018ULL)
|
||||||
#define APU_PCIL_CORE_X_IEN_POWER_REG(cpu_id) (APU_PCLI + (CORE_0_IEN_POWER_OFFSET + \
|
#define APU_PCIL_CORE_X_IEN_POWER_REG(cpu_id) (APU_PCLI + (CORE_0_IEN_POWER_OFFSET + \
|
||||||
(APU_PCLI_CPU_STEP * cpu_id)))
|
(APU_PCLI_CPU_STEP * (cpu_id))))
|
||||||
#define APU_PCIL_CORE_X_IEN_POWER_MASK (0x00000001U)
|
#define APU_PCIL_CORE_X_IEN_POWER_MASK (0x00000001U)
|
||||||
#define CORE_0_IDS_POWER_OFFSET (0x0000001CULL)
|
#define CORE_0_IDS_POWER_OFFSET (0x0000001CULL)
|
||||||
#define APU_PCIL_CORE_X_IDS_POWER_REG(cpu_id) (APU_PCLI + (CORE_0_IDS_POWER_OFFSET + \
|
#define APU_PCIL_CORE_X_IDS_POWER_REG(cpu_id) (APU_PCLI + (CORE_0_IDS_POWER_OFFSET + \
|
||||||
(APU_PCLI_CPU_STEP * cpu_id)))
|
(APU_PCLI_CPU_STEP * (cpu_id))))
|
||||||
#define APU_PCIL_CORE_X_IDS_POWER_MASK (0x00000001U)
|
#define APU_PCIL_CORE_X_IDS_POWER_MASK (0x00000001U)
|
||||||
#define CORE_PWRDN_EN_BIT_MASK (0x1U)
|
#define CORE_PWRDN_EN_BIT_MASK (0x1U)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user