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_ymodem.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_ymodem.c')
-rw-r--r-- | common/spl/spl_ymodem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_ymodem.c b/common/spl/spl_ymodem.c index 8fbf8958a1..13e8e51da9 100644 --- a/common/spl/spl_ymodem.c +++ b/common/spl/spl_ymodem.c @@ -103,7 +103,7 @@ static int spl_ymodem_load_image(struct spl_image_info *spl_image, info.buf = buf; info.image_read = BUF_SIZE; load.read = ymodem_read_fit; - ret = spl_load_simple_fit(&load, 0, (void *)buf); + ret = spl_load_simple_fit(spl_image, &load, 0, (void *)buf); size = info.image_read; while ((res = xyzModem_stream_read(buf, BUF_SIZE, &err)) > 0) |