From: Tom Rini Date: Sun, 6 Dec 2015 17:06:06 -0500 Subject: [U-Boot] common: image-fdt: correct fdt_blob for IMAGE_FORMAT_LEGACY In-Reply-To: <1448355263-545-3-git-send-email-Peng.Fan@freescale.com> References: <1448355263-545-3-git-send-email-Peng.Fan@freescale.com> Message-ID: <20151206220606.GE9551@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Simon Glass > Cc: Joe Hershberger > Cc: Max Krummenacher > Cc: Marek Vasut > Cc: Suriyan Ramasami > Cc: Paul Kocialkowski > Cc: Tom Rini > Reviewed-by: Simon Glass 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: