diff options
author | Heiko Schocher | 2016-06-07 08:31:20 +0200 |
---|---|---|
committer | Tom Rini | 2016-06-09 13:53:08 -0400 |
commit | 496c5483e9ad80d34ff0d9ee9abb813e51be2237 (patch) | |
tree | 61ccb82de2e8c1a8272f38ae4df5f6db43029d80 /include/bootstage.h | |
parent | 694607b563df4425b2d50d220048cc3299a6e947 (diff) |
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 'include/bootstage.h')
-rw-r--r-- | include/bootstage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/bootstage.h b/include/bootstage.h index 0880a680b9e..a589be6316e 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -213,7 +213,9 @@ enum bootstage_id { */ ulong timer_get_boot_us(void); -#if !defined(CONFIG_SPL_BUILD) && !defined(USE_HOSTCC) +#if defined(USE_HOSTCC) +#define show_boot_progress(val) do {} while (0) +#else /* * Board code can implement show_boot_progress() if needed. * @@ -221,8 +223,6 @@ ulong timer_get_boot_us(void); * has occurred. */ void show_boot_progress(int val); -#else -#define show_boot_progress(val) do {} while (0) #endif #if defined(CONFIG_BOOTSTAGE) && !defined(CONFIG_SPL_BUILD) && \ |