diff options
| author | Pali Rohár <[email protected]> | 2022-01-14 14:31:38 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2022-01-20 11:35:29 +0100 |
| commit | 2e0429bcc1a9cf2c3b4cc0e8af7199f031a3b8e9 (patch) | |
| tree | acf9804cf808bcacfec4984a8fbf63898fae28fe /include/sdp.h | |
| parent | 66f874855cc6e750e979a9e08bb96d0da38d534f (diff) | |
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 <[email protected]>
Signed-off-by: Marek Behún <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/sdp.h')
| -rw-r--r-- | include/sdp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sdp.h b/include/sdp.h index 6ac64fb1f31..6d89baa04ec 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 |
