X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fbootstage.h;h=3b2216b8a8c8316df3dec35153947087623a905c;hb=bd23b22badadcdc414a900828253961fc5ec6c39;hp=8fa13264d043a6abcbf12f658f62e1e9e86ecbc4;hpb=996e95d49d482d439b0a9fb8f7a58ce76463e5b9;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/bootstage.h b/include/bootstage.h index 8fa1326..3b2216b 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -221,6 +221,7 @@ enum bootstage_id { */ ulong timer_get_boot_us(void); +#ifndef CONFIG_SPL_BUILD /* * Board code can implement show_boot_progress() if needed. * @@ -228,8 +229,11 @@ ulong timer_get_boot_us(void); * has occurred. */ void show_boot_progress(int val); +#else +#define show_boot_progress(val) do {} while (0) +#endif -#ifdef CONFIG_BOOTSTAGE +#if defined(CONFIG_BOOTSTAGE) && !defined(CONFIG_SPL_BUILD) /* This is the full bootstage implementation */ /**