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 <swar...@nvidia.com>
Reviewed-by: Stephen Warren <swar...@nvidia.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to