From: Wolfgang Denk Date: Tue, 06 Mar 2012 16:26:32 +0100 Subject: [U-Boot] [PATCH 2/2] Allow newlines within command environment vars In-Reply-To: References: <1329286030-32560-1-git-send-email-sjg@chromium.org> <1329286030-32560-2-git-send-email-sjg@chromium.org> <20120215073123.2D35016AACD6@gemini.denx.de> <20120215224904.B788816AACD8@gemini.denx.de> Message-ID: <20120306152632.26294202D7D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, In message 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. ... > >> 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. > > > > So which commit introduced the breakage, then? > > Which breakage are you referring to? The intent of these two patches > is to add a new feature (proposed by Michael Walle > who also provided a patch) on top of the command refactor series. > > Sorry, there is some confusion here but I'm not sure what it is. Guess I'm confused. I don't understand in which way the variables listed here (preboot, bootcmd and menucmd) are special - actually all variables can hold commands, that then can be executed using the "run" command. If newline is a valid command separator (and I think it is), this should work for _all_ variable. 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 Backed up the system lately?