From cda789a5b1c049bfc3592dfbba19d261c2c0c6c4 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Wed, 7 Aug 2019 06:40:53 +0000 Subject: 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 Cc: Philipp Tomsich Cc: Kever Yang Signed-off-by: Peng Fan Reviewed-by: Kever Yang --- include/spl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3