[U-Boot] common: image-fdt: correct fdt_blob for IMAGE_FORMAT_LEGACY

Tom Rini trini at konsulko.com
Sun Dec 6 23:06:06 CET 2015


On Tue, Nov 24, 2015 at 04:54:22PM +0800, Peng Fan wrote:

> If condition of "(load == image_start || load == image_data)" is true,
> should use "fdt_addr = load;", but not "fdt_blob = (char *)image_data;",
> or fdt_blob will be overridden by "fdt_blob = map_sysmem(fdt_addr, 0);"
> at the end of the switch case.
> 
> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Max Krummenacher <max.krummenacher at toradex.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Suriyan Ramasami <suriyan.r at gmail.com>
> Cc: Paul Kocialkowski <contact at paulk.fr>
> Cc: Tom Rini <trini at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151206/4fc71fe3/attachment.sig>


More information about the U-Boot mailing list