Skip to contentSkip to conversation

Fix various redefinition build warnings

PATCH New Marcel Ziswiler 2 participants 2 messages May 1, 2008 – May 3, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix various redefinition build warnings

- warning: "ICMR" redefined
- warning: "RCSR" redefined
- warning: "OSMR3" redefined
- warning: "OSCR" redefined
- warning: "OWER" redefined
- warning: "OIER" redefined
- warning: "CCCR" redefined

---
 cpu/pxa/start.S |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
cpu/pxa/start.S +4 -4
index 31f408d..a460f30 100644
@@ -166,17 +166,17 @@ _start_armboot: .word start_armboot
 /*									    */
 /****************************************************************************/
 /* mk at tbd: Fix this! */
-#if defined(CONFIG_PXA250) || defined(CONFIG_CPU_MONAHANS)
+#if defined(CONFIG_PXA250) || defined(CONFIG_PXA27X) || defined(CONFIG_CPU_MONAHANS)
 #undef ICMR
 #undef OSMR3
 #undef OSCR
 #undef OWER
 #undef OIER
-#endif /* CONFIG_PXA250 || CONFIG_CPU_MONAHANS */
-#ifdef CONFIG_PXA250
+#endif /* CONFIG_PXA250 || CONFIG_PXA27X || CONFIG_CPU_MONAHANS */
+#if defined(CONFIG_PXA250) || defined(CONFIG_PXA27X)
 #undef RCSR
 #undef CCCR
-#endif /* CONFIG_PXA250 */
+#endif /* CONFIG_PXA250 || CONFIG_PXA27X */
 
 /* Interrupt-Controller base address					    */
 IC_BASE:	   .word	   0x40d00000
Signature · 1 line
1.5.4.1
#1 lore raw

PATCH 1/1 Fix various redefinition build warnings

Quoted 9 lines · In message <[email protected]> you wrote:

- warning: "ICMR" redefined
- warning: "RCSR" redefined
- warning: "OSMR3" redefined
- warning: "OSCR" redefined
- warning: "OWER" redefined
- warning: "OIER" redefined
- warning: "CCCR" redefined

Already fixed (slightly different) by

	commit 27c38689d0cfde0e444239345f97b5eecc9f4067
	Author: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
	Date:   Thu May 1 02:13:44 2008 +0200

	    pxa: fix previous definition on cpu init

Thanks anyway.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
One difference between a man and a machine is that a machine is quiet
when well oiled.