From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 01 Aug 2014 13:18:09 -0600 Subject: [U-Boot] [PATCH 3/3] bootm: use genimg_get_kernel_addr() In-Reply-To: <1406853600-30615-4-git-send-email-pengw@nvidia.com> References: <1406853600-30615-1-git-send-email-pengw@nvidia.com> <1406853600-30615-4-git-send-email-pengw@nvidia.com> Message-ID: <53DBE7F1.4050905@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/31/2014 06:40 PM, Bryan Wu wrote: > Use the new API which is originally taken out from boot_get_kernel > of bootm.c > diff --git a/common/bootm.c b/common/bootm.c > case IMAGE_FORMAT_FIT: > + if (!fit_parse_conf(argv[0], load_addr, &img_addr, > + fit_uname_config)) > + fit_parse_subimage(argv[0], load_addr, &img_addr, > + fit_uname_kernel); I'd be tempted to try and rework patch 1/3 so that it could "return" the fit_uname_* values too. That way, you wouldn't need to call fit_parse_*() a second time here. This probably isn't a big issue though. The series, Tested-by: Stephen Warren Reviewed-by: Stephen Warren