|
@@ -213,7 +213,9 @@ enum bootstage_id {
|
|
*/
|
|
*/
|
|
ulong timer_get_boot_us(void);
|
|
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.
|
|
* Board code can implement show_boot_progress() if needed.
|
|
*
|
|
*
|
|
@@ -221,8 +223,6 @@ ulong timer_get_boot_us(void);
|
|
* has occurred.
|
|
* has occurred.
|
|
*/
|
|
*/
|
|
void show_boot_progress(int val);
|
|
void show_boot_progress(int val);
|
|
-#else
|
|
|
|
-#define show_boot_progress(val) do {} while (0)
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#if defined(CONFIG_BOOTSTAGE) && !defined(CONFIG_SPL_BUILD) && \
|
|
#if defined(CONFIG_BOOTSTAGE) && !defined(CONFIG_SPL_BUILD) && \
|