This not only looks a bit better it also prevents a
warning with W=1 (no previous prototype).
Change-Id: I76061ab498572895bf3b864add2c18c4bcd9585c
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
/*
* 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) {}
#if defined(CONFIG_UPDATE_TFTP)
int update_tftp (ulong addr);