aboutsummaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorPeng Fan2019-08-07 06:40:53 +0000
committerStefano Babic2019-10-08 16:35:16 +0200
commitcda789a5b1c049bfc3592dfbba19d261c2c0c6c4 (patch)
treedb8fa08491e1320388e2cc15092741f15db13ed0 /include/spl.h
parent8c247bbe23ca5e81d237bd7fefaa9ed7d1b1e232 (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 <sjg@chromium.org> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h3
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