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>
This commit is contained in:
committed by
Gerald Van Baren
parent
ce6b27a874
commit
55b0a39314
@@ -239,6 +239,10 @@ static int boot_body_linux(bootm_headers_t *images)
|
||||
|
||||
int ret;
|
||||
|
||||
#if defined(CONFIG_OF_LIBFDT)
|
||||
boot_fdt_add_mem_rsv_regions(lmb, *of_flat_tree);
|
||||
#endif
|
||||
|
||||
/* allocate space and init command line */
|
||||
ret = boot_cmdline_linux(images);
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user