summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-07 16:28:46 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-12 12:38:11 (GMT)
commitbaa7d345fb2a7aaee31af6d77f2a790e89864af6 (patch)
tree931fa406d131d40d493720a8817547091aff0235 /tools
parent73027a853d2d9324ef2b15d5a860da3e3126321d (diff)
downloadu-boot-fsl-qoriq-baa7d345fb2a7aaee31af6d77f2a790e89864af6.tar.xz
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 'tools')
0 files changed, 0 insertions, 0 deletions