From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Thu, 22 Oct 2009 07:48:22 -0400 Subject: [U-Boot] [PATCH] fdt: Fix fdt padding issue for initrd mem_rsv In-Reply-To: <1256185791-5492-1-git-send-email-galak@kernel.crashing.org> References: <1256185791-5492-1-git-send-email-galak@kernel.crashing.org> Message-ID: <4AE04686.8040001@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Acked-by: Gerald Van Baren > --- > 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