Merge branch 'master' of git://git.denx.de/u-boot-i2c
[oweals/u-boot.git] / arch / arm / cpu / pxa / start.S
index 03cf4dec36bbd4f8b149050325475a56d4002e64..ae358a56e61f816d4c87930a022f07c5e7ba48e8 100644 (file)
@@ -33,7 +33,6 @@
 #include <config.h>
 #include <version.h>
 #include <asm/arch/pxa-regs.h>
-#include <asm/arch/macro.h>
 
 /* takes care the CP15 update has taken place */
 .macro CPWAIT reg
@@ -251,7 +250,6 @@ stack_setup:
        cmp     r0, r6
        beq     clear_bss
 
-#ifndef CONFIG_SKIP_RELOCATE_UBOOT
        stmfd sp!, {r0-r12}
 copy_loop:
        ldmia   r0!, {r3-r5, r7-r11}    /* copy from source address [r0]    */
@@ -300,7 +298,6 @@ fixnext:
        cmp     r2, r3
        blo     fixloop
 #endif /* #ifndef CONFIG_PRELOADER */
-#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
 
 clear_bss:
 #ifndef CONFIG_PRELOADER
@@ -332,9 +329,7 @@ _start_oneboot_ofs
        ldr     r0, _board_init_r_ofs
        adr     r1, _start
        add     lr, r0, r1
-#ifndef CONFIG_SKIP_RELOCATE_UBOOT
        add     lr, lr, r9
-#endif
        /* setup parameters for board_init_r */
        mov     r0, r5          /* gd_t */
        mov     r1, r7          /* dest_addr */