|
@@ -201,7 +201,7 @@ int stdio_deregister(char *devname)
|
|
|
|
|
|
int stdio_init (void)
|
|
int stdio_init (void)
|
|
{
|
|
{
|
|
-#if !defined(CONFIG_ARM) && !defined(CONFIG_RELOC_FIXUP_WORKS)
|
|
|
|
|
|
+#if !defined(CONFIG_RELOC_FIXUP_WORKS)
|
|
/* already relocated for current ARM implementation */
|
|
/* already relocated for current ARM implementation */
|
|
ulong relocation_offset = gd->reloc_off;
|
|
ulong relocation_offset = gd->reloc_off;
|
|
int i;
|
|
int i;
|
|
@@ -211,7 +211,7 @@ int stdio_init (void)
|
|
stdio_names[i] = (char *) (((ulong) stdio_names[i]) +
|
|
stdio_names[i] = (char *) (((ulong) stdio_names[i]) +
|
|
relocation_offset);
|
|
relocation_offset);
|
|
}
|
|
}
|
|
-#endif /* !ARM && !CONFIG_RELOC_FIXUP_WORKS */
|
|
|
|
|
|
+#endif /* !CONFIG_RELOC_FIXUP_WORKS */
|
|
|
|
|
|
/* Initialize the list */
|
|
/* Initialize the list */
|
|
INIT_LIST_HEAD(&(devs.list));
|
|
INIT_LIST_HEAD(&(devs.list));
|