sandbox: Avoid calling commands when not available
authorSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 01:07:30 +0000 (19:07 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 22 Mar 2016 16:16:10 +0000 (12:16 -0400)
commit2b6793de2543e16ac6b8e792cef71ce7bb6ea1a7
tree75aa64d13fe4b5f2404217d37859f6dc83b95e70
parentc1352119fd09a31ddb77710a0c3839d1af21fc65
sandbox: Avoid calling commands when not available

Don't try to run commands when not supported.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/sandbox/cpu/start.c