[U-Boot] [PATCH 2/2] Allow newlines within command environment vars

Simon Glass sjg at chromium.org
Wed Feb 15 15:48:11 CET 2012


Hi Wolfgang,

On Tue, Feb 14, 2012 at 11:31 PM, Wolfgang Denk <wd at denx.de> wrote:

> Dear Simon Glass,
>
> In message <1329286030-32560-2-git-send-email-sjg at chromium.org> you wrote:
> > The environment variables preboot, bootcmd and menucmd can hold a command
> > to execute. This change permits these variables to have newlines so that
> > they work the same as the 'source' command.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >  common/main.c |    6 +++---
> >  1 files changed, 3 insertions(+), 3 deletions(-)
>
> Please squash this into the patch that introduces run_command_list()
> [assuming this is the patch which breaks behaviour?]
>

The first patch is just a clean-up and should not change any behaviour.
This second patch changes the behaviour of the named env variables.

I will combine them.

Regards,
Simon

>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> The word "fit", as I understand it, means "appropriate to a purpose",
> and I would say the body of the Dean is supremely appropriate to  the
> purpose of sitting around all day and eating big heavy meals.
>                                 - Terry Pratchett, _Moving Pictures_
>


More information about the U-Boot mailing list