Skip to content
Commit e9f6a374 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent bbaf56ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment