spl: Add a parameter to spl_parse_image_header()
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:19:53 +0000 (18:19 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 18:48:17 +0000 (14:48 -0400)
commit71316c1d8c1799b444d14cfb00eaacb6cf1ce44a
treed7c0b1c644dfdeed26c7cfe5804a7dbdd8584026
parentd95ceb97c0ca158605372634a860651ca925915a
spl: Add a parameter to spl_parse_image_header()

Instead of using the global spl_image variable, pass the required struct in
as an argument.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
14 files changed:
arch/arm/mach-uniphier/boot-mode/spl_board.c
common/spl/spl.c
common/spl/spl_ext.c
common/spl/spl_fat.c
common/spl/spl_mmc.c
common/spl/spl_nand.c
common/spl/spl_net.c
common/spl/spl_nor.c
common/spl/spl_onenand.c
common/spl/spl_ubi.c
common/spl/spl_ymodem.c
drivers/mtd/spi/spi_spl_load.c
drivers/mtd/spi/sunxi_spi_spl.c
include/spl.h