commit | 782cfbb25900797651be8876e834da1d12e0c68d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu May 16 13:53:21 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Jun 04 16:06:31 2013 -0400 |
tree | 50209ee04cde4d0f9f016789cd4a638fb7037bbe | |
parent | 2434c66da041d3c79addde0077eeccb8fceee6e1 [diff] |
image: Introduce fit_image_load() to load images from FITs At present code to load an image from a FIT is duplicated in the three places where it is needed (kernel, fdt, ramdisk). The differences between these different code copies is fairly minor. Create a new function in the fit code which can handle any of the requirements of those cases. Signed-off-by: Simon Glass <sjg@chromium.org>