bootstage: Eliminate when not enabled
authorTom Rini <trini@konsulko.com>
Mon, 3 May 2021 20:48:58 +0000 (16:48 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 7 Jul 2021 14:17:54 +0000 (10:17 -0400)
commitcb80ff20f2c8392f19248418f9a19a0474661860
treea4a4ca65c3d6bb8331c0ba9746f300d9709abf7c
parentc48b781581f6c3b24cb40241e90296b0e7f7a30f
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>
arch/x86/cpu/cpu.c
board/Seagate/dockstar/dockstar.c
board/Seagate/goflexhome/goflexhome.c
board/bosch/shc/board.c
board/buffalo/lsxl/lsxl.c
board/k+p/kp_imx53/kp_imx53.c
board/st/stv0991/stv0991.c
common/init/board_init.c
common/spl/spl.c
include/bootstage.h