Skip to content
Snippets Groups Projects
Commit baa7d345 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 163244)
Fixes: 824bb1b4 (bootstage: Support SPL)
parent 73027a85
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment