]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pxa: fix previous definition on cpu init
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 1 May 2008 00:13:44 +0000 (02:13 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 3 May 2008 18:56:22 +0000 (20:56 +0200)
start.S:183:1: warning: "ICMR" redefined
In file included from start.S:33:
include/asm/arch/pxa-regs.h:935:1: warning: this is the location of the previous definition
start.S:187:1: warning: "RCSR" redefined
...

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/pxa/start.S

index 31f408dfa72f931aa260e52c5597168b5e7b419d..1cdb7091d712b9aa6912e5e87b94b9e551b361c3 100644 (file)
@@ -166,17 +166,13 @@ _start_armboot: .word start_armboot
 /*                                                                         */
 /****************************************************************************/
 /* mk@tbd: Fix this! */
-#if defined(CONFIG_PXA250) || defined(CONFIG_CPU_MONAHANS)
+#undef RCSR
 #undef ICMR
 #undef OSMR3
 #undef OSCR
 #undef OWER
 #undef OIER
-#endif /* CONFIG_PXA250 || CONFIG_CPU_MONAHANS */
-#ifdef CONFIG_PXA250
-#undef RCSR
 #undef CCCR
-#endif /* CONFIG_PXA250 */
 
 /* Interrupt-Controller base address                                       */
 IC_BASE:          .word           0x40d00000