Skip to content
Snippets Groups Projects
Commit 3422299d authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

common: main.c: make show_boot_progress __weak


This not only looks a bit better it also prevents a
warning with W=1 (no previous prototype).

Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 2c34f3f5
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,7 @@ DECLARE_GLOBAL_DATA_PTR;
/*
* Board-specific Platform code can reimplement show_boot_progress () if needed
*/
void inline __show_boot_progress (int val) {}
void show_boot_progress (int val) __attribute__((weak, alias("__show_boot_progress")));
__weak void show_boot_progress(int val) {}
static void modem_init(void)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment