summaryrefslogtreecommitdiff
path: root/common/cmd_sf.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-10-21 23:29:51 -0500
committerWolfgang Denk <wd@denx.de>2009-10-24 22:39:51 +0200
commitd535a493004fb701f131b132402a7704f9c9342d (patch)
tree72e423232c5b97807e32a97f614f1e25389f53e9 /common/cmd_sf.c
parent0ac59d0c0718ccdc7f8184668ec5c4f48c1987a2 (diff)
downloadu-boot-imx-d535a493004fb701f131b132402a7704f9c9342d.zip
u-boot-imx-d535a493004fb701f131b132402a7704f9c9342d.tar.gz
u-boot-imx-d535a493004fb701f131b132402a7704f9c9342d.tar.bz2
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>
Diffstat (limited to 'common/cmd_sf.c')
0 files changed, 0 insertions, 0 deletions