
13 Jun
2017
13 Jun
'17
12:43 a.m.
On Wed, Jun 07, 2017 at 10:28:46AM -0600, Simon Glass wrote:
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)
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom