summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2016-06-07 06:31:20 (GMT)
committerTom Rini <trini@konsulko.com>2016-06-09 17:53:08 (GMT)
commit496c5483e9ad80d34ff0d9ee9abb813e51be2237 (patch)
tree61ccb82de2e8c1a8272f38ae4df5f6db43029d80 /common
parent694607b563df4425b2d50d220048cc3299a6e947 (diff)
downloadu-boot-496c5483e9ad80d34ff0d9ee9abb813e51be2237.tar.xz
bootstage: call show_boot_progress also in SPL
show_boot_progress() is now called from SPL also. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/init/board_init.c5
-rw-r--r--common/spl/spl.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/common/init/board_init.c b/common/init/board_init.c
index d17bb29..ef01a9a 100644
--- a/common/init/board_init.c
+++ b/common/init/board_init.c
@@ -146,3 +146,8 @@ void board_init_f_init_reserve(ulong base)
base += CONFIG_SYS_MALLOC_F_LEN;
#endif
}
+
+/*
+ * Board-specific Platform code can reimplement show_boot_progress () if needed
+ */
+__weak void show_boot_progress(int val) {}
diff --git a/common/spl/spl.c b/common/spl/spl.c
index c8dfc14..840910a 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -36,6 +36,11 @@ struct spl_image_info spl_image;
static bd_t bdata __attribute__ ((section(".data")));
/*
+ * Board-specific Platform code can reimplement show_boot_progress () if needed
+ */
+__weak void show_boot_progress(int val) {}
+
+/*
* Default function to determine if u-boot or the OS should
* be started. This implementation always returns 1.
*