Skip to content
Snippets Groups Projects
Commit f59961e3 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

spl: Add function comments to spl_start_uboot()


Add some comments to describe this function.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent ca12e65c
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,18 @@ int spl_board_ubi_load_image(u32 boot_device);
*/
void __noreturn jump_to_image_linux(struct spl_image_info *spl_image,
void *arg);
/**
* spl_start_uboot() - Check if SPL should start the kernel or U-Boot
*
* This is called by the various SPL loaders to determine whether the board
* wants to load the kernel or U-Boot. This function should be provided by
* the board.
*
* @return 0 if SPL should start the kernel, 1 if U-Boot must be started
*/
int spl_start_uboot(void);
void spl_display_print(void);
/* NAND SPL functions */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment