[U-Boot] [PATCH 3/3] bootm: use genimg_get_kernel_addr()

Stephen Warren swarren at wwwdotorg.org
Fri Aug 1 21:18:09 CEST 2014


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 <swarren at nvidia.com>
Reviewed-by: Stephen Warren <swarren at nvidia.com>


More information about the U-Boot mailing list