From: Mike Frysinger Date: Tue, 7 Dec 2010 14:36:27 -0500 Subject: [U-Boot] [PATCH] Fix "autostart" env variable handling In-Reply-To: <1291717141-21532-1-git-send-email-sr@denx.de> References: <1291717141-21532-1-git-send-email-sr@denx.de> Message-ID: <201012071436.28684.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, December 07, 2010 05:19:01 Stefan Roese wrote: > Patch 5a442c0a [boot cmds: convert to getenv_yesno() with autostart] > changes the boot commands code to use the getenv_yesno() helper > function. But this function returns true (1) when "autostart" is not > defined at all. > > This patch changes the logic of getenv_yesno() to only return true when > "autostart" is defined and the first char is set to "y". This restores > the old behavior on boards where "autostart" is not defined at all. NAK; this breaks other things. i already mentioned the issue here: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/87057/focus=90059 but waiting for response from wolfgang ... -mke -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20101207/ff756b69/attachment.pgp