|
@@ -6,8 +6,10 @@
|
|
|
#include <common.h>
|
|
|
#include <spl.h>
|
|
|
|
|
|
-__weak void board_return_to_bootrom(void)
|
|
|
+__weak int board_return_to_bootrom(struct spl_image_info *spl_image,
|
|
|
+ struct spl_boot_device *bootdev)
|
|
|
{
|
|
|
+ return 0;
|
|
|
}
|
|
|
|
|
|
static int spl_return_to_bootrom(struct spl_image_info *spl_image,
|
|
@@ -19,8 +21,7 @@ static int spl_return_to_bootrom(struct spl_image_info *spl_image,
|
|
|
* the ROM), it will implement board_return_to_bootrom() and
|
|
|
* should not return from it.
|
|
|
*/
|
|
|
- board_return_to_bootrom();
|
|
|
- return false;
|
|
|
+ return board_return_to_bootrom(spl_image, bootdev);
|
|
|
}
|
|
|
|
|
|
SPL_LOAD_IMAGE_METHOD("BOOTROM", 0, BOOT_DEVICE_BOOTROM, spl_return_to_bootrom);
|