Browse Source

Cleanup (get rid of debug code that sneaked in)

Wolfgang Denk 19 years ago
parent
commit
0be248fa9a
7 changed files with 8 additions and 28 deletions
  1. 3 3
      MAKEALL
  2. 3 6
      Makefile
  3. 0 9
      config.mk
  4. 0 1
      cpu/pxa/config.mk
  5. 1 1
      drivers/smc91111.c
  6. 1 6
      include/asm-arm/global_data.h
  7. 0 2
      lib_arm/board.c

+ 3 - 3
MAKEALL

@@ -203,9 +203,9 @@ LIST_ARM11="	\
 
 LIST_pxa="	\
 	adsvix		cerf250		cradle		csb226		\
-	innokom		lubbock		pxa255_idp	wepep250	\
-	xaeniax		xm250		xsengine	zylonite	\
-	delta
+	delta		innokom		lubbock		pxa255_idp	\
+	wepep250	xaeniax		xm250		xsengine	\
+	zylonite							\
 "
 
 LIST_ixp="ixdp425"

+ 3 - 6
Makefile

@@ -208,9 +208,6 @@ etags:
 				net disk rtc dtt drivers drivers/sk98lin common \
 			\( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
 
-ctags:
-		ctags -Re
-
 System.map:	u-boot
 		@$(NM) $< | \
 		grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
@@ -1644,12 +1641,12 @@ cerf250_config :	unconfig
 cradle_config	:	unconfig
 	@./mkconfig $(@:_config=) arm pxa cradle
 
-delta_config :
-	@./mkconfig $(@:_config=) arm pxa delta
-
 csb226_config	:	unconfig
 	@./mkconfig $(@:_config=) arm pxa csb226
 
+delta_config :
+	@./mkconfig $(@:_config=) arm pxa delta
+
 innokom_config	:	unconfig
 	@./mkconfig $(@:_config=) arm pxa innokom
 

+ 0 - 9
config.mk

@@ -131,15 +131,6 @@ else
 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
 endif
 
-ifdef WILD_WILD_WEST
-CFLAGS := $(CPPFLAGS) -Werror
-endif
-
-ifdef NO_JUMP
-CFLAGS := $(CPPFLAGS) -fno-schedule-insns -fno-schedule-insns2
-endif
-
-
 # avoid trigraph warnings while parsing pci.h (produced by NIOS gcc-2.9)
 # this option have to be placed behind -Wall -- that's why it is here
 ifeq ($(ARCH),nios)

+ 0 - 1
cpu/pxa/config.mk

@@ -33,5 +33,4 @@ PLATFORM_CPPFLAGS += -march=armv5 -mtune=xscale
 #
 # ========================================================================
 PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
-# for gcc-3x: PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32)
 PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))

+ 1 - 1
drivers/smc91111.c

@@ -72,7 +72,7 @@
 
 #define NO_AUTOPROBE
 
-#define SMC_DEBUG 3
+#define SMC_DEBUG 0
 
 #if SMC_DEBUG > 1
 static const char version[] =

+ 1 - 6
include/asm-arm/global_data.h

@@ -61,11 +61,6 @@ typedef	struct	global_data {
 #define	GD_FLG_DEVINIT	0x00002		/* Devices have been initialized	*/
 #define	GD_FLG_SILENT	0x00004		/* Silent mode				*/
 
-#undef GCC_4_SCREW_GDP
-#ifdef GCC_4_SCREW_GDP
-# define DECLARE_GLOBAL_DATA_PTR     register gd_t* volatile gd asm ("r8");
-#else
-# define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("r8")
-#endif
+#define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("r8")
 
 #endif /* __ASM_GBL_DATA_H */

+ 0 - 2
lib_arm/board.c

@@ -38,8 +38,6 @@
  * FIQ Stack: 00ebef7c
  */
 
-#define DEBUG 1
-
 #include <common.h>
 #include <command.h>
 #include <malloc.h>