]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/stdio.c
arm/microblaze/nios/nios2/sh: Remove relocation fixups
[karo-tx-uboot.git] / common / stdio.c
index 5e58dbe44bc272a7a0acbfb0c3dd7ee838c76c24..870ddfd5ef9ac770d2d29a800d8a399dcb94b9ec 100644 (file)
@@ -201,7 +201,7 @@ int stdio_deregister(char *devname)
 
 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 */
        ulong relocation_offset = gd->reloc_off;
        int i;
@@ -211,7 +211,7 @@ int stdio_init (void)
                stdio_names[i] = (char *) (((ulong) stdio_names[i]) +
                                                relocation_offset);
        }
-#endif /* !ARM && !CONFIG_RELOC_FIXUP_WORKS */
+#endif /* !CONFIG_RELOC_FIXUP_WORKS */
 
        /* Initialize the list */
        INIT_LIST_HEAD(&(devs.list));