summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-18 18:55:25 +0000
committerwdenk <wdenk>2003-09-18 18:55:25 +0000
commit80369866a482b923f0398f4c8172865282559f5b (patch)
treefff1f4cedf07d2afa8fe85b19601605949ff013f /common
parent65bd0e284bbe08fdd6d2787d0698fe274d6aab13 (diff)
downloadu-boot-imx-80369866a482b923f0398f4c8172865282559f5b.zip
u-boot-imx-80369866a482b923f0398f4c8172865282559f5b.tar.gz
u-boot-imx-80369866a482b923f0398f4c8172865282559f5b.tar.bz2
Work on TRAB's auto_update feature.
Cleanup for submitted patches.
Diffstat (limited to 'common')
-rw-r--r--common/devices.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/devices.c b/common/devices.c
index 7b4a1cd..bf7486a 100644
--- a/common/devices.c
+++ b/common/devices.c
@@ -159,6 +159,8 @@ int device_deregister(char *devname)
int devices_init (void)
{
#ifndef CONFIG_ARM /* already relocated for current ARM implementation */
+ DECLARE_GLOBAL_DATA_PTR;
+
ulong relocation_offset = gd->reloc_off;
int i;