summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@pollux.denx.de>2007-07-13 09:54:17 +0200
committerHeiko Schocher <hs@pollux.denx.de>2007-07-13 09:54:17 +0200
commitfad63407154f46246ce80d53a9c669a44362ac67 (patch)
tree34eb81390734469bc9c2210f704beab5d66d85c0 /common/main.c
parent907902472391b6ca1876ec300687562ecaf459b1 (diff)
downloadu-boot-imx-fad63407154f46246ce80d53a9c669a44362ac67.zip
u-boot-imx-fad63407154f46246ce80d53a9c669a44362ac67.tar.gz
u-boot-imx-fad63407154f46246ce80d53a9c669a44362ac67.tar.bz2
make show_boot_progress () weak.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index a00ebc1..000686d 100644
--- a/common/main.c
+++ b/common/main.c
@@ -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