]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_bootm.c
Remove device tree booting dependency on CONFIG_SYS_BOOTMAPSZ
[u-boot] / common / cmd_bootm.c
index 778f6a429623f7f63c76c039c5cc163f190491e8..a23e465696cdcf983ad401793469d7d738056997 100644 (file)
@@ -544,11 +544,10 @@ int do_bootm_subcommand (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv
                }
                        break;
 #endif
-#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_SYS_BOOTMAPSZ)
+#if defined(CONFIG_OF_LIBFDT)
                case BOOTM_STATE_FDT:
                {
-                       ulong bootmap_base = getenv_bootm_low();
-                       ret = boot_relocate_fdt(&images.lmb, bootmap_base,
+                       ret = boot_relocate_fdt(&images.lmb,
                                &images.ft_addr, &images.ft_len);
                        break;
                }