Simplify the code, replace env_get_f() with env_get_yesno(). The env_get_yesno() internally calls env_get() which may fall back to env_get_f() if the environment access is not initialized yet. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Stefan Roese <stefan.roese@mailbox.org>