Re: [PATCH v8 8/8] bootm: Tidy up use of autostart env var

Marek Behún
2021-10-19T14:38:36Z

On Mon, 18 Oct 2021 12:13:22 -0600
Simon Glass <sjg@chromium.org> wrote:

> +bool env_get_autostart(void)
> +{
> + const char *val = env_get("autostart");
> +
> + return val && !strcmp(val, "yes");
> +}

Why not use env_get_yesno() ?