diff options
author | Jason Liu <r64343@freescale.com> | 2010-10-19 16:22:14 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2010-10-19 12:28:08 +0200 |
commit | 65e62d69415acd4cf8c297b8df7076694e796802 (patch) | |
tree | 7757f192273e346541fb61c7ebf385c1c71ab6e8 | |
parent | a2f9bff99878225dec6a3d4995ab1b993ab649e2 (diff) | |
download | u-boot-imx-65e62d69415acd4cf8c297b8df7076694e796802.zip u-boot-imx-65e62d69415acd4cf8c297b8df7076694e796802.tar.gz u-boot-imx-65e62d69415acd4cf8c297b8df7076694e796802.tar.bz2 |
MX5: Remove dead code with ENABLE_IMPRECISE_ABORT
This code section is dead due to we never define
ENABLE_IMPRECISE_ABORT for MX5
Signed-off-by: Jason Liu <r64343@freescale.com>
-rw-r--r-- | arch/arm/cpu/armv7/mx5/lowlevel_init.S | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/cpu/armv7/mx5/lowlevel_init.S b/arch/arm/cpu/armv7/mx5/lowlevel_init.S index 783c81f..e984870 100644 --- a/arch/arm/cpu/armv7/mx5/lowlevel_init.S +++ b/arch/arm/cpu/armv7/mx5/lowlevel_init.S @@ -257,20 +257,6 @@ lowlevel_init: orr r1, r1, #(1 << 23) str r1, [r0, #0x4] -#ifdef ENABLE_IMPRECISE_ABORT - mrs r1, spsr /* save old spsr */ - mrs r0, cpsr /* read out the cpsr */ - bic r0, r0, #0x100 /* clear the A bit */ - msr spsr, r0 /* update spsr */ - add lr, pc, #0x8 /* update lr */ - movs pc, lr /* update cpsr */ - nop - nop - nop - nop - msr spsr, r1 /* restore old spsr */ -#endif - init_l2cc init_aips |