Commit 5e108b76 authored by Ian Campbell's avatar Ian Campbell Committed by Russell King

[ARM PATCH] 2133/1: params_phys is not available on PXA and apears to be ARCH_RPM specific anyway

Patch from Ian Campbell

Arecent changeset[0] that changed params into an asm function call
broke the PXA build since PXA does not define PARAMS_PHYS therefore
the params_phys variable is never defined and linking arch/arm/boot/compressed/head.S fails.

The function is defined in include/asm-arm/arch-rpc/uncompress.h 
and so I assume it is dependendant on CONFIG_ARCH_RPC. I can't find 
any use of it outside this file.

Signed-off-by: Ian Campbell 
parent 792ba218
...@@ -349,11 +349,13 @@ LC0: .word LC0 @ r1 ...@@ -349,11 +349,13 @@ LC0: .word LC0 @ r1
LC1: .word reloc_end - reloc_start LC1: .word reloc_end - reloc_start
.size LC0, . - LC0 .size LC0, . - LC0
#ifdef CONFIG_ARCH_RPC
.globl params .globl params
params: ldr r0, =params_phys params: ldr r0, =params_phys
mov pc, lr mov pc, lr
.ltorg .ltorg
.align .align
#endif
/* /*
* Turn on the cache. We need to setup some page tables so that we * Turn on the cache. We need to setup some page tables so that we
......
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