commit | 384d86dcb4337c69b2a42043c98ce911f8de08d7 | [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 | a6193f1b3ac2271e09cc0e84359729f15e1e89e0 [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>