bootm: Clean up bootz_setup() function
This function has no prototype in the headers and passes void * around, thus requiring several casts. Tidy this up. - Add new patch to clean up bootz_setup() function Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -662,6 +662,17 @@ int image_setup_libfdt(bootm_headers_t *images, void *blob,
|
||||
*/
|
||||
int image_setup_linux(bootm_headers_t *images);
|
||||
|
||||
/**
|
||||
* bootz_setup() - Extract stat and size of a Linux xImage
|
||||
*
|
||||
* @image: Address of image
|
||||
* @start: Returns start address of image
|
||||
* @end : Returns end address of image
|
||||
* @return 0 if OK, 1 if the image was not recognised
|
||||
*/
|
||||
int bootz_setup(ulong image, ulong *start, ulong *end);
|
||||
|
||||
|
||||
/*******************************************************************/
|
||||
/* New uImage format specific code (prefixed with fit_) */
|
||||
/*******************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user