- Jun 04, 2013
-
-
Simon Glass authored
Use the new common code to load a ramdisk. The functionality should not change. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
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>
-
- May 14, 2013
-
-
Simon Glass authored
This code is very large, and in SPL it isn't always useful to print out image information (in fact there might not even be a console active). So disable this feature unless this option is set. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There are only two left. One is unnecessary and the other can be moved to the header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This function will be used to print signatures as well as hashes, so rename it. Also make it static since it is not used outside this file. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Simon Glass authored
This function will be needed by signature checking code, so export it, and also add docs. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The string " error\n" appears in each error string. Move it out to a common place. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Simon Glass authored
The existing function is long and most of the code is indented a long way. Before adding yet more code, split this out into its own function. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de> (v1)
-
Simon Glass authored
This is the main entry point to the FIT image verification code. We will be using it to handle image verification with signatures, so rename the function. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Simon Glass authored
This code is never compiled into U-Boot, so move it into a separate file in tools/ to avoid the large #ifdef. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Simon Glass authored
The FIT code is about half the size of the >3000-line image.c. Split this code into its own file. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Marek Vasut <marex@denx.de>
-