summaryrefslogtreecommitdiff
path: root/include/sdp.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-01-14 16:31:38 +0300
committerStefan Roese <sr@denx.de>2022-01-20 13:35:29 +0300
commit2e0429bcc1a9cf2c3b4cc0e8af7199f031a3b8e9 (patch)
treeacf9804cf808bcacfec4984a8fbf63898fae28fe /include/sdp.h
parent66f874855cc6e750e979a9e08bb96d0da38d534f (diff)
downloadu-boot-2e0429bcc1a9cf2c3b4cc0e8af7199f031a3b8e9.tar.xz
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>
Diffstat (limited to 'include/sdp.h')
-rw-r--r--include/sdp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sdp.h b/include/sdp.h
index 6ac64fb1f3..6d89baa04e 100644
--- a/include/sdp.h
+++ b/include/sdp.h
@@ -14,7 +14,8 @@ int sdp_init(int controller_index);
#ifdef CONFIG_SPL_BUILD
#include <spl.h>
-int spl_sdp_handle(int controller_index, struct spl_image_info *spl_image);
+int spl_sdp_handle(int controller_index, struct spl_image_info *spl_image,
+ struct spl_boot_device *bootdev);
#else
int sdp_handle(int controller_index);
#endif