[U-Boot] [RFC 1/3] tools/env: Default to the config specified in FW_CONFIG_FILE
Steve Sakoman
steve at sakoman.com
Sat Dec 4 15:43:33 CET 2010
On Sat, 2010-12-04 at 11:59 +0100, Stefano Babic wrote:
> On 12/04/2010 05:28 AM, Steve Sakoman wrote:
> > From: Loïc Minier <loic.minier at linaro.org>
> >
>
> Hi,
>
> > #if defined(CONFIG_FILE)
> > + /* Default to the config file specified in FW_CONFIG_FILE */
> > + char *config_file = getenv("FW_CONFIG_FILE");
>
> What about to pass the configuration file on the command line instead of
> an environment variable ? Something like "fw_env -c /etc/fw_config", for
> example ? IMHO it is easier to understand and we can add documentation
> in the "help" message.
Good suggestion, I prefer that too.
Steve
More information about the U-Boot
mailing list