diff options
author | Simon Glass <sjg@chromium.org> | 2016-09-24 18:20:16 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-06 15:08:54 -0400 |
commit | f4d7d8596f3a4f5bce500c622b75d2e9c8d6f989 (patch) | |
tree | efda93dc330a70296ee5abf2b333436825cc8d7c /include | |
parent | 710e9ca5795c9762b09028f1e151981c9052d012 (diff) |
spl: Update spl_load_simple_fit() to take an spl_image param
Upda the SPL FIT code to use the spl_image parameter.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/spl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/spl.h b/include/spl.h index 1f4f4e5237..0b97cda7fc 100644 --- a/include/spl.h +++ b/include/spl.h @@ -49,6 +49,7 @@ struct spl_load_info { /** * spl_load_simple_fit() - Loads a fit image from a device. + * @spl_image: Image description to set up * @info: Structure containing the information required to load data. * @sector: Sector number where FIT image is located in the device * @fdt: Pointer to the copied FIT header. @@ -57,7 +58,8 @@ struct spl_load_info { * specified load address and copies the dtb to end of u-boot image. * Returns 0 on success. */ -int spl_load_simple_fit(struct spl_load_info *info, ulong sector, void *fdt); +int spl_load_simple_fit(struct spl_image_info *spl_image, + struct spl_load_info *info, ulong sector, void *fdt); #define SPL_COPY_PAYLOAD_ONLY 1 |