Commit 4c7d6293 authored by Dave Jiang's avatar Dave Jiang Committed by Russell King

[ARM PATCH] 2105/1: Fix compilation error for IOP and remove unnecessary legacy code

Patch from Dave Jiang

Signed-off-by: Dave Jiang (dave.jiang@gmail.com)

Remove the code that jumps to physical offset in head-xscale.S for IOPs that was fixing a legacy redboot problem. The issue no longer exists it seems and it's breaking the compilation anyways. Removed.
parent e8adaf82
...@@ -35,21 +35,15 @@ __XScale_start: ...@@ -35,21 +35,15 @@ __XScale_start:
mcr p15, 0, r0, c1, c0, 0 mcr p15, 0, r0, c1, c0, 0
#ifdef CONFIG_ARCH_IQ80321 #ifdef CONFIG_ARCH_IQ80321
orr pc, pc, #PHYS_OFFSET @ jump to physical memory if we are not there.
nop
mov r7, #MACH_TYPE_IQ80321 mov r7, #MACH_TYPE_IQ80321
#endif #endif
#ifdef CONFIG_ARCH_IQ31244 #ifdef CONFIG_ARCH_IQ31244
orr pc, pc, #PHYS_OFFSET @ jump to physical memory if we are not there.
nop
mov r7, #(MACH_TYPE_IQ31244 & 0xff) mov r7, #(MACH_TYPE_IQ31244 & 0xff)
orr r7, r7, #(MACH_TYPE_IQ31244 & 0xff00) orr r7, r7, #(MACH_TYPE_IQ31244 & 0xff00)
#endif #endif
#ifdef CONFIG_ARCH_IQ80331 #ifdef CONFIG_ARCH_IQ80331
orr pc, pc, #PHYS_OFFSET @ jump to physical memory if we are not there.
nop
mov r7, #(MACH_TYPE_IQ80331 & 0xff) mov r7, #(MACH_TYPE_IQ80331 & 0xff)
orr r7, r7, #(MACH_TYPE_IQ80331 & 0xff00) orr r7, r7, #(MACH_TYPE_IQ80331 & 0xff00)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment