summaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2011-03-28 09:59:01 +0000
committerGerald Van Baren <gvb@unssw.com>2011-04-25 21:11:21 -0400
commit55b0a39314562087143f439ecae57379b97db9aa (patch)
treed3879cdbabfd2386a30a261819e3d5d9b4c0c326 /include/image.h
parentce6b27a874fe30e7126ae93c060277770ee85ced (diff)
downloadblackbird-obmc-uboot-55b0a39314562087143f439ecae57379b97db9aa.tar.gz
blackbird-obmc-uboot-55b0a39314562087143f439ecae57379b97db9aa.zip
Respect memreserve regions specified in the device tree
If a regions is reserved in the fdt, then it should not be used. Add the memreserve regions to the lmb so that u-boot doesn't use them to store the initrd. Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 8c40557314..c31e862d32 100644
--- a/include/image.h
+++ b/include/image.h
@@ -336,6 +336,7 @@ int boot_get_ramdisk (int argc, char * const argv[], bootm_headers_t *images,
#ifdef CONFIG_OF_LIBFDT
int boot_get_fdt (int flag, int argc, char * const argv[], bootm_headers_t *images,
char **of_flat_tree, ulong *of_size);
+void boot_fdt_add_mem_rsv_regions(struct lmb *lmb, void *fdt_blob);
int boot_relocate_fdt (struct lmb *lmb, char **of_flat_tree, ulong *of_size);
#endif
OpenPOWER on IntegriCloud