]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/lib/bootm.c
Remove device tree booting dependency on CONFIG_SYS_BOOTMAPSZ
[u-boot] / arch / powerpc / lib / bootm.c
index 02e544fcddf431e9dca92db4bea6bc4c7fe2a085..6be22c474a4c0365c24ad23fcf3ebe52acb2a6c2 100644 (file)
@@ -254,7 +254,7 @@ static int boot_body_linux(bootm_headers_t *images)
        if (ret)
                return ret;
 
-#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_SYS_BOOTMAPSZ)
+#if defined(CONFIG_OF_LIBFDT)
        ret = boot_relocate_fdt(lmb, of_flat_tree, &of_size);
        if (ret)
                return ret;
@@ -293,7 +293,7 @@ static int boot_body_linux(bootm_headers_t *images)
                if (*initrd_start && *initrd_end)
                        fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1);
        }
-#endif /* CONFIG_OF_LIBFDT && CONFIG_SYS_BOOTMAPSZ */
+#endif /* CONFIG_OF_LIBFDT */
        return 0;
 }