diff options
| author | Tom Rini <[email protected]> | 2021-07-07 13:32:22 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-07 13:32:22 -0400 |
| commit | 5b8a83551d339736af92c43524ed0e1ba01122af (patch) | |
| tree | c05ddf8c68a2c7f00c8843a231026d95b3d82f43 /include | |
| parent | 54fb6e396dd6a0cfbbed77d6baffa23899f4fca9 (diff) | |
| parent | 7bb1cc3bb9d6fca5f285db4df2299c3b80aa8c4a (diff) | |
Merge branch '2021-07-06-update-to-gcc11-clang11'
- Update CI to use gcc-11.1 and clang-11 to build everything. This
requires a few fixes to the code that these newer compilers have
exposed.
Diffstat (limited to 'include')
| -rw-r--r-- | include/bootstage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/bootstage.h b/include/bootstage.h index 00c85fb86aa..f837a387c8c 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -11,6 +11,8 @@ #ifndef _BOOTSTAGE_H #define _BOOTSTAGE_H +#include <linux/kconfig.h> + /* Flags for each bootstage record */ enum bootstage_flags { BOOTSTAGEF_ERROR = 1 << 0, /* Error record */ @@ -218,7 +220,7 @@ enum bootstage_id { */ ulong timer_get_boot_us(void); -#if defined(USE_HOSTCC) +#if defined(USE_HOSTCC) || !CONFIG_IS_ENABLED(BOOTSTAGE) #define show_boot_progress(val) do {} while (0) #else /** |
