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() ?