bootstage: call show_boot_progress also in SPL
show_boot_progress() is now called from SPL also. Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
@@ -146,3 +146,8 @@ void board_init_f_init_reserve(ulong base)
|
||||
base += CONFIG_SYS_MALLOC_F_LEN;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* Board-specific Platform code can reimplement show_boot_progress () if needed
|
||||
*/
|
||||
__weak void show_boot_progress(int val) {}
|
||||
|
||||
@@ -35,6 +35,11 @@ struct spl_image_info spl_image;
|
||||
/* Define board data structure */
|
||||
static bd_t bdata __attribute__ ((section(".data")));
|
||||
|
||||
/*
|
||||
* Board-specific Platform code can reimplement show_boot_progress () if needed
|
||||
*/
|
||||
__weak void show_boot_progress(int val) {}
|
||||
|
||||
/*
|
||||
* Default function to determine if u-boot or the OS should
|
||||
* be started. This implementation always returns 1.
|
||||
|
||||
Reference in New Issue
Block a user