Re: [U-Boot] [RFC PATCH 0/22] RFC: image: Reduce code duplication and refactor

2013-03-09 Thread Simon Glass
Hi, On Thu, Jan 10, 2013 at 6:58 AM, Simon Glass wrote: > In creating a new feature[*] I found that the image code includes quite > a bit of duplication in places. In particular the code to load a kernel, > FDT and ramdisk is all fairly similar, but subtly different. > > This series introduces a

[U-Boot] [RFC PATCH 0/22] RFC: image: Reduce code duplication and refactor

2013-01-10 Thread Simon Glass
In creating a new feature[*] I found that the image code includes quite a bit of duplication in places. In particular the code to load a kernel, FDT and ramdisk is all fairly similar, but subtly different. This series introduces a new function fit_image_load() which loads an image from a FIT and s