Respect memreserve regions specified in the device tree
authorGrant Likely <grant.likely@linaro.org>
Mon, 28 Mar 2011 09:59:01 +0000 (09:59 +0000)
committerGerald Van Baren <gvb@unssw.com>
Tue, 26 Apr 2011 01:11:21 +0000 (21:11 -0400)
commit55b0a39314562087143f439ecae57379b97db9aa
treed3879cdbabfd2386a30a261819e3d5d9b4c0c326
parentce6b27a874fe30e7126ae93c060277770ee85ced
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>
arch/arm/lib/bootm.c
arch/powerpc/lib/bootm.c
common/cmd_bootm.c
common/image.c
include/image.h