From e48775137f35daece48bd5edd25e1a356a0b9e2a Mon Sep 17 00:00:00 2001 From: Eli Carter Date: Mon, 21 Apr 2003 19:36:54 +0100 Subject: [PATCH] [ARM PATCH] 1510/1: use a #define for asm jump address Patch from Eli Carter # Mon Apr 21 11:11:41 CDT 2003 ejc@rnd-linux-c84 # use-physoffset-define # # Use the PHYS_OFFSET #define instead of a hard-coded value. # # Diffed against linux-2.5.67-rmk1+1501-3+1506 # # arch/arm/boot/compressed/head-xscale.S | 2 +- # 1 files changed, 1 insertion(+), 1 deletion(-) # --- arch/arm/boot/compressed/head-xscale.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/compressed/head-xscale.S b/arch/arm/boot/compressed/head-xscale.S index 29ada3eb46fd8..e6656d4ef5c86 100644 --- a/arch/arm/boot/compressed/head-xscale.S +++ b/arch/arm/boot/compressed/head-xscale.S @@ -35,7 +35,7 @@ __XScale_start: mcr p15, 0, r0, c1, c0, 0 #ifdef CONFIG_ARCH_IQ80321 - orr pc, pc, #0xa0000000 + orr pc, pc, #PHYS_OFFSET @ jump to physical memory if we are not there. nop mov r7, #MACH_TYPE_IQ80321 #endif -- 2.53.0