mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
make show_boot_progress () weak.
Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
@@ -44,6 +44,12 @@
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Board-specific Platform code can reimplement show_boot_progress () if needed
|
||||
*/
|
||||
void inline __show_boot_progress (int val) {}
|
||||
void inline show_boot_progress (int val) __attribute__((weak, alias("__show_boot_progress")));
|
||||
|
||||
#if defined(CONFIG_BOOT_RETRY_TIME) && defined(CONFIG_RESET_TO_RETRY)
|
||||
extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); /* for do_reset() prototype */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user