summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/global_data.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@atlas.denx.de>2006-03-07 00:22:36 +0100
committerWolfgang Denk <wd@atlas.denx.de>2006-03-07 00:22:36 +0100
commit0be248fa9a32667d29b0eb1bad77bbd372903e61 (patch)
tree8e32a9e044f0e8a9a39436936b304ac1a2786cc1 /include/asm-arm/global_data.h
parent951a954b77ef30df1f5c1b7b9b4312e783b2cbb4 (diff)
downloadbarebox-0be248fa9a32667d29b0eb1bad77bbd372903e61.tar.gz
barebox-0be248fa9a32667d29b0eb1bad77bbd372903e61.tar.xz
Cleanup (get rid of debug code that sneaked in)
Diffstat (limited to 'include/asm-arm/global_data.h')
-rw-r--r--include/asm-arm/global_data.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/asm-arm/global_data.h b/include/asm-arm/global_data.h
index 0b6c8171ed..c2d52915a8 100644
--- a/include/asm-arm/global_data.h
+++ b/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 */