diff options
author | Tom Rini <trini@konsulko.com> | 2021-05-03 23:48:58 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-07 17:17:54 +0300 |
commit | cb80ff20f2c8392f19248418f9a19a0474661860 (patch) | |
tree | a4a4ca65c3d6bb8331c0ba9746f300d9709abf7c /board/buffalo/lsxl | |
parent | c48b781581f6c3b24cb40241e90296b0e7f7a30f (diff) | |
download | u-boot-cb80ff20f2c8392f19248418f9a19a0474661860.tar.xz |
bootstage: Eliminate when not enabled
When we do not have bootstage enabled, rather than include an empty
dummy function, we just don't reference it. This saves us space in some
tight builds. This also shows a few cases where show_boot_progress was
incorrectly guarded before.
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/buffalo/lsxl')
-rw-r--r-- | board/buffalo/lsxl/lsxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index 34be601fdd..738b6bc25c 100644 --- a/board/buffalo/lsxl/lsxl.c +++ b/board/buffalo/lsxl/lsxl.c @@ -271,7 +271,7 @@ int misc_init_r(void) } #endif -#ifdef CONFIG_SHOW_BOOT_PROGRESS +#if CONFIG_IS_ENABLED(BOOTSTAGE) void show_boot_progress(int progress) { if (progress > 0) |