From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 23 Aug 2014 08:42:56 -0400 Subject: [U-Boot] [U-Boot, v3, 1/2] image: fix bootm failure for FIT image In-Reply-To: <1408146699-27959-1-git-send-email-pengw@nvidia.com> References: <1408146699-27959-1-git-send-email-pengw@nvidia.com> Message-ID: <20140823124256.GA19374@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 Fri, Aug 15, 2014 at 04:51:38PM -0700, Bryan Wu wrote: > Commit b3dd64f5d537 "bootm: use genimg_get_kernel_addr()" introduced > a bug for booting FIT image. It's because calling fit_parse_config() > twice will give us wrong value in img_addr. > > Add a new function genimg_get_kernel_addr_fit() whichl will always > return fit_uname_config and fit_uname_kernel for CONFIG_FIT. > genimg_get_kernel_addr() will ignore those to parameters. > > Reported-by: York Sun > Signed-off-by: Bryan Wu Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: