
On Thu, Jul 31, 2014 at 05:40:00PM -0700, Bryan Wu wrote:
Use the new API which is originally taken out from boot_get_kernel of bootm.c
Signed-off-by: Bryan Wu pengw@nvidia.com Tested-by: Stephen Warren swarren@nvidia.com Reviewed-by: Stephen Warren swarren@nvidia.com
After doing the following to fix warnings: diff --git a/common/bootm.c b/common/bootm.c index aee68cd..76d811c 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -789,9 +789,9 @@ static const void *boot_get_kernel(cmd_tbl_t *cmdtp, int flag, int argc, #if defined(CONFIG_FIT) case IMAGE_FORMAT_FIT: if (!fit_parse_conf(argv[0], load_addr, &img_addr, - fit_uname_config)) + &fit_uname_config)) fit_parse_subimage(argv[0], load_addr, &img_addr, - fit_uname_kernel); + &fit_uname_kernel); os_noffset = fit_image_load(images, img_addr, &fit_uname_kernel, &fit_uname_config, IH_ARCH_DEFAULT, IH_TYPE_KERNEL, Applied to u-boot/master, thanks!