commit | 675cfafa025ef0db4e9aa7090a614682570da669 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 20 20:51:11 2019 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 02 11:17:58 2019 -0400 |
tree | b565be1c696e4e2417478a46d4f7eab3445519a9 | |
parent | 4d6c9b6576c520fbe7662f7dfac79916a0e2d1fd [diff] |
main: Use conditional run_preboot_environment_command() The function name indicates that it does something, but its entire operation is actually condition on a CONFIG. Move the condition outside the function so this is clearer, and use if() instead of #ifdef, like the reset of the file. Signed-off-by: Simon Glass <sjg@chromium.org>