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

Marek Behún marek.behun at nic.cz
Tue Oct 19 16:38:28 CEST 2021


On Mon, 18 Oct 2021 12:13:22 -0600
Simon Glass <sjg at 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() ?


More information about the U-Boot mailing list