diff options
| author | Peng Fan <[email protected]> | 2019-08-07 06:40:53 +0000 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2019-10-08 16:35:16 +0200 |
| commit | cda789a5b1c049bfc3592dfbba19d261c2c0c6c4 (patch) | |
| tree | db8fa08491e1320388e2cc15092741f15db13ed0 /include | |
| parent | 8c247bbe23ca5e81d237bd7fefaa9ed7d1b1e232 (diff) | |
spl: pass args to board_return_to_bootrom
Pass spl_image and bootdev to board_return_bootrom.
i.MX8MN needs the args to let ROM to load images
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/spl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/spl.h b/include/spl.h index e4640f3830b..fd4747b44e4 100644 --- a/include/spl.h +++ b/include/spl.h @@ -387,7 +387,8 @@ void spl_invoke_opensbi(struct spl_image_info *spl_image); * stage wants to return to the ROM code to continue booting, boards * can implement 'board_return_to_bootrom'. */ -void board_return_to_bootrom(void); +int board_return_to_bootrom(struct spl_image_info *spl_image, + struct spl_boot_device *bootdev); /** * board_spl_fit_post_load - allow process images after loading finished |
