Simon Glass baa7d345fb 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)
2017-06-12 08:38:11 -04:00
..
2017-01-20 15:38:01 -05:00
2017-06-09 11:23:59 -04:00
2017-06-12 08:37:55 -04:00
2017-05-12 08:37:09 -04:00
2017-04-12 13:28:27 -04:00
2014-03-21 16:43:59 -04:00
2014-04-17 17:44:36 -04:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2016-04-18 12:29:14 -04:00
2017-06-05 14:13:08 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2017-06-12 08:37:55 -04:00
2017-06-05 14:13:08 -04:00
2017-05-09 12:14:16 -06:00
2016-09-23 17:53:48 -04:00