diff options
author | Grant Likely <grant.likely@linaro.org> | 2011-03-28 09:58:49 (GMT) |
---|---|---|
committer | Gerald Van Baren <gvb@unssw.com> | 2011-04-26 01:11:20 (GMT) |
commit | ed59e58786cae9f8afcb575649afc65985beed4d (patch) | |
tree | 3d0ee0a5313796c1e3569e626a0b17d9c1db3850 /arch | |
parent | c3624e6ed0a36f54aa0b3e7f32d30a6fde434f51 (diff) | |
download | u-boot-fsl-qoriq-ed59e58786cae9f8afcb575649afc65985beed4d.tar.xz |
Remove device tree booting dependency on CONFIG_SYS_BOOTMAPSZ
The previous patch makes u-boot use the full accessible size of ram as
the default boot mapped size if CONFIG_SYS_BOOTMAPSZ is not defined,
which means boot_relocate_fdt() can be changed to depend solely on
CONFIG_OF_LIBFDT.
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/lib/bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index 02e544f..6be22c4 100644 --- a/arch/powerpc/lib/bootm.c +++ b/arch/powerpc/lib/bootm.c @@ -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; } |