]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Create a function to init spl_load_info
authorSimon Glass <sjg@chromium.org>
Thu, 22 Aug 2024 13:55:02 +0000 (07:55 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 23 Aug 2024 21:58:42 +0000 (15:58 -0600)
commit3fd11278ff43a5039e33a8cf04dc822711ea9694
tree62818649b8a5605cefe4795c0fb4a24b8a087e39
parent50a1ed4335045c57d9073a3fcd265edd89da924a
spl: Create a function to init spl_load_info

Rather than having every caller set this up individually, create a
common init function. This allows new fields to be added without the
risk of them being left uninited.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
18 files changed:
arch/arm/mach-imx/spl_imx_romapi.c
arch/arm/mach-sunxi/spl_spi_sunxi.c
arch/sandbox/cpu/spl.c
common/spl/spl_blk_fs.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_ram.c
common/spl/spl_semihosting.c
common/spl/spl_spi.c
common/spl/spl_ymodem.c
drivers/usb/gadget/f_sdp.c
include/spl.h
test/image/spl_load.c
test/image/spl_load_os.c