mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
Cleanup (get rid of debug code that sneaked in)
This commit is contained in:
parent
951a954b77
commit
0be248fa9a
6
MAKEALL
6
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"
|
||||
|
9
Makefile
9
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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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,))
|
||||
|
@ -72,7 +72,7 @@
|
||||
|
||||
#define NO_AUTOPROBE
|
||||
|
||||
#define SMC_DEBUG 3
|
||||
#define SMC_DEBUG 0
|
||||
|
||||
#if SMC_DEBUG > 1
|
||||
static const char version[] =
|
||||
|
@ -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 */
|
||||
|
@ -38,8 +38,6 @@
|
||||
* FIQ Stack: 00ebef7c
|
||||
*/
|
||||
|
||||
#define DEBUG 1
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <malloc.h>
|
||||
|
Loading…
Reference in New Issue
Block a user