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 /common/spl/spl_spi.c | |
parent | 710e9ca5795c9762b09028f1e151981c9052d012 (diff) | |
download | u-boot-f4d7d8596f3a4f5bce500c622b75d2e9c8d6f989.tar.gz u-boot-f4d7d8596f3a4f5bce500c622b75d2e9c8d6f989.tar.bz2 u-boot-f4d7d8596f3a4f5bce500c622b75d2e9c8d6f989.zip |
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 'common/spl/spl_spi.c')
-rw-r--r-- | common/spl/spl_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_spi.c b/common/spl/spl_spi.c index 4bf3d65967..a3caafbd46 100644 --- a/common/spl/spl_spi.c +++ b/common/spl/spl_spi.c @@ -108,7 +108,7 @@ static int spl_spi_load_image(struct spl_image_info *spl_image, load.filename = NULL; load.bl_len = 1; load.read = spl_spi_fit_read; - err = spl_load_simple_fit(&load, + err = spl_load_simple_fit(spl_image, &load, CONFIG_SYS_SPI_U_BOOT_OFFS, header); } else { |