summaryrefslogtreecommitdiffstats
path: root/common/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/hush.c')
-rw-r--r--common/hush.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/hush.c b/common/hush.c
index f81fdcf..f7550b9 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -3228,9 +3228,17 @@ static void u_boot_hush_reloc(void)
{
unsigned long addr;
struct reserved_combo *r;
+ unsigned long reloc_off;
+
+#if 0
+ reloc_off = gd->reloc_off;
+#else
+ reloc_off = 0;
+#warning FIXME: This is broken on !ARM
+#endif
for (r=reserved_list; r<reserved_list+NRES; r++) {
- addr = (ulong) (r->literal) + gd->reloc_off;
+ addr = (ulong) (r->literal) + reloc_off;
r->literal = (char *)addr;
}
}