diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-07-04 20:06:23 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-07-04 20:06:23 +0000 |
commit | 2575b72620a9d90af26d9863b4a0675079c1c019 (patch) | |
tree | b2ac044a0615949db79868cc193b885ca3fef001 /ArmPlatformPkg/ArmRealViewEbPkg | |
parent | 9736c2972157e9c1c4f3cd4bac83f2256a2c9688 (diff) | |
download | edk2-2575b72620a9d90af26d9863b4a0675079c1c019.tar.gz edk2-2575b72620a9d90af26d9863b4a0675079c1c019.tar.bz2 edk2-2575b72620a9d90af26d9863b4a0675079c1c019.zip |
ArmPkg: Fixed RVCT compiler warnings
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13490 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmRealViewEbPkg')
-rw-r--r-- | ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h | 6 | ||||
-rw-r--r-- | ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h b/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h index 122cf2b033..291d676d30 100644 --- a/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h +++ b/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h @@ -104,9 +104,9 @@ // L2x0 Cache Controller Base Address
//#define ARM_EB_L2x0_CTLR_BASE 0x1E00A000*/
-#define ARM_EB_SYS_PROC_ID_MASK (0xFF << 24)
-#define ARM_EB_SYS_PROC_ID_CORTEX_A8 (0x0E << 24)
-#define ARM_EB_SYS_PROC_ID_CORTEX_A9 (0x0C << 24)
+#define ARM_EB_SYS_PROC_ID_MASK (UINT32)(0xFFU << 24)
+#define ARM_EB_SYS_PROC_ID_CORTEX_A8 (UINT32)(0x0EU << 24)
+#define ARM_EB_SYS_PROC_ID_CORTEX_A9 (UINT32)(0x0CU << 24)
/*******************************************
// System Configuration Control
diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm b/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm index 1765dd13aa..e8bc0cd0b4 100644 --- a/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm +++ b/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbBoot.asm @@ -54,3 +54,5 @@ ArmPlatformSecBootAction ArmPlatformSecBootMemoryInit
// The SMC does not need to be initialized for RTSM
bx lr
+
+ END
|