summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-07 10:28:46 -0600
committerTom Rini <trini@konsulko.com>2017-06-12 08:38:11 -0400
commitbaa7d345fb2a7aaee31af6d77f2a790e89864af6 (patch)
tree931fa406d131d40d493720a8817547091aff0235 /drivers/serial
parent73027a853d2d9324ef2b15d5a860da3e3126321d (diff)
downloadu-boot-baa7d345fb2a7aaee31af6d77f2a790e89864af6.tar.gz
u-boot-baa7d345fb2a7aaee31af6d77f2a790e89864af6.tar.xz
u-boot-baa7d345fb2a7aaee31af6d77f2a790e89864af6.zip
board_f: Use IS_ENABLED instead of #ifdef in initf_bootstage()
The current implementation makes it look like the 'if (from_spl)' part is dead code because these features are not enabled for sandbox. We could enable it for sandbox_spl, but this is not done yet (it requires sharing memory between SPL and U-Boot proper which is in fact supported). It is probably nicer to avoid #ifdef anyway. Change it. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163244) Fixes: 824bb1b (bootstage: Support SPL)
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions