commit | d535a493004fb701f131b132402a7704f9c9342d | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Wed Oct 21 23:29:51 2009 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Sat Oct 24 22:39:51 2009 +0200 |
tree | 72e423232c5b97807e32a97f614f1e25389f53e9 | |
parent | 0ac59d0c0718ccdc7f8184668ec5c4f48c1987a2 [diff] |
fdt: Fix fdt padding issue for initrd mem_rsv Its possible that we end up with a device tree that happens to be a particular size that after we call fdt_resize() we don't have any space left for the initrd mem_rsv. Fix this be adding a second mem_rsv into the size calculation. We had one to cover the fdt itself and we have the potential of adding a second for the initrd. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Gerald Van Baren <vanbaren@cideas.com>