]> git.sur5r.net Git - u-boot/blobdiff - common/stdio.c
ppc/85xx: Add PIB/ATM support for MPC8569mds
[u-boot] / common / stdio.c
index 697df5a495081a703b11d420ae68db7fcec9721d..870ddfd5ef9ac770d2d29a800d8a399dcb94b9ec 100644 (file)
@@ -201,7 +201,8 @@ int stdio_deregister(char *devname)
 
 int stdio_init (void)
 {
-#ifndef CONFIG_ARM     /* already relocated for current ARM implementation */
+#if !defined(CONFIG_RELOC_FIXUP_WORKS)
+       /* already relocated for current ARM implementation */
        ulong relocation_offset = gd->reloc_off;
        int i;
 
@@ -210,7 +211,7 @@ int stdio_init (void)
                stdio_names[i] = (char *) (((ulong) stdio_names[i]) +
                                                relocation_offset);
        }
-#endif
+#endif /* !CONFIG_RELOC_FIXUP_WORKS */
 
        /* Initialize the list */
        INIT_LIST_HEAD(&(devs.list));