]> git.dujemihanovic.xyz Git - u-boot.git/commit
SPL: Add struct spl_boot_device parameter into spl_parse_board_header()
authorPali Rohár <pali@kernel.org>
Fri, 14 Jan 2022 13:31:38 +0000 (14:31 +0100)
committerStefan Roese <sr@denx.de>
Thu, 20 Jan 2022 10:35:29 +0000 (11:35 +0100)
commit2e0429bcc1a9cf2c3b4cc0e8af7199f031a3b8e9
treeacf9804cf808bcacfec4984a8fbf63898fae28fe
parent66f874855cc6e750e979a9e08bb96d0da38d534f
SPL: Add struct spl_boot_device parameter into spl_parse_board_header()

Add parameter spl_boot_device to spl_parse_board_header(), which allows
the implementations to see from which device we are booting and do
boot-device-specific checks of the image header.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
22 files changed:
arch/arm/mach-mvebu/spl.c
arch/arm/mach-sunxi/spl_spi_sunxi.c
common/spl/spl.c
common/spl/spl_ext.c
common/spl/spl_fat.c
common/spl/spl_legacy.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_ram.c
common/spl/spl_sata.c
common/spl/spl_sdp.c
common/spl/spl_spi.c
common/spl/spl_ubi.c
common/spl/spl_usb.c
common/spl/spl_xip.c
common/spl/spl_ymodem.c
drivers/usb/gadget/f_sdp.c
include/sdp.h
include/spl.h