* [U-Boot] [PATCH 1/1] MX5: Remove dead code with ENABLE_IMPRECISE_ABORT
@ 2010-10-19 8:22 Jason Liu
2010-10-19 10:37 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Jason Liu @ 2010-10-19 8:22 UTC (permalink / raw)
To: u-boot
This code section is dead due to we never define
ENABLE_IMPRECISE_ABORT for MX5
Signed-off-by: Jason Liu <r64343@freescale.com>
---
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
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 1/1] MX5: Remove dead code with ENABLE_IMPRECISE_ABORT
2010-10-19 8:22 [U-Boot] [PATCH 1/1] MX5: Remove dead code with ENABLE_IMPRECISE_ABORT Jason Liu
@ 2010-10-19 10:37 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2010-10-19 10:37 UTC (permalink / raw)
To: u-boot
On 10/19/2010 10:22 AM, Jason Liu wrote:
> This code section is dead due to we never define
> ENABLE_IMPRECISE_ABORT for MX5
>
> Signed-off-by: Jason Liu <r64343@freescale.com>
> ---
> arch/arm/cpu/armv7/mx5/lowlevel_init.S | 14 --------------
> 1 files changed, 0 insertions(+), 14 deletions(-)
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-19 10:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-19 8:22 [U-Boot] [PATCH 1/1] MX5: Remove dead code with ENABLE_IMPRECISE_ABORT Jason Liu
2010-10-19 10:37 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox