summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/Sec/AArch64
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-03-01 11:01:00 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-03-01 11:01:00 +0000
commit27995cd5d6ea40639d6034b8b7cbb84f625f1a4a (patch)
tree8d8af61ee05b748f80d2f78866a9e9cd1733164b /ArmPlatformPkg/Sec/AArch64
parentf6c5a29bb9041caf66426ddced7454f9051124eb (diff)
downloadedk2-27995cd5d6ea40639d6034b8b7cbb84f625f1a4a.tar.gz
edk2-27995cd5d6ea40639d6034b8b7cbb84f625f1a4a.tar.bz2
edk2-27995cd5d6ea40639d6034b8b7cbb84f625f1a4a.zip
ArmPkg: Tidy assembler code
- Fixed typo - Removed unreachable 'dead' loop Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15277 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Sec/AArch64')
-rw-r--r--ArmPlatformPkg/Sec/AArch64/Helper.S3
-rw-r--r--ArmPlatformPkg/Sec/AArch64/SecEntryPoint.S5
2 files changed, 1 insertions, 7 deletions
diff --git a/ArmPlatformPkg/Sec/AArch64/Helper.S b/ArmPlatformPkg/Sec/AArch64/Helper.S
index 4501be54a0..490d3df12d 100644
--- a/ArmPlatformPkg/Sec/AArch64/Helper.S
+++ b/ArmPlatformPkg/Sec/AArch64/Helper.S
@@ -92,7 +92,4 @@ ASM_PFX(set_non_secure_mode):
msr spsr_el3, x0
ret
-dead:
- b dead
-
ASM_FUNCTION_REMOVE_IF_UNREFERENCED
diff --git a/ArmPlatformPkg/Sec/AArch64/SecEntryPoint.S b/ArmPlatformPkg/Sec/AArch64/SecEntryPoint.S
index e678f4c18c..c16ede0831 100644
--- a/ArmPlatformPkg/Sec/AArch64/SecEntryPoint.S
+++ b/ArmPlatformPkg/Sec/AArch64/SecEntryPoint.S
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2011-2013, ARM Limited. All rights reserved.
+// Copyright (c) 2011-2014, ARM Limited. All rights reserved.
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
@@ -141,6 +141,3 @@ _PrepareArguments:
ASM_PFX(JumpToPEI):
LoadConstantToReg (FixedPcdGet32(PcdFvBaseAddress), x0)
blr x0
-
-dead:
- b dead