commit | e9f6a374659026322623d8b59bc9622dd6f3138e | [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 | bbaf56eda0e63d6d28fbccae0f112ef88203eb4d [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>