]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Remove #ifdefs with BOOTSTAGE
authorSimon Glass <sjg@chromium.org>
Tue, 26 Sep 2023 14:14:32 +0000 (08:14 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 6 Oct 2023 18:38:12 +0000 (14:38 -0400)
commit17ba50106efe04ca5249ce33a8ef8374b584ee8d
tree9b563c2a670a0bb7da9bfd66d72478aaf2cef185
parent2003a83cc8b3937cda09e712c75f50f579eed3fa
spl: Remove #ifdefs with BOOTSTAGE

This feature has some helpers in its header file so that its functions
resolve to nothing when the feature is disabled. Add a few more and use
these to simplify the code.

With this there are no more #ifdefs in board_init_r()

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootstage.c
common/spl/spl.c
include/bootstage.h