summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-07-16 13:28:47 +0200
committerStefan Roese <sr@denx.de>2007-07-16 13:28:47 +0200
commit8f085e324ad89423314b1a529a0dd5d85c8397ad (patch)
treea165c33f92619a488756edc3261a53468c8b55b6 /common/main.c
parent8848ec858f74ed6dab06fb6d5ddc933e0a1328bf (diff)
parent3a6cab844cf74f76639d795e0be8717e02c86af7 (diff)
downloadu-boot-imx-8f085e324ad89423314b1a529a0dd5d85c8397ad.zip
u-boot-imx-8f085e324ad89423314b1a529a0dd5d85c8397ad.tar.gz
u-boot-imx-8f085e324ad89423314b1a529a0dd5d85c8397ad.tar.bz2
Merge with git://www.denx.de/git/u-boot.git
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