summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:10 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:10 +0200
commitdff4074642b2a4482e1c68f7471e423e90acc855 (patch)
tree49a9ad708b2e0006f55d5edf0d37facc41db27c6 /include
parentb4bf34181a1f95db1a8a9d8203ddd2d346b9d584 (diff)
downloadbarebox-dff4074642b2a4482e1c68f7471e423e90acc855.tar.gz
barebox-dff4074642b2a4482e1c68f7471e423e90acc855.tar.xz
svn_rev_614
no global data
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/global_data.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-ppc/global_data.h b/include/asm-ppc/global_data.h
index 507659a085..482c100d89 100644
--- a/include/asm-ppc/global_data.h
+++ b/include/asm-ppc/global_data.h
@@ -137,12 +137,4 @@ typedef struct global_data {
#define GD_FLG_DEVINIT 0x00002 /* Devices have been initialized */
#define GD_FLG_SILENT 0x00004 /* Silent mode */
-#if 0
-#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r29")
-#else /* We could use plain global data, but the resulting code is bigger */
-#define XTRN_DECLARE_GLOBAL_DATA_PTR extern
-#define DECLARE_GLOBAL_DATA_PTR XTRN_DECLARE_GLOBAL_DATA_PTR \
- gd_t *gd
-#endif
-
#endif /* __ASM_GBL_DATA_H */