[U-Boot] [PATCH] fdt: Fix fdt padding issue for initrd mem_rsv

Jerry Van Baren gerald.vanbaren at ge.com
Thu Oct 22 13:48:22 CEST 2009


Kumar Gala wrote:
> 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 at kernel.crashing.org>

Acked-by: Gerald Van Baren <vanbaren at cideas.com>

> ---
> Wolfgang, this has been a long standing bug but only shows up if the fdt
> blob happens to be a particular size.  Please include this for the v2009.11
> release.
> 
> - k

Thanks,
gvb


More information about the U-Boot mailing list