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_mmc.c | |
parent | 710e9ca5795c9762b09028f1e151981c9052d012 (diff) | |
download | u-boot-f4d7d8596f3a4f5bce500c622b75d2e9c8d6f989.tar.gz |
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_mmc.c')
-rw-r--r-- | common/spl/spl_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index 16a6b49e7a..c674e61cbd 100644 --- a/common/spl/spl_mmc.c +++ b/common/spl/spl_mmc.c @@ -80,7 +80,7 @@ static int mmc_load_image_raw_sector(struct spl_image_info *spl_image, load.filename = NULL; load.bl_len = mmc->read_bl_len; load.read = h_spl_load_read; - ret = spl_load_simple_fit(&load, sector, header); + ret = spl_load_simple_fit(spl_image, &load, sector, header); } else { ret = mmc_load_legacy(spl_image, mmc, sector, header); } |